summaryrefslogtreecommitdiff
path: root/sim/h8300/run.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/h8300/run.c')
-rw-r--r--sim/h8300/run.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sim/h8300/run.c b/sim/h8300/run.c
index a8195694f04..f19488a0f81 100644
--- a/sim/h8300/run.c
+++ b/sim/h8300/run.c
@@ -89,7 +89,11 @@ main (ac, av)
exit (1);
}
- if (abfd->arch_info->mach == bfd_mach_h8300h)
+ if (abfd->arch_info->mach == bfd_mach_h8300h
+/* start-sanitize-h8s */
+ || abfd->arch_info->mach == bfd_mach_h8300s
+/* end-sanitize-h8s */
+ )
set_h8300h (1);
for (s = abfd->sections; s; s=s->next)