Reject -mx32 on Solaris/x86

* config/i386/sol2.h (CC1_SPEC): Reject -mx32.

From-SVN: r271411
This commit is contained in:
Rainer Orth 2019-05-20 11:26:43 +00:00 committed by Rainer Orth
parent 8d345a96a2
commit eefa592aa0
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2019-05-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/i386/sol2.h (CC1_SPEC): Reject -mx32.
2019-05-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/sol2.h (LIBTSAN_EARLY_SPEC): Remove : after %e.

View file

@ -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. */