This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA:] elflink.h: Don't set linker-script symbols to STT_OBJECT (BSF_OBJECT).
- From: Ian Lance Taylor <ian at airs dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>, binutils at sources dot redhat dot com, eric at andante dot org
- Date: 18 Mar 2002 23:57:08 -0800
- Subject: Re: [RFA:] elflink.h: Don't set linker-script symbols to STT_OBJECT (BSF_OBJECT).
- References: <200203190621.HAA11260@ignucius.axis.se><20020319072507.GI1089@bubble.sa.bigpond.net.au>
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