[Bug gold/19392] Second PT_LOAD starts before the first section in some cases

2023-08-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19392

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gold/19392] Second PT_LOAD starts before the first section in some cases

2015-12-31 Thread mh-sourceware at glandium dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19392

--- Comment #1 from Mike Hommey  ---
Bisected:

a5cd8f05ca759fdb9b27fc98a08edb5f85369ad9 is the first bad commit
commit a5cd8f05ca759fdb9b27fc98a08edb5f85369ad9
Author: Cary Coutant 
Date:   Fri Jan 9 15:55:50 2015 -0800

Don't align start of segment unless alignment is larger than page size.

This fixes an issue where a page-aligned data section, combined with -z
relro,
could lead to a gap between text and data segments larger than a page, and
we would fail to overlap the segments in the file.

gold/
* layout.cc (Layout::set_segment_offsets): Don't align start of segment
unless alignment is larger than page size.

:04 04 a0187d8ed6745a9d727f8b342e79a9c57216a93e
93e6a9db741fc3ec9bd7cb4f22199bd4e9af672c M  gold

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils