aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1991-11-27 16:56:08 +0000
committerSteve Chamberlain <sac@cygnus>1991-11-27 16:56:08 +0000
commit3b4f1a5d05c9dc94e6708eecaf9ed8dc9832a48a (patch)
tree4de7774dea8c7c38bf75cc4fce2aa22ffa5a2118 /bfd/targets.c
parenta33336a38e3ef7c5bee3d79d7d258ebd7788b87a (diff)
downloadgdb-3b4f1a5d05c9dc94e6708eecaf9ed8dc9832a48a.zip
gdb-3b4f1a5d05c9dc94e6708eecaf9ed8dc9832a48a.tar.gz
gdb-3b4f1a5d05c9dc94e6708eecaf9ed8dc9832a48a.tar.bz2
* Makefile.in: added coff-h8300
* configure.in: now h8 is a coff target * cpu-h8300.c: fix various disassembly problems * libcoff.h: took out some code which has been #0ed for a long time. * targets.c: added h8 coff * coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c added new macro RTYPE2HOWTO to take a load of #ifdefs out of coffcode.h * coffcode.h: Started to change the way machine dependencies are handled, from the nest of #ifdefs to macros defined in the including coff-<foo>.c
Diffstat (limited to 'bfd/targets.c')
-rw-r--r--bfd/targets.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index 9335627..70c69ad 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -358,6 +358,7 @@ extern bfd_target i386aout_vec;
extern bfd_target a29kcoff_big_vec;
extern bfd_target trad_core_vec;
extern bfd_target rs6000coff_vec;
+extern bfd_target h8300coff_vec;
#ifdef DEFAULT_VECTOR
extern bfd_target DEFAULT_VECTOR;
@@ -406,6 +407,7 @@ SELECT_VECS,
#define I386AOUT_VEC i386aout_vec
#define A29KCOFF_BIG_VEC a29kcoff_big_vec
#define RS6000COFF_VEC rs6000coff_vec
+#define H8300COFF_VEC h8300coff_vec
#endif
bfd_target *target_vector[] = {
@@ -448,6 +450,9 @@ bfd_target *target_vector[] = {
#endif
#endif
+#ifdef H300COFF_VEC
+ &h8300coff_vec,
+#endif
#ifdef M88KBCS_VEC
&M88KBCS_VEC,
#endif