Handle SPARC V8+ on Sun Studio compiler

This commit is contained in:
Guillem Jover 2018-03-05 00:02:34 +01:00
parent 0b65d43963
commit 0093ca2b0e

View File

@ -186,7 +186,7 @@
#define ELF_TARG_MACH EM_SPARCV9
#define ELF_TARG_CLASS ELFCLASS64
#else
#if defined(__sparc_v9__)
#if defined(__sparc_v9__) || defined(__sparcv9)
#define ELF_TARG_MACH EM_SPARC32PLUS
#else
#define ELF_TARG_MACH EM_SPARC