aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-h8300.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-04-24 12:36:08 +0000
committerNick Clifton <nickc@redhat.com>2003-04-24 12:36:08 +0000
commit8d9cd6b19b78f2a0cd3df40b52b13062e72e41b7 (patch)
tree7365e9cbf12a723bac858168edc1d1d7a47feeca /bfd/coff-h8300.c
parent5ce8663f498b9305547763395c33260f19cda41c (diff)
downloadgdb-8d9cd6b19b78f2a0cd3df40b52b13062e72e41b7.zip
gdb-8d9cd6b19b78f2a0cd3df40b52b13062e72e41b7.tar.gz
gdb-8d9cd6b19b78f2a0cd3df40b52b13062e72e41b7.tar.bz2
Add support for h8300hn and h8300sn
Diffstat (limited to 'bfd/coff-h8300.c')
-rw-r--r--bfd/coff-h8300.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/coff-h8300.c b/bfd/coff-h8300.c
index dab7e01..ac09153 100644
--- a/bfd/coff-h8300.c
+++ b/bfd/coff-h8300.c
@@ -281,8 +281,9 @@ static reloc_howto_type howto_table[] = {
#define SELECT_RELOC(x,howto) \
{ x.r_type = select_reloc (howto); }
-#define BADMAG(x) (H8300BADMAG (x) && H8300HBADMAG (x) && H8300SBADMAG (x))
-#define H8300 1 /* Customize coffcode.h */
+#define BADMAG(x) (H8300BADMAG (x) && H8300HBADMAG (x) && H8300SBADMAG (x) \
+ && H8300HNBADMAG(x) && H8300SNBADMAG(x))
+#define H8300 1 /* Customize coffcode.h */
#define __A_MAGIC_SET__
/* Code to swap in the reloc. */