diff options
author | Nick Clifton <nickc@redhat.com> | 2001-08-24 16:36:04 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-08-24 16:36:04 +0000 |
commit | 8ea2e4bd701102e0d30274c3c37f1ff60ccb3f1d (patch) | |
tree | c90e9fae26746838533c88cacda0460632ea0959 /bfd/elf-bfd.h | |
parent | 1ae8b3d2a04d1064a403ce6adf997831e1a55300 (diff) | |
download | gdb-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.h | 4 |
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. */ |