[RFA:] elflink.h: Don't set linker-script symbols to STT_OBJECT (BSF_OBJECT).
Ian Lance Taylor
ian@airs.com
Mon Mar 18 23:57:00 GMT 2002
Alan Modra <amodra@bigpond.net.au> writes:
> It's a long time ago for either Ian or Eric to remember this one, but
> I wonder whether you have some archaelogical evidence for the purpose
> of the patch?
>
> Mon Aug 1 12:04:40 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
>
> * elf64-sparc.c (ELF_MAXPAGESIZE): Define.
>
> ELF linker patches from Eric Youngdale <ericy@cais.cais.com>.
> * elfcode.h (elf_link_create_dynamic_sections): Set type of
> _DYNAMIC to STT_OBJECT.
> (NAME(bfd_elf,record_link_assignment)): Always create hash table
> entry. Set type to STT_OBJECT.
I'm afraid I don't remember why this patch was made. It may have just
been out of a general idea that every symbol should have a type. Or
it may been to fix some bug.
Ian
More information about the Binutils
mailing list