Fix vxworks-ppc build failure reported by SXTHREE.
authorJim Wilson <wilson@cygnus.com>
Fri, 17 Apr 1998 14:32:23 +0000 (14:32 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 17 Apr 1998 14:32:23 +0000 (07:32 -0700)
* rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.

From-SVN: r19266

gcc/ChangeLog
gcc/config/rs6000/vxppc.h

index cb8daaba65d99d3397e36cca12177397daff2129..d19b93ea7b6c367bf8f33088cfc4afa9195aa13c 100644 (file)
@@ -1,3 +1,7 @@
+Fri Apr 17 14:30:37 1998  Jim Wilson  <wilson@cygnus.com>
+
+       * rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
+
 Fri Apr 17 17:01:25 1998  Michael Meissner  <meissner@cygnus.com>
 
        * tree.h (mark_seen_cases): Delete declaration.
index 0dddc498325a24147e4a2489ca3d37e4cd7d4159..63466e3663087a47c92ef9995e3a41b29539b27c 100644 (file)
@@ -22,9 +22,15 @@ Boston, MA 02111-1307, USA.  */
 
 #include "rs6000/sysv4.h"
 
+/* ??? This file redefines CPP_SPEC which is wrong.  It should instead define
+   one of the extra specs that gets included in CPP_SPEC.  For instance,
+   CPP_OS_DEFAULT_SPEC.  The mrelocatable line was copied from CPP_SYSV_SPEC.
+   There is probably other stuff missing.  */
+
 #undef CPP_SPEC
 #define CPP_SPEC "\
 %{posix: -D_POSIX_SOURCE} \
+%{mrelocatable*: -D_RELOCATABLE} \
 %{!mcpu*: \
   %{mpowerpc*: -D_ARCH_PPC -DCPU=PPC603} \
   %{!mno-powerpc: -D_ARCH_PPC -DCPU=PPC603}} \