Fix vxworks-ppc build failure reported by SXTHREE.

* rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.

From-SVN: r19266
This commit is contained in:
Jim Wilson 1998-04-17 14:32:23 +00:00 committed by Jim Wilson
parent f4a7398471
commit 27f4cfdb2f
2 changed files with 10 additions and 0 deletions

View 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.

View 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}} \