From: Rainer Orth Date: Mon, 20 May 2019 11:26:43 +0000 (+0000) Subject: Reject -mx32 on Solaris/x86 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eefa592aa0b0e0ba9f144ede15389cbf7496cc64;p=gcc.git Reject -mx32 on Solaris/x86 * config/i386/sol2.h (CC1_SPEC): Reject -mx32. From-SVN: r271411 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2852bf4ab3a..e7b9ab2de09 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-05-20 Rainer Orth + + * config/i386/sol2.h (CC1_SPEC): Reject -mx32. + 2019-05-20 Rainer Orth * config/sol2.h (LIBTSAN_EARLY_SPEC): Remove : after %e. diff --git a/gcc/config/i386/sol2.h b/gcc/config/i386/sol2.h index f31943a5118..4ef0ff4b009 100644 --- a/gcc/config/i386/sol2.h +++ b/gcc/config/i386/sol2.h @@ -55,7 +55,8 @@ along with GCC; see the file COPYING3. If not see #define CPP_SPEC "%(cpp_subtarget)" #undef CC1_SPEC -#define CC1_SPEC "%(cc1_cpu) " ASAN_CC1_SPEC +#define CC1_SPEC "%(cc1_cpu) " ASAN_CC1_SPEC \ + " %{mx32:%e-mx32 is not supported on Solaris}" /* GNU as understands --32 and --64, but the native Solaris assembler requires -xarch=generic or -xarch=generic64 instead. */