aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-sparc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-06-08 03:01:47 +0000
committerAlan Modra <amodra@gmail.com>2002-06-08 03:01:47 +0000
commit986b7daaef3d5a60416626355ddfff8590cffc20 (patch)
treee1465856c5b494678f0a4c7a64286c435c420e73 /bfd/elf64-sparc.c
parentd1761b83b1e3d64b1359240b6328d394b38a9092 (diff)
downloadgdb-986b7daaef3d5a60416626355ddfff8590cffc20.zip
gdb-986b7daaef3d5a60416626355ddfff8590cffc20.tar.gz
gdb-986b7daaef3d5a60416626355ddfff8590cffc20.tar.bz2
* elf64-sparc.c (sparc64_elf_add_symbol_hook): Check the hash
table is elf64-sparc.
Diffstat (limited to 'bfd/elf64-sparc.c')
-rw-r--r--bfd/elf64-sparc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c
index 36ed1e9..590975d 100644
--- a/bfd/elf64-sparc.c
+++ b/bfd/elf64-sparc.c
@@ -1386,7 +1386,7 @@ sparc64_elf_add_symbol_hook (abfd, info, sym, namep, flagsp, secp, valp)
return true;
}
else if (*namep && **namep
- && info->hash->creator->flavour == bfd_target_elf_flavour)
+ && info->hash->creator == abfd->xvec)
{
int i;
struct sparc64_elf_app_reg *p;