summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-09-25 20:02:30 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-09-25 20:02:30 -0700
commit85d46ce470a498e3611885982f99fd9afe6e37e7 (patch)
tree989a3eb9f6765a3581c35267aba4abc9fd75de8a /src/sim
parent032a30f345cb572c680f65473a69d30ab05b02e3 (diff)
downloadgem5-85d46ce470a498e3611885982f99fd9afe6e37e7.tar.xz
Loader: Only complain about TLS sections if you're using Alpha.
--HG-- extra : convert_revision : 125d19ad3fa1847752e455fa248ca3b2a55a2067
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/process.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc
index f943cb565..8f36fba1b 100644
--- a/src/sim/process.cc
+++ b/src/sim/process.cc
@@ -456,13 +456,12 @@ LiveProcess::create(const std::string &nm, System *system, int stdin_fd,
"executables are supported!\n Please recompile your "
"executable as a static binary and try again.\n");
+#if THE_ISA == ALPHA_ISA
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");
+ fatal("Object file has a TLS section and single threaded TLS is not\n"
+ " currently supported for Alpha! Please recompile your "
+ "executable with \n a non-TLS toolchain.\n");
-#if THE_ISA == ALPHA_ISA
if (objFile->getArch() != ObjectFile::Alpha)
fatal("Object file architecture does not match compiled ISA (Alpha).");
switch (objFile->getOpSys()) {