* elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
[deliverable/binutils-gdb.git] / bfd / elf-bfd.h
index 1c608a58f87c53d050d18181b7169c19f96979e6..0a2f6b20687054f3ee50afcf6058f3b1600699db 100644 (file)
@@ -400,8 +400,8 @@ struct elf_link_hash_table
 #define elf_hash_table(p) ((struct elf_link_hash_table *) ((p)->hash))
 
 /* Returns TRUE if the hash table is a struct elf_link_hash_table.  */
-#define is_elf_hash_table(p)                                           \
-  ((p)->hash->type == bfd_link_elf_hash_table)
+#define is_elf_hash_table(htab)                                                \
+  (((struct bfd_link_hash_table *) (htab))->type == bfd_link_elf_hash_table)
 
 /* Used by bfd_section_from_r_symndx to cache a small number of local
    symbol to section mappings.  */
This page took 0.025413 seconds and 4 git commands to generate.