PATCH: Don't display bits only used for BFD in abfd->flags.

H.J. Lu hjl.tools@gmail.com
Sat Nov 6 03:43:00 GMT 2010


On Fri, Nov 5, 2010 at 7:13 PM, Alan Modra <amodra@gmail.com> wrote:
> On Fri, Nov 05, 2010 at 05:11:16AM -0700, H.J. Lu wrote:
>> On Fri, Nov 5, 2010 at 5:04 AM, Alan Modra <amodra@gmail.com> wrote:
>> > objdump shows the converted name when displaying decompressed debug
>> > section contents, hence the objdump.W change.  I see this as a
>> > feature.  ;-)
>>
>> What section names does "objcopy --compress-debug-sections" generate?
>
> The .z variety.
>

bfd_make_section_anyway_with_flags uses section name as ash value
for section hash table. If you want to do this, you should change the section
name before calling bfd_make_section_anyway. Otherwise, linker may
run into strange problems.


-- 
H.J.



More information about the Binutils mailing list