process.cc (5758:9c3edb28db1a) process.cc (5759:6e65ac8a2c80)
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;

--- 654 unchanged lines hidden (view full) ---

663 fatal("Object file is a dynamic executable however only static "
664 "executables are supported!\n Please recompile your "
665 "executable as a static binary and try again.\n");
666
667#if THE_ISA == ALPHA_ISA
668 if (objFile->getArch() != ObjectFile::Alpha)
669 fatal("Object file architecture does not match compiled ISA (Alpha).");
670
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;

--- 654 unchanged lines hidden (view full) ---

663 fatal("Object file is a dynamic executable however only static "
664 "executables are supported!\n Please recompile your "
665 "executable as a static binary and try again.\n");
666
667#if THE_ISA == ALPHA_ISA
668 if (objFile->getArch() != ObjectFile::Alpha)
669 fatal("Object file architecture does not match compiled ISA (Alpha).");
670
671 if (objFile->hasTLS())
672 fatal("Object file has a TLS section and single threaded TLS is not\n"
673 " currently supported for Alpha! Please recompile your "
674 "executable with \n a non-TLS toolchain.\n");
675
676 switch (objFile->getOpSys()) {
677 case ObjectFile::Tru64:
678 process = new AlphaTru64Process(params, objFile);
679 break;
680
681 case ObjectFile::UnknownOpSys:
682 warn("Unknown operating system; assuming Linux.");
683 // fall through

--- 88 unchanged lines hidden ---
671 switch (objFile->getOpSys()) {
672 case ObjectFile::Tru64:
673 process = new AlphaTru64Process(params, objFile);
674 break;
675
676 case ObjectFile::UnknownOpSys:
677 warn("Unknown operating system; assuming Linux.");
678 // fall through

--- 88 unchanged lines hidden ---