This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld fix for STB_GNU_UNIQUE PR10549
On Sun, Apr 10, 2011 at 02:58:36PM +0200, Mark Wielaard wrote:
> +2011-04-10 Mark Wielaard <mjw@redhat.com>
> +
> + PR 10549
> + * elf-bfd.h (has_ifunc_symbols): Renamed to has_gnu_symbols.
> + (has_gnu_symbols): Renamed from has_ifunc_symbols.
> + * bfd/elf.c (_bfd_elf_set_osabi): Use new has_gnu_symbols name.
> + * bfd/elf32-arm.c (elf32_arm_add_symbol_hook): Set has_gnu_symbols
> + also if STB_GNU_UNIQUE symbol binding was seen.
> + * bfd/elf32-i386.c (elf_i386_add_symbol_hook): Likewise.
> + * bfd/elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
> + * bfd/elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
> + * bfd/elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
> + * bfd/elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
> + * bfd/elf64-x86-64.c (elf_x86_64_add_symbol_hook): Likewise.
> +2011-04-10 Mark Wielaard <mjw@redhat.com>
> +
> + PR 10549
> + * ld-unique: New directory.
> + * ld-unique/unique.exp: New file: Run the UNIQUE tests.
> + * ld-ifunc/unique.s: New test file.
> + * ld/testsuite/ld-unique/unique_empty.s: Likewise.
> + * ld/testsuite/ld-unique/unique_shared.s: Likewise.
OK.
--
Alan Modra
Australia Development Lab, IBM