aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-h8300.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2001-08-29 18:56:50 +0000
committerJeff Law <law@redhat.com>2001-08-29 18:56:50 +0000
commit7e0de7bf18a51fc072254ac7160f90d61096276b (patch)
treeb76d6e912fc325db95d044c91df2229770baffed /gas/config/tc-h8300.h
parent83e20b45a3a59e3e473c2f42ed4cb28924da9565 (diff)
downloadgdb-7e0de7bf18a51fc072254ac7160f90d61096276b.zip
gdb-7e0de7bf18a51fc072254ac7160f90d61096276b.tar.gz
gdb-7e0de7bf18a51fc072254ac7160f90d61096276b.tar.bz2
* tc-h8300.c: If OBJ_ELF, include elf/h8.h, and define
assorted coff relocations to the corresponding elf relocations. * tc-h8300.h (TARGET_ARCH, TARGET_FORMAT): Define appropriately. More of Joern's patches.
Diffstat (limited to 'gas/config/tc-h8300.h')
-rw-r--r--gas/config/tc-h8300.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-h8300.h b/gas/config/tc-h8300.h
index 06530a4..a70792a 100644
--- a/gas/config/tc-h8300.h
+++ b/gas/config/tc-h8300.h
@@ -24,6 +24,12 @@
#define TARGET_BYTES_BIG_ENDIAN 1
+#define TARGET_ARCH bfd_arch_h8300
+
+#ifdef OBJ_ELF
+#define TARGET_FORMAT "elf32-h8300"
+#endif
+
#if ANSI_PROTOTYPES
struct internal_reloc;
#endif