This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA:] elflink.c: Hide _GLOBAL_OFFSET_TABLE_
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: jakub at redhat dot com
- Cc: hans-peter dot nilsson at axis dot com, ebotcazou at libertysurf dot fr, amodra at bigpond dot net dot au, binutils at sources dot redhat dot com
- Date: Wed, 5 Jan 2005 15:31:28 +0100
- Subject: Re: [RFA:] elflink.c: Hide _GLOBAL_OFFSET_TABLE_
> Date: Wed, 5 Jan 2005 14:57:50 +0100
> From: Jakub Jelinek <jakub@redhat.com>
> Actually, I think it would be better if it was hidden on all arches,
> but SPARC (and other backends that need it) would either unconditionally
> or only when needed emitted the STB_LOCAL _GLOBAL_OFFSET_TABLE_ into
> .dynsym even when it is not exported. Another alternative would be
> to special case dynamic relocations against _GLOBAL_OFFSET_TABLE_,
> so that they would be against symbol 0 instead of .got or
> _GLOBAL_OFFSET_TABLE_ symbol.
Ok. Sounds like you've got it covered or that Eric is jumping
on it. If you'd rather have me fix it, please tell. (After
all, I caused this regression.)
brgds, H-P