summaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-08-24 16:36:04 +0000
committerNick Clifton <nickc@redhat.com>2001-08-24 16:36:04 +0000
commit3a163c8b61c5b45aa51f23d5032bb9fab1c7b6da (patch)
treea50b0d8803b90766e252c61289c7f2cc3b4053a9 /bfd/elf-bfd.h
parent28e8fcc728dd3adbb291616a1c36176686c58c6e (diff)
downloadgdb-3a163c8b61c5b45aa51f23d5032bb9fab1c7b6da.tar.gz
Apply H.J.'s patch to revert change to elfxx-target.h
Apply my patch to allow SREC as output format.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index a048e6f5f43..93e8e6d3dfe 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -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)
/* Constant information held for an ELF backend. */