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: ld fix for STB_GNU_UNIQUE PR10549


On Thu, Apr 7, 2011 at 1:01 PM, Mark Wielaard <mjw@redhat.com> wrote:
> Hi [sorry for the repost, got the list-name wrong the first time]
>
> This is the ld part of the fix for PR 10549. Nick Clifton already fixed
> the assembler part. If STB_GNU_UNIQUE is used ELFOSABI_LINUX should be
> set.
>
> 2011-04-07 ?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.
>
> Build and tested on x86_64 GNU/Linux with --enable-targets=all.
>
> If this is good, could someone commit it for me?

Please include the testcase from

http://sourceware.org/bugzilla/show_bug.cgi?id=10549


-- 
H.J.


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