diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb8daaba65d99d3397e36cca12177397daff2129..d19b93ea7b6c367bf8f33088cfc4afa9195aa13c 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 0dddc498325a24147e4a2489ca3d37e4cd7d4159..63466e3663087a47c92ef9995e3a41b29539b27c 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}} \