aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1998-04-17 14:32:23 +0000
committerJim Wilson <wilson@gcc.gnu.org>1998-04-17 07:32:23 -0700
commit27f4cfdb2fdd6bfa9328dd0be59ad37138236b34 (patch)
tree2359e489cc65c611d2f53001440dc4210df3f279
parentf4a73984710e8ae558949cc99bdd4d9102828779 (diff)
downloadgcc-27f4cfdb2fdd6bfa9328dd0be59ad37138236b34.zip
gcc-27f4cfdb2fdd6bfa9328dd0be59ad37138236b34.tar.gz
gcc-27f4cfdb2fdd6bfa9328dd0be59ad37138236b34.tar.bz2
Fix vxworks-ppc build failure reported by SXTHREE.
* rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*. From-SVN: r19266
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/vxppc.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cb8daab..d19b93e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/rs6000/vxppc.h b/gcc/config/rs6000/vxppc.h
index 0dddc49..63466e3 100644
--- a/gcc/config/rs6000/vxppc.h
+++ b/gcc/config/rs6000/vxppc.h
@@ -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}} \