[gold patch committed] Adjust specified address to include headers
Ian Lance Taylor
iant@google.com
Tue Aug 3 15:06:00 GMT 2010
If the user specifies the address of a section via --section-start, and
that section then sets the address of the first load segment, gold was
deliberately not including the file and program headers in that segment.
PR 11712 complains about this rather odd case. This patch changes gold
to include the headers if possible. Committed to mainline.
Ian
2010-08-03 Ian Lance Taylor <iant@google.com>
PR 11712
* layout.cc (relaxation_loop_body): If address of load segment is
set, adjust address to include headers if possible.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 2083 bytes
Desc: headers
URL: <https://sourceware.org/pipermail/binutils/attachments/20100803/824096d7/attachment.bin>
More information about the Binutils
mailing list