diff mbox

fix linux-user microblaze ELF_ARCH definition

Message ID 1263708905-482-1-git-send-email-vapier@gentoo.org
State New
Headers show

Commit Message

Mike Frysinger Jan. 17, 2010, 6:15 a.m. UTC
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 linux-user/elfload.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Edgar E. Iglesias Jan. 17, 2010, 8:55 a.m. UTC | #1
On Sun, Jan 17, 2010 at 01:15:05AM -0500, Mike Frysinger wrote:
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> ---
>  linux-user/elfload.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)


Applied, thanks.


> 
> diff --git a/linux-user/elfload.c b/linux-user/elfload.c
> index 9b65005..abc5332 100644
> --- a/linux-user/elfload.c
> +++ b/linux-user/elfload.c
> @@ -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)
>  {
> -- 
> 1.6.6
>
diff mbox

Patch

diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 9b65005..abc5332 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -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)
 {