elf section type & objcopy

Nathan Sidwell nathan@codesourcery.com
Fri Jan 29 11:27:00 GMT 2010


Nick,
>> The attached flag also sets SEC_LINKER_CREATED to force checking the
>> section name and restores the original behaviour.
> 
>> Am I heading in the right direction?
> 
> Definitely.  It seems slightly counter-intuitive to say that a section 
> requested by the user is "linker created", so it would be worth adding a 
> comment to the code explaining why the flag is used.  But apart from 
> that your solution seems fine to me.

Excellent.  Here's a full patch, tested on arm-eabi, 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/20100129/a9616822/attachment.ksh>


More information about the Binutils mailing list