summaryrefslogtreecommitdiff
path: root/base/loader
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-06-21 01:04:48 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-06-21 01:04:48 -0400
commit3f7b780af5530cc60228ebd3e895ab26d477614e (patch)
treeecc9052d0fa587e2b48e888705f5df2a80fe401b /base/loader
parent074969f8f16110680de05fca64a6be48aedcdfd8 (diff)
parentc27139c701e8e61056ebc2cf002c5aa129779c13 (diff)
downloadgem5-3f7b780af5530cc60228ebd3e895ab26d477614e.tar.xz
Merge saidi@zizzer.eecs.umich.edu:/bk/linux
into ali-saidis-computer.local:/research/linux --HG-- extra : convert_revision : 446dc5fad11a6b29954dc5b1e974430853aa2969
Diffstat (limited to 'base/loader')
-rw-r--r--base/loader/elf_object.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/base/loader/elf_object.cc b/base/loader/elf_object.cc
index 036363995..b8f46449a 100644
--- a/base/loader/elf_object.cc
+++ b/base/loader/elf_object.cc
@@ -74,8 +74,9 @@ ElfObject::tryFile(const string &fname, int fd, size_t len, uint8_t *data)
else {
if (ehdr.e_ident[EI_CLASS] == ELFCLASS32)
panic("32 bit ELF Binary, Not Supported");
- if (ehdr.e_machine != EM_ALPHA)
- panic("Non Alpha Binary, Not Supported");
+ printf("emachine = %x\n", ehdr.e_machine);
+// if (ehdr.e_machine != EM_ALPHA)
+// panic("Non Alpha Binary, Not Supported");
elf_end(elf);