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_
On Thu, Jan 06, 2005 at 10:53:30PM +0100, Eric Botcazou wrote:
> * elf32-sparc.c (elf32_sparc_omit_section_dynsym): New function.
> (elf_backend_omit_section_dynsym): Define to it.
> * elf64-sparc.c (sparc64_elf_omit_section_dynsym): New function.
> (elf_backend_omit_section_dynsym): Define to it.
I prefer this one. Mostly because it restores old behaviour with
respect to got relocs. Also, at some stage I might change selected
backends over to use just one section symbol (or the zero sym) for
dynamic relocs. If you're using a local G_O_T sym, I'll probably
assume the sparc backend wants it that way for some arcane reason..
--
Alan Modra
IBM OzLabs - Linux Technology Centre