aboutsummaryrefslogtreecommitdiff
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
commit8ea2e4bd701102e0d30274c3c37f1ff60ccb3f1d (patch)
treec90e9fae26746838533c88cacda0460632ea0959 /bfd/elf-bfd.h
parent1ae8b3d2a04d1064a403ce6adf997831e1a55300 (diff)
downloadgdb-8ea2e4bd701102e0d30274c3c37f1ff60ccb3f1d.zip
gdb-8ea2e4bd701102e0d30274c3c37f1ff60ccb3f1d.tar.gz
gdb-8ea2e4bd701102e0d30274c3c37f1ff60ccb3f1d.tar.bz2
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 a048e6f..93e8e6d 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. */