Deleted Added
sdiff udiff text old ( 11561:704b0198f747 ) new ( 11723:0596db108c53 )
full compact
1/*
2 * Copyright (c) 2011-2013 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

106 ehdr.e_ident[EI_CLASS] == ELFCLASS32) {
107 arch = I386;
108 } else if (ehdr.e_machine == EM_ARM &&
109 ehdr.e_ident[EI_CLASS] == ELFCLASS32) {
110 arch = bits(ehdr.e_entry, 0) ? Thumb : Arm;
111 } else if (ehdr.e_machine == EM_AARCH64 &&
112 ehdr.e_ident[EI_CLASS] == ELFCLASS64) {
113 arch = Arm64;
114 } else if (ehdr.e_machine == EM_PPC &&
115 ehdr.e_ident[EI_CLASS] == ELFCLASS32) {
116 arch = Power;
117 if (ehdr.e_ident[EI_DATA] != ELFDATA2MSB) {
118 fatal("The binary you're trying to load is compiled for "
119 "little endian Power.\ngem5 only supports big "
120 "endian Power. Please recompile your binary.\n");
121 }

--- 452 unchanged lines hidden ---