PR 10549
authorNick Clifton <nickc@redhat.com>
Mon, 11 Apr 2011 08:13:22 +0000 (08:13 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 11 Apr 2011 08:13:22 +0000 (08:13 +0000)
commitf64b2e8d60f277b705c96d4b4e585f5f7c847cc4
tree29639613b366c813bcff4377013d63813eec5ffa
parente10d6db33de978b0c64df4b8952fa590063581de
PR 10549
* elf-bfd.h (has_ifunc_symbols): Renamed to has_gnu_symbols.
(has_gnu_symbols): Renamed from has_ifunc_symbols.
* elf.c (_bfd_elf_set_osabi): Use new has_gnu_symbols name.
* elf32-arm.c (elf32_arm_add_symbol_hook): Set has_gnu_symbols
also if STB_GNU_UNIQUE symbol binding was seen.
* elf32-i386.c (elf_i386_add_symbol_hook): Likewise.
* 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 (elf_x86_64_add_symbol_hook): Likewise.

* ld-unique: New directory.
* ld-unique/unique.exp: New file: Run the UNIQUE tests.
* ld-unique/unique.s: New test file.
* ld-unique/unique_empty.s: Likewise.
* ld-unique/unique_shared.s: Likewise.
15 files changed:
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elf32-arm.c
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-unique/unique.exp [new file with mode: 0644]
ld/testsuite/ld-unique/unique.s [new file with mode: 0644]
ld/testsuite/ld-unique/unique_empty.s [new file with mode: 0644]
ld/testsuite/ld-unique/unique_shared.s [new file with mode: 0644]