* elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
[deliverable/binutils-gdb.git] / bfd / elf32-m32r.c
index 7500f56e33bfc0d4e4baf13e976fb72cdddb2fa7..e0a4d13545a3f2bd50124dd361bab64b13510bda 100644 (file)
@@ -843,7 +843,7 @@ m32r_elf_add_symbol_hook (abfd, info, sym, namep, flagsp, secp, valp)
   if (! info->relocatable
       && (*namep)[0] == '_' && (*namep)[1] == 'S'
       && strcmp (*namep, "_SDA_BASE_") == 0
-      && info->hash->creator->flavour == bfd_target_elf_flavour)
+      && is_elf_hash_table (info->hash))
     {
       /* This is simpler than using _bfd_elf_create_linker_section
         (our needs are simpler than ppc's needs).  Also
This page took 0.027079 seconds and 4 git commands to generate.