* elf64-sparc.c (sparc64_elf_add_symbol_hook): Check the hash

table is elf64-sparc.
This commit is contained in:
Alan Modra 2002-06-08 03:01:47 +00:00
parent d1761b83b1
commit 986b7daaef
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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;