diff options
author | Steve Chamberlain <sac@cygnus> | 1993-02-12 16:32:32 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1993-02-12 16:32:32 +0000 |
commit | 142ce43eddfedc149cc813771987d214ee1ec2d1 (patch) | |
tree | 23c67069c72edef2e9f12abde050e3c3a7db37b3 /bfd/coffcode.h | |
parent | 25de6a20dd5ee44d7dcb5a470dffc7c08678a6eb (diff) | |
download | gdb-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.h | 15 |
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) |