| Index: sim/v850/interp.c
|
| diff --git a/sim/v850/interp.c b/sim/v850/interp.c
|
| index 2c113072a262dfb1747d81ba875da86441bfc849..01a3dea71b72f2d2bc66c394bd33c934f60e1601 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,9 @@ 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:
|
| + case bfd_mach_v850e3v5:
|
| STATE_CPU (sd, 0)->psw_mask = (PSW_NP | PSW_EP | PSW_ID | PSW_SAT
|
| | PSW_CY | PSW_OV | PSW_S | PSW_Z);
|
| break;
|
|
|