Loader: Only complain about TLS sections if you're using Alpha.
--HG-- extra : convert_revision : 125d19ad3fa1847752e455fa248ca3b2a55a2067
This commit is contained in:
@@ -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 (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->hasTLS())
|
||||
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 (objFile->getArch() != ObjectFile::Alpha)
|
||||
fatal("Object file architecture does not match compiled ISA (Alpha).");
|
||||
switch (objFile->getOpSys()) {
|
||||
|
||||
Reference in New Issue
Block a user