]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Reject -mx32 on Solaris/x86
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Mon, 20 May 2019 11:26:43 +0000 (11:26 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 20 May 2019 11:26:43 +0000 (11:26 +0000)
* config/i386/sol2.h (CC1_SPEC): Reject -mx32.

From-SVN: r271411

gcc/ChangeLog
gcc/config/i386/sol2.h

index 2852bf4ab3a96424e0daae6dfc215c5168ae5c71..e7b9ab2de0948ec1ead1905a47cb8343b9a7fcc2 100644 (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.
index f31943a5118654927de92ab04e0e81c5664bb648..4ef0ff4b009dcb983242fdd16c2db0af78d711d6 100644 (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.  */