diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-06-08 03:01:47 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-06-08 03:01:47 +0000 |
commit | 5521388c315d1cb5bb61a6d321cc3822adad0d12 (patch) | |
tree | 92399ba09f56b3fed42389c38c11234b2deedcf2 /bfd | |
parent | 5de36ef8e713a37e5dfaf4e1c85c6b5a5441136a (diff) | |
download | gdb-5521388c315d1cb5bb61a6d321cc3822adad0d12.tar.gz |
* elf64-sparc.c (sparc64_elf_add_symbol_hook): Check the hash
table is elf64-sparc.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf64-sparc.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e5e68133658..7574e1fa637 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-06-08 Alan Modra <amodra@bigpond.net.au> + + * elf64-sparc.c (sparc64_elf_add_symbol_hook): Check the hash + table is elf64-sparc. + 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> * elfxx-mips.c (_bfd_mips_elf_relocate_section): Simplify code. diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c index 36ed1e9a7fe..590975d3c85 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; |