diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-02-19 05:07:50 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-02-19 05:07:50 +0000 |
commit | c16153aed7cc77c39bb5e78b2880a9792e1d0554 (patch) | |
tree | 0542a42ea09f6314fc9c21f028e7f5c76b82c708 /ld/testsuite | |
parent | 487565fe48accbc88da056cc373ca254763d7479 (diff) | |
download | gdb-c16153aed7cc77c39bb5e78b2880a9792e1d0554.zip gdb-c16153aed7cc77c39bb5e78b2880a9792e1d0554.tar.gz gdb-c16153aed7cc77c39bb5e78b2880a9792e1d0554.tar.bz2 |
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.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc.exp | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index e170dfc..a4b2100 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-02-18 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ifunc/ifunc.exp: Expect System V OSABI in dynamic + ifunc-using executable. + 2010-02-19 Alan Modra <amodra@gmail.com> * ld-elf/group.ld: Discard .dropme sections. diff --git a/ld/testsuite/ld-ifunc/ifunc.exp b/ld/testsuite/ld-ifunc/ifunc.exp index be519ce..38fe2d3 100644 --- a/ld/testsuite/ld-ifunc/ifunc.exp +++ b/ld/testsuite/ld-ifunc/ifunc.exp @@ -258,8 +258,8 @@ if {! [check_osabi tmpdir/static_prog {UNIX - Linux}]} { fail "Static ifunc-using executable does not have an OS/ABI field of LINUX" set fails [expr $fails + 1] } -if {! [check_osabi tmpdir/dynamic_prog {UNIX - Linux}]} { - fail "Dynamic ifunc-using executable does not have an OS/ABI field of LINUX" +if {! [check_osabi tmpdir/dynamic_prog {UNIX - System V}]} { + fail "Dynamic ifunc-using executable does not have an OS/ABI field of System V" set fails [expr $fails + 1] } if {! [check_osabi tmpdir/static_nonifunc_prog {UNIX - System V}]} { |