ARM: Allow ARM processes to start in Thumb mode.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user