This is the mail archive of the binutils@sourceware.org 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: PATCH: Don't set ELFOSABI_LINUX in dynamic ifunc-using executable


On Thu, Feb 18, 2010 at 02:41:38PM -0800, H.J. Lu wrote:
> 	* elf32-i386.c (elf_i386_add_symbol_hook): Don't set
> 	has_ifunc_symbols if the symbol comes from a shared library.
> 	* elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
> 	* elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
> 	* elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
> 	* elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
> 	* elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Likewise.
> 
> 	* ld-ifunc/ifunc.exp: Expect System V OSABI in dynamic
> 	ifunc-using executable.

OK if you have checked with the glibc people that this is the right
thing to do.  (It seems like it would be to me.)

-- 
Alan Modra
Australia Development Lab, IBM


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