diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-08-06 13:08:24 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2009-08-06 13:08:24 +0000 |
commit | e47bf6909eaf89f5bac2cc5694cfe75185d0aa5f (patch) | |
tree | cada173b37b7e4e189df753dfdf7f0ab62b2dbdc /bfd/elf.c | |
parent | 3ae046ccd31e26df008776124e52fce6174aa0df (diff) | |
download | gdb-e47bf6909eaf89f5bac2cc5694cfe75185d0aa5f.zip gdb-e47bf6909eaf89f5bac2cc5694cfe75185d0aa5f.tar.gz gdb-e47bf6909eaf89f5bac2cc5694cfe75185d0aa5f.tar.bz2 |
PR binutils/10492
* elf.c (sym_is_global): Return true even for BSF_GNU_UNIQUE
symbols.
* elf32-mips.c (mips_elf_sym_is_global): Likewise.
* elfn32-mips.c (mips_elf_sym_is_global): Likewise.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3084,7 +3084,7 @@ sym_is_global (bfd *abfd, asymbol *sym) if (bed->elf_backend_sym_is_global) return (*bed->elf_backend_sym_is_global) (abfd, sym); - return ((sym->flags & (BSF_GLOBAL | BSF_WEAK)) != 0 + return ((sym->flags & (BSF_GLOBAL | BSF_WEAK | BSF_GNU_UNIQUE)) != 0 || bfd_is_und_section (bfd_get_section (sym)) || bfd_is_com_section (bfd_get_section (sym))); } |