diff options
Diffstat (limited to 'target-sparc/cpu.h')
-rw-r--r-- | target-sparc/cpu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index 8cbf0b2..86c23200 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -19,6 +19,12 @@ #define TARGET_HAS_ICE 1 +#if !defined(TARGET_SPARC64) +#define ELF_MACHINE EM_SPARC +#else +#define ELF_MACHINE EM_SPARCV9 +#endif + /*#define EXCP_INTERRUPT 0x100*/ /* trap definitions */ |