forked from Imagelibrary/binutils-gdb
* elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table
type rather than just assuming entries are ELF. * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. * elf64-sparc.c (sparc64_elf_add_symbol_hook): Likewise. * elf64-mmix.c (mmix_elf_add_symbol_hook): Use bfd_link_hash_entry rather than elf_link_hash_entry.
This commit is contained in:
@@ -1385,9 +1385,8 @@ sparc64_elf_add_symbol_hook (abfd, info, sym, namep, flagsp, secp, valp)
|
||||
*namep = NULL;
|
||||
return true;
|
||||
}
|
||||
else if (! *namep || ! **namep)
|
||||
return true;
|
||||
else
|
||||
else if (*namep && **namep
|
||||
&& info->hash->creator->flavour == bfd_target_elf_flavour)
|
||||
{
|
||||
int i;
|
||||
struct sparc64_elf_app_reg *p;
|
||||
|
||||
Reference in New Issue
Block a user