This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA:] elflink.c: Hide _GLOBAL_OFFSET_TABLE_


On Sun, Jan 09, 2005 at 05:51:28PM +1030, Alan Modra wrote:
> 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..

Yeah, after looking at both patches this one looks better.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]