Don't set ELFOSABI_LINUX in dynamic ifunc-using executable.
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 19 Feb 2010 05:07:50 +0000 (05:07 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 19 Feb 2010 05:07:50 +0000 (05:07 +0000)
commitc16153aed7cc77c39bb5e78b2880a9792e1d0554
tree0542a42ea09f6314fc9c21f028e7f5c76b82c708
parent487565fe48accbc88da056cc373ca254763d7479
Don't set ELFOSABI_LINUX in dynamic ifunc-using executable.

bfd/

2010-02-18  H.J. Lu  <hongjiu.lu@intel.com>

* 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/testsuite/

2010-02-18  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ifunc/ifunc.exp: Expect System V OSABI in dynamic
ifunc-using executable.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf32-ppc.c
bfd/elf32-sparc.c
bfd/elf64-ppc.c
bfd/elf64-sparc.c
bfd/elf64-x86-64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-ifunc/ifunc.exp