aboutsummaryrefslogtreecommitdiff
path: root/linux-user/elfload.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-05-19 15:24:17 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-05-19 15:24:17 +0200
commit0d5d46993840c1e6a04c1db38a554aad4ee83835 (patch)
treee5d9367a8a1f9e82a20ca27278b6686b2c640968 /linux-user/elfload.c
parente4cbd44d8e86c7fb605f92b05fd9ae6b9e393c56 (diff)
microblaze: Update elf machine nums.
189 was allocated in upstream binutils. 0xbaab was the old temporary value. Still used by some tools and the linux kernel. I've seen 115 in older gdb versions, but lets ignore that one. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'linux-user/elfload.c')
-rw-r--r--linux-user/elfload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 6bc51da957..1f27918beb 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -629,11 +629,11 @@ static void elf_core_copy_regs(target_elf_gregset_t *regs, const CPUState *env)
#define ELF_START_MMAP 0x80000000
-#define elf_check_arch(x) ( (x) == EM_XILINX_MICROBLAZE )
+#define elf_check_arch(x) ( (x) == EM_MICROBLAZE || (x) == EM_MICROBLAZE_OLD)
#define ELF_CLASS ELFCLASS32
#define ELF_DATA ELFDATA2MSB
-#define ELF_ARCH EM_XILINX_MICROBLAZE
+#define ELF_ARCH EM_MICROBLAZE
static inline void init_thread(struct target_pt_regs *regs, struct image_info *infop)
{