aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-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/elf32-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/elf32-h8300.c')
-rw-r--r--bfd/elf32-h8300.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/elf32-h8300.c b/bfd/elf32-h8300.c
index c79688a..6008d5d 100644
--- a/bfd/elf32-h8300.c
+++ b/bfd/elf32-h8300.c
@@ -573,6 +573,12 @@ elf32_h8_mach (flags)
case E_H8_MACH_H8300S:
return bfd_mach_h8300s;
+
+ case E_H8_MACH_H8300HN:
+ return bfd_mach_h8300hn;
+
+ case E_H8_MACH_H8300SN:
+ return bfd_mach_h8300sn;
}
}
@@ -601,6 +607,14 @@ elf32_h8_final_write_processing (abfd, linker)
case bfd_mach_h8300s:
val = E_H8_MACH_H8300S;
break;
+
+ case bfd_mach_h8300hn:
+ val = E_H8_MACH_H8300HN;
+ break;
+
+ case bfd_mach_h8300sn:
+ val = E_H8_MACH_H8300SN;
+ break;
}
elf_elfheader (abfd)->e_flags &= ~ (EF_H8_MACH);