diff options
Diffstat (limited to 'src/sim/process.cc')
-rw-r--r-- | src/sim/process.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc index 4fa5c7aad..f943cb565 100644 --- a/src/sim/process.cc +++ b/src/sim/process.cc @@ -453,9 +453,15 @@ LiveProcess::create(const std::string &nm, System *system, int stdin_fd, if (objFile->isDynamic()) fatal("Object file is a dynamic executable however only static " - "executables are supported!\n Please recompile your " + "executables are supported!\n Please recompile your " "executable as a static binary and try again.\n"); + if (objFile->hasTLS()) + fatal("Object file has a TLS section and loading of TLS sections " + "are not currently supported!\n Please recompile your " + "executable with a non-TLS toolchain or add TLS support to " + "M5 and try again\n"); + #if THE_ISA == ALPHA_ISA if (objFile->getArch() != ObjectFile::Alpha) fatal("Object file architecture does not match compiled ISA (Alpha)."); |