Commit 635b7382 by Rainer Orth Committed by Rainer Orth

Don't preprocess .S files with -P on Solaris/x86 (PR target/85994)

	PR target/85994
	* config/i386/sol2.h (CPP_SPEC): Don't pass -P for
	-x assembler-with-cpp.

From-SVN: r261880
parent a634048e
2018-06-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2018-06-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR target/85994
* config/i386/sol2.h (CPP_SPEC): Don't pass -P for
-x assembler-with-cpp.
2018-06-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/sol2.h (TARGET_OS_CPP_BUILTINS): Define * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define
_FILE_OFFSET_BITS=64 for C++. _FILE_OFFSET_BITS=64 for C++.
......
...@@ -51,9 +51,8 @@ along with GCC; see the file COPYING3. If not see ...@@ -51,9 +51,8 @@ along with GCC; see the file COPYING3. If not see
#undef TARGET_SUN_TLS #undef TARGET_SUN_TLS
#define TARGET_SUN_TLS 1 #define TARGET_SUN_TLS 1
/* Solaris 2/Intel as chokes on #line directives before Solaris 10. */
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%{,assembler-with-cpp:-P} %(cpp_subtarget)" #define CPP_SPEC "%(cpp_subtarget)"
/* GNU as understands --32 and --64, but the native Solaris /* GNU as understands --32 and --64, but the native Solaris
assembler requires -xarch=generic or -xarch=generic64 instead. */ assembler requires -xarch=generic or -xarch=generic64 instead. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment