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; --- 749 unchanged lines hidden (view full) --- 758 if (objFile->getArch() != ObjectFile::Arm && 759 objFile->getArch() != ObjectFile::Thumb) 760 fatal("Object file architecture does not match compiled ISA (ARM)."); 761 switch (objFile->getOpSys()) { 762 case ObjectFile::UnknownOpSys: 763 warn("Unknown operating system; assuming Linux."); 764 // fall through 765 case ObjectFile::Linux: |
766 process = new ArmLinuxProcess(params, objFile, objFile->getArch()); |
767 break; 768 case ObjectFile::LinuxArmOABI: 769 fatal("M5 does not support ARM OABI binaries. Please recompile with an" 770 " EABI compiler."); 771 default: 772 fatal("Unknown/unsupported operating system."); 773 } 774#elif THE_ISA == POWER_ISA --- 28 unchanged lines hidden --- |