diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:00 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:00 -0500 |
commit | 4ddeceba96c5e066d79138709091a6dffec17372 (patch) | |
tree | 347a920e1d9216a02955c6833a0d69cee429e0b3 /src/sim | |
parent | 3951afd2fa6140f85a94c9636ac2d9e9d3a1c764 (diff) | |
download | gem5-4ddeceba96c5e066d79138709091a6dffec17372.tar.xz |
ARM: Allow ARM processes to start in Thumb mode.
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/process.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc index 18f33abdc..ba4a3905b 100644 --- a/src/sim/process.cc +++ b/src/sim/process.cc @@ -763,10 +763,7 @@ LiveProcess::create(LiveProcessParams * params) warn("Unknown operating system; assuming Linux."); // fall through case ObjectFile::Linux: - if (objFile->getArch() == ObjectFile::Thumb) - panic("Thumb processes not yet supported.\n"); - else - process = new ArmLinuxProcess(params, objFile); + process = new ArmLinuxProcess(params, objFile, objFile->getArch()); break; case ObjectFile::LinuxArmOABI: fatal("M5 does not support ARM OABI binaries. Please recompile with an" |