diff options
Diffstat (limited to 'sim/v850/interp.c')
-rw-r--r-- | sim/v850/interp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sim/v850/interp.c b/sim/v850/interp.c index 2c11307..b48c8a7 100644 --- a/sim/v850/interp.c +++ b/sim/v850/interp.c @@ -267,7 +267,8 @@ sim_open (kind, cb, abfd, argv) /* determine the machine type */ if (STATE_ARCHITECTURE (sd) != NULL - && STATE_ARCHITECTURE (sd)->arch == bfd_arch_v850) + && (STATE_ARCHITECTURE (sd)->arch == bfd_arch_v850 + || STATE_ARCHITECTURE (sd)->arch == bfd_arch_v850_rh850)) mach = STATE_ARCHITECTURE (sd)->mach; else mach = bfd_mach_v850; /* default */ @@ -278,6 +279,8 @@ sim_open (kind, cb, abfd, argv) case bfd_mach_v850: case bfd_mach_v850e: case bfd_mach_v850e1: + case bfd_mach_v850e2: + case bfd_mach_v850e2v3: STATE_CPU (sd, 0)->psw_mask = (PSW_NP | PSW_EP | PSW_ID | PSW_SAT | PSW_CY | PSW_OV | PSW_S | PSW_Z); break; |