summaryrefslogtreecommitdiff
path: root/src/sim/process.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-09-13 16:36:25 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-09-13 16:36:25 -0700
commit4a4aa59632c918ad9e2941fb79fa05540d2b52af (patch)
treed3e5c80c0c73ad158183ea607010809f8e2b709e /src/sim/process.cc
parentbbc8a40857d47348753c59b91a93dd312fa1b809 (diff)
parente282d9601cb515f59eeb1701ec990f0985001ba9 (diff)
downloadgem5-4a4aa59632c918ad9e2941fb79fa05540d2b52af.tar.xz
Merge with head.
--HG-- extra : convert_revision : 22aafb1cead3f584e64c188dc8eb45e271f4e7e9
Diffstat (limited to 'src/sim/process.cc')
-rw-r--r--src/sim/process.cc8
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).");