diff options
author | Peter Crosthwaite <crosthwaite.peter@gmail.com> | 2015-08-29 12:07:50 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-09-25 12:04:43 +0200 |
commit | 98dbe5aca8c328b40a0598d6ab478d9b869d1b5c (patch) | |
tree | 485550bc960aa2d754ebac060da4bfc70cdf463f /target-moxie/cpu.h | |
parent | 7cc472218c807ef85714ec71b161c39ee29d634e (diff) |
elf: Update EM_MOXIE definition
EM_MOXIE now has a proper assigned elf code. Use it. Register the old
interim value as EM_MOXIE_OLD and accept either in elf loading.
Cc: Anthony Green <green@moxielogic.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-moxie/cpu.h')
-rw-r--r-- | target-moxie/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-moxie/cpu.h b/target-moxie/cpu.h index 15ca15bf53..7d47e0d956 100644 --- a/target-moxie/cpu.h +++ b/target-moxie/cpu.h @@ -26,7 +26,7 @@ #define CPUArchState struct CPUMoxieState -#define ELF_MACHINE 0xFEED /* EM_MOXIE */ +#define ELF_MACHINE EM_MOXIE #define MOXIE_EX_DIV0 0 #define MOXIE_EX_BAD 1 |