aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-02-12 16:32:32 +0000
committerSteve Chamberlain <sac@cygnus>1993-02-12 16:32:32 +0000
commit142ce43eddfedc149cc813771987d214ee1ec2d1 (patch)
tree23c67069c72edef2e9f12abde050e3c3a7db37b3 /bfd/coffcode.h
parent25de6a20dd5ee44d7dcb5a470dffc7c08678a6eb (diff)
downloadgdb-142ce43eddfedc149cc813771987d214ee1ec2d1.zip
gdb-142ce43eddfedc149cc813771987d214ee1ec2d1.tar.gz
gdb-142ce43eddfedc149cc813771987d214ee1ec2d1.tar.bz2
* coffcode.h (coff_set_arch_mach_hook): *FIXME* the H8/300 is always
relaxable. Should be moved somewhere else.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 501abcd..0ff0850 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -905,6 +905,15 @@ DEFUN (coff_set_arch_mach_hook, (abfd, filehdr),
case H8300MAGIC:
arch = bfd_arch_h8300;
machine = 0;
+ /* !! FIXME this probably isn't the right place for this */
+ abfd->flags |= BFD_IS_RELAXABLE;
+ break;
+#endif
+
+#ifdef H8500MAGIC
+ case H8500MAGIC:
+ arch = bfd_arch_h8500;
+ machine = 0;
break;
#endif
@@ -1097,6 +1106,12 @@ DEFUN(coff_set_flags,(abfd, magicp, flagsp),
return true;
break;
#endif
+#ifdef H8500MAGIC
+ case bfd_arch_h8500:
+ *magicp = H8500MAGIC;
+ return true;
+ break;
+#endif
#ifdef A29K_MAGIC_BIG
case bfd_arch_a29k:
if (abfd->xvec->byteorder_big_p)