Revision 0d5d4699

b/elf.h
119 119
 */
120 120
#define EM_S390_OLD     0xA390
121 121

  
122
#define EM_XILINX_MICROBLAZE    0xBAAB
122
#define EM_MICROBLAZE      189
123
#define EM_MICROBLAZE_OLD  0xBAAB
123 124

  
124 125
/* This is the info that is needed to parse the dynamic section of the file */
125 126
#define DT_NULL		0
b/linux-user/elfload.c
629 629

  
630 630
#define ELF_START_MMAP 0x80000000
631 631

  
632
#define elf_check_arch(x) ( (x) == EM_XILINX_MICROBLAZE )
632
#define elf_check_arch(x) ( (x) == EM_MICROBLAZE || (x) == EM_MICROBLAZE_OLD)
633 633

  
634 634
#define ELF_CLASS   ELFCLASS32
635 635
#define ELF_DATA	ELFDATA2MSB
636
#define ELF_ARCH    EM_XILINX_MICROBLAZE
636
#define ELF_ARCH    EM_MICROBLAZE
637 637

  
638 638
static inline void init_thread(struct target_pt_regs *regs, struct image_info *infop)
639 639
{
b/target-microblaze/cpu.h
31 31

  
32 32
#define TARGET_HAS_ICE 1
33 33

  
34
#define ELF_MACHINE	EM_XILINX_MICROBLAZE
34
#define ELF_MACHINE	EM_MICROBLAZE
35 35

  
36 36
#define EXCP_NMI        1
37 37
#define EXCP_MMU        2

Also available in: Unified diff