[PATCH][GOLD] Handle .ARM.exidx sections in garbage collection.

Ian Lance Taylor iant@google.com
Mon Jan 11 07:14:00 GMT 2010


"Doug Kwan (關振德)" <dougkwan@google.com> writes:

>>That seems to be what the GNU linker does.
>> Although the GNU linker does seem to make the symbols hidden, as in
>> the current code, unlike in your new code.
>
> Odd, I changed the visibility because I found some ld generated shared
> libraries have the symbols with DEFAULT visibility.

I could certainly be wrong here.  I based my statement not by looking
at linker output, but by looking at these lines in
ld/emulparams/armelf_linux_eabi.sh:

  ${RELOCATING+ PROVIDE_HIDDEN (__exidx_start = .); }

  ${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); }"

Ian



More information about the Binutils mailing list