aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-04-28 22:49:48 +0000
committerKen Raeburn <raeburn@cygnus>1993-04-28 22:49:48 +0000
commitae06054e4ba0258d8da6b8ee2583acc10b113ff6 (patch)
tree21c8883de75d715b183f17cced2922d1f9b7bd5d /bfd
parent0626f40d92f8d572550e5085e6f08b909a59492b (diff)
downloadgdb-ae06054e4ba0258d8da6b8ee2583acc10b113ff6.zip
gdb-ae06054e4ba0258d8da6b8ee2583acc10b113ff6.tar.gz
gdb-ae06054e4ba0258d8da6b8ee2583acc10b113ff6.tar.bz2
allow overrides of armap defaults
Diffstat (limited to 'bfd')
-rw-r--r--bfd/elf32-target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elf32-target.h b/bfd/elf32-target.h
index 50be6c2..f8477ab 100644
--- a/bfd/elf32-target.h
+++ b/bfd/elf32-target.h
@@ -26,12 +26,16 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
one for little-endian machines. */
/* Archives are generic or unimplemented. */
+#ifndef elf_slurp_armap
#define elf_slurp_armap bfd_slurp_coff_armap
+#endif
#define elf_slurp_extended_name_table _bfd_slurp_extended_name_table
#define elf_truncate_arname bfd_dont_truncate_arname
#define elf_openr_next_archived_file bfd_generic_openr_next_archived_file
#define elf_generic_stat_arch_elt bfd_generic_stat_arch_elt
+#ifndef elf_write_armap
#define elf_write_armap coff_write_armap
+#endif
/* Ordinary section reading and writing */
#define elf_new_section_hook _bfd_dummy_new_section_hook