summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-26 18:27:01 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-26 18:27:01 +0000
commit28c248aa4ae2400357b0d7b92e51829dff07863e (patch)
treeb73b862ad1aa91a018988051b5167024a04775b8
parenta767736dad171be9323f1270e466de6858f4494f (diff)
downloadppe42-gcc-28c248aa4ae2400357b0d7b92e51829dff07863e.tar.gz
ppe42-gcc-28c248aa4ae2400357b0d7b92e51829dff07863e.zip
* config/i386/sol2.h (CPP_SPEC): Pass -P for .S files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43587 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/sol2.h13
2 files changed, 12 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7f59344137e..5983da217a1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * config/i386/sol2.h (CPP_SPEC): Pass -P for .S files.
+
2001-06-26 Neil Booth <neil@daikokuya.demon.co.uk>
* Makefile.in (TARGET_H, TARGET_DEF_H): New.
diff --git a/gcc/config/i386/sol2.h b/gcc/config/i386/sol2.h
index bd61ee99700..6d15ec4c024 100644
--- a/gcc/config/i386/sol2.h
+++ b/gcc/config/i386/sol2.h
@@ -1,5 +1,5 @@
/* Target definitions for GNU compiler for Intel 80386 running Solaris 2
- Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999
+ Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Contributed by Fred Fish (fnf@cygnus.com).
@@ -66,11 +66,14 @@ Boston, MA 02111-1307, USA. */
#define CPP_PREDEFINES \
"-Dunix -D__svr4__ -D__SVR4 -Dsun -Asystem=svr4"
+/* Solaris 2/Intel as chokes on #line directives. */
#undef CPP_SPEC
-#define CPP_SPEC "%(cpp_cpu) \
- %{pthreads:-D_REENTRANT -D_PTHREADS} \
- %{!pthreads:%{threads:-D_REENTRANT -D_SOLARIS_THREADS}} \
- %{compat-bsd:-iwithprefixbefore ucbinclude -I/usr/ucbinclude}"
+#define CPP_SPEC \
+ "%{.S:-P} \
+ %(cpp_cpu) \
+ %{pthreads:-D_REENTRANT -D_PTHREADS} \
+ %{!pthreads:%{threads:-D_REENTRANT -D_SOLARIS_THREADS}} \
+ %{compat-bsd:-iwithprefixbefore ucbinclude -I/usr/ucbinclude}"
#undef LIB_SPEC
#define LIB_SPEC \
OpenPOWER on IntegriCloud