Commit 64ce6cc2 by Iain Sandoe Committed by Iain Sandoe

[Darwin, PPC] Emit uppercase versions of ppc defines.

Emit __PPC__ (32b) and __PPC64__ (64bit) as per the other members
of the PowerPC port.

2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>

	* config/rs6000/darwin.h: (__PPC__, __PPC64__): New.

From-SVN: r272602
parent 63e6229c
2019-06-23 Iain Sandoe <iain@sandoe.co.uk>
* config/rs6000/darwin.h: (__PPC__, __PPC64__): New.
2019-06-22 Jeff Law <law@redhat.com> 2019-06-22 Jeff Law <law@redhat.com>
* config/avr/avr.c (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Remove. * config/avr/avr.c (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Remove.
......
...@@ -54,7 +54,9 @@ ...@@ -54,7 +54,9 @@
do \ do \
{ \ { \
if (!TARGET_64BIT) builtin_define ("__ppc__"); \ if (!TARGET_64BIT) builtin_define ("__ppc__"); \
if (!TARGET_64BIT) builtin_define ("__PPC__"); \
if (TARGET_64BIT) builtin_define ("__ppc64__"); \ if (TARGET_64BIT) builtin_define ("__ppc64__"); \
if (TARGET_64BIT) builtin_define ("__PPC64__"); \
builtin_define ("__POWERPC__"); \ builtin_define ("__POWERPC__"); \
builtin_define ("__NATURAL_ALIGNMENT__"); \ builtin_define ("__NATURAL_ALIGNMENT__"); \
darwin_cpp_builtins (pfile); \ darwin_cpp_builtins (pfile); \
......
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