ARM: Allow ARM processes to start in Thumb mode.

This commit is contained in:
Gabe Black
2010-06-02 12:58:00 -05:00
parent 3951afd2fa
commit 4ddeceba96
5 changed files with 14 additions and 10 deletions

View File

@@ -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"