linker bug 10515

Nathan Sidwell nathan@codesourcery.com
Mon Oct 5 12:01:00 GMT 2009


Alan Modra wrote:

>> 2) make it an error to have FILEHDRS and/or PHDRS in not-the-first 
>> segment of the PHDRS statement.
> 
> This is the best option IMO.

This patch does that.  We allow FILEHDRS/PHDRS provided it's the first segment, 
or the previous segment had such headers.  The phdrs.t testcase has such an example.

tested on powerpc-elf, ok?

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: all.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20091005/9c250ca2/attachment.ksh>


More information about the Binutils mailing list