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 | 3a163c8b61c5b45aa51f23d5032bb9fab1c7b6da (patch) | |
tree | a50b0d8803b90766e252c61289c7f2cc3b4053a9 /bfd/elf-bfd.h | |
parent | 28e8fcc728dd3adbb291616a1c36176686c58c6e (diff) | |
download | gdb-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.h | 4 |
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. */ |