process.cc (5070:3d6a1e37b944) | process.cc (5089:26461daa3819) |
---|---|
1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 442 unchanged lines hidden (view full) --- 451 fatal("Can't load object file %s", executable); 452 } 453 454 if (objFile->isDynamic()) 455 fatal("Object file is a dynamic executable however only static " 456 "executables are supported!\n Please recompile your " 457 "executable as a static binary and try again.\n"); 458 | 1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 442 unchanged lines hidden (view full) --- 451 fatal("Can't load object file %s", executable); 452 } 453 454 if (objFile->isDynamic()) 455 fatal("Object file is a dynamic executable however only static " 456 "executables are supported!\n Please recompile your " 457 "executable as a static binary and try again.\n"); 458 |
459#if THE_ISA == ALPHA_ISA |
|
459 if (objFile->hasTLS()) | 460 if (objFile->hasTLS()) |
460 fatal("Object file has a TLS section and loading of TLS sections " 461 "are not currently supported!\n Please recompile your " 462 "executable with a non-TLS toolchain or add TLS support to " 463 "M5 and try again\n"); | 461 fatal("Object file has a TLS section and single threaded TLS is not\n" 462 " currently supported for Alpha! Please recompile your " 463 "executable with \n a non-TLS toolchain.\n"); |
464 | 464 |
465#if THE_ISA == ALPHA_ISA | |
466 if (objFile->getArch() != ObjectFile::Alpha) 467 fatal("Object file architecture does not match compiled ISA (Alpha)."); 468 switch (objFile->getOpSys()) { 469 case ObjectFile::Tru64: 470 process = new AlphaTru64Process(nm, objFile, system, 471 stdin_fd, stdout_fd, stderr_fd, 472 argv, envp, cwd, 473 _uid, _euid, _gid, _egid, _pid, _ppid); --- 109 unchanged lines hidden --- | 465 if (objFile->getArch() != ObjectFile::Alpha) 466 fatal("Object file architecture does not match compiled ISA (Alpha)."); 467 switch (objFile->getOpSys()) { 468 case ObjectFile::Tru64: 469 process = new AlphaTru64Process(nm, objFile, system, 470 stdin_fd, stdout_fd, stderr_fd, 471 argv, envp, cwd, 472 _uid, _euid, _gid, _egid, _pid, _ppid); --- 109 unchanged lines hidden --- |