Apply H.J.'s patch to revert change to elfxx-target.h
[deliverable/binutils-gdb.git] / bfd / elf-bfd.h
index a048e6f5f4393fd258f8292c180735c0fd6ac3fc..93e8e6d3dfe7e2aa0e29c60e3cc60dd08a41dee0 100644 (file)
@@ -273,6 +273,10 @@ struct elf_link_hash_table
 /* Get the ELF linker hash table from a link_info structure.  */
 
 #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)
 \f
 /* Constant information held for an ELF backend.  */
 
This page took 0.023863 seconds and 4 git commands to generate.