summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-06-02 12:58:00 -0500
committerGabe Black <gblack@eecs.umich.edu>2010-06-02 12:58:00 -0500
commit4ddeceba96c5e066d79138709091a6dffec17372 (patch)
tree347a920e1d9216a02955c6833a0d69cee429e0b3 /src/sim
parent3951afd2fa6140f85a94c9636ac2d9e9d3a1c764 (diff)
downloadgem5-4ddeceba96c5e066d79138709091a6dffec17372.tar.xz
ARM: Allow ARM processes to start in Thumb mode.
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/process.cc5
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"