Commit 2459d104 by Mike Stump Committed by Jeff Law

* vxppc.h (CPP_SPEC): Fix support for vararg functions.

From-SVN: r26957
parent 74322f31
1999-05-17 Mike Stump <mrs@wrs.com>
* rs6000/vxppc.h (CPP_SPEC): Fix support for vararg functions.
Sat May 15 14:22:40 1999 Jeffrey A Law (law@cygnus.com) Sat May 15 14:22:40 1999 Jeffrey A Law (law@cygnus.com)
* fixinc/hackshell.tpl: Fix mis-applied patch. * fixinc/hackshell.tpl: Fix mis-applied patch.
......
...@@ -28,21 +28,25 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,21 +28,25 @@ Boston, MA 02111-1307, USA. */
There is probably other stuff missing. */ There is probably other stuff missing. */
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "\ #define CPP_SPEC "%{posix: -D_POSIX_SOURCE} %(cpp_sysv) %(cpp_endian) %(cpp_cpu) \
%{posix: -D_POSIX_SOURCE} \ %{mads: %(cpp_os_ads) } \
%{mrelocatable*: -D_RELOCATABLE} \ %{myellowknife: %(cpp_os_yellowknife) } \
%{!mcpu*: \ %{mmvme: %(cpp_os_mvme) } \
%{mpowerpc*: -D_ARCH_PPC -DCPU=PPC603} \ %{msim: %(cpp_os_sim) } \
%{!mno-powerpc: -D_ARCH_PPC -DCPU=PPC603}} \ %{mcall-linux: %(cpp_os_linux) } \
%{mcpu=powerpc: -D_ARCH_PPC -DCPU=PPC603} \ %{mcall-solaris: %(cpp_os_solaris) } \
%{mcpu=403: -D_ARCH_PPC -DCPU=PPC403} \ %{!mads: %{!myellowknife: %{!mmvme: %{!msim: %{!mcall-linux: %{!mcall-solaris: %(cpp_os_default) }}}}}} \
%{mcpu=601: -D_ARCH_PPC -D_ARCH_PWR -DCPU=PPC601} \ %{!DCPU=*: \
%{mcpu=603: -D_ARCH_PPC -DCPU=PPC603} \ %{!mcpu*: -DCPU=PPC603} \
%{mcpu=604: -D_ARCH_PPC -DCPU=PPC604}" %{mcpu=powerpc: -DCPU=PPC603} \
%{mcpu=403: -DCPU=PPC403} \
%{mcpu=601: -DCPU=PPC601} \
%{mcpu=603: -DCPU=PPC603} \
%{mcpu=604: -DCPU=PPC604}}"
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "\ #define CPP_PREDEFINES "\
-D__vxworks -D__vxworks__ -Asystem(vxworks) -Asystem(embedded) \ -D__vxworks -Asystem(vxworks) -Asystem(embedded) \
-Acpu(powerpc) -Amachine(powerpc)" -Acpu(powerpc) -Amachine(powerpc)"
/* VxWorks does all the library stuff itself. */ /* VxWorks does all the library stuff itself. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment