process.cc (6820:2980bd04e6df) | process.cc (7095:f7bb2d93cc49) |
---|---|
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; --- 741 unchanged lines hidden (view full) --- 750 case ObjectFile::Linux: 751 process = new MipsLinuxProcess(params, objFile); 752 break; 753 754 default: 755 fatal("Unknown/unsupported operating system."); 756 } 757#elif THE_ISA == ARM_ISA | 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; --- 741 unchanged lines hidden (view full) --- 750 case ObjectFile::Linux: 751 process = new MipsLinuxProcess(params, objFile); 752 break; 753 754 default: 755 fatal("Unknown/unsupported operating system."); 756 } 757#elif THE_ISA == ARM_ISA |
758 if (objFile->getArch() != ObjectFile::Arm) | 758 if (objFile->getArch() != ObjectFile::Arm && 759 objFile->getArch() != ObjectFile::Thumb) |
759 fatal("Object file architecture does not match compiled ISA (ARM)."); 760 switch (objFile->getOpSys()) { 761 case ObjectFile::UnknownOpSys: 762 warn("Unknown operating system; assuming Linux."); 763 // fall through 764 case ObjectFile::Linux: | 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: |
765 process = new ArmLinuxProcess(params, objFile); | 766 if (objFile->getArch() == ObjectFile::Thumb) 767 panic("Thumb processes not yet supported.\n"); 768 else 769 process = new ArmLinuxProcess(params, objFile); |
766 break; 767 case ObjectFile::LinuxArmOABI: 768 fatal("M5 does not support ARM OABI binaries. Please recompile with an" 769 " EABI compiler."); 770 default: 771 fatal("Unknown/unsupported operating system."); 772 } 773#elif THE_ISA == POWER_ISA --- 28 unchanged lines hidden --- | 770 break; 771 case ObjectFile::LinuxArmOABI: 772 fatal("M5 does not support ARM OABI binaries. Please recompile with an" 773 " EABI compiler."); 774 default: 775 fatal("Unknown/unsupported operating system."); 776 } 777#elif THE_ISA == POWER_ISA --- 28 unchanged lines hidden --- |