Skip to contentSkip to conversation

fix linux-user microblaze ELF_ARCH definition

PATCH Applied Mike Frysinger 2 participants 2 messages Jan 17, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix linux-user microblaze ELF_ARCH definition

---
 linux-user/elfload.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
linux-user/elfload.c +1 -1
index 9b65005..abc5332 100644
@@ -652,7 +652,7 @@ static void elf_core_copy_regs(target_elf_gregset_t *regs, const CPUState *env)
 
 #define ELF_CLASS   ELFCLASS32
 #define ELF_DATA	ELFDATA2MSB
-#define ELF_ARCH    EM_MIPS
+#define ELF_ARCH    EM_XILINX_MICROBLAZE
 
 static inline void init_thread(struct target_pt_regs *regs, struct image_info *infop)
 {
Signature · 1 line
1.6.6
#1 lore raw
Quoted 4 lines · Mike Frysinger
---
 linux-user/elfload.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Quoted 17 lines
linux-user/elfload.c +1 -1
index 9b65005..abc5332 100644
@@ -652,7 +652,7 @@ static void elf_core_copy_regs(target_elf_gregset_t *regs, const CPUState *env)
 
 #define ELF_CLASS   ELFCLASS32
 #define ELF_DATA	ELFDATA2MSB
-#define ELF_ARCH    EM_MIPS
+#define ELF_ARCH    EM_XILINX_MICROBLAZE
 
 static inline void init_thread(struct target_pt_regs *regs, struct image_info *infop)
 {
Signature · 1 line
1.6.6