From: Iain Sandoe Date: Sat, 3 Aug 2019 19:25:05 +0000 (+0000) Subject: Darwin, ppc, backport test fixes. X-Git-Tag: releases/gcc-9.2.0~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e12a883166d6e70d568a499baac61b09478099c;p=thirdparty%2Fgcc.git Darwin, ppc, backport test fixes. Some tests expect upper case versions of the ppc/ppc64 macros, so bring Darwin into line with other port members. 2019-08-03 Iain Sandoe Backport from mainline 2019-06-23 Iain Sandoe * config/rs6000/darwin.h: (__PPC__, __PPC64__): New. From-SVN: r274041 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a967df1bd2e8..3d4cb6ce719b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-08-03 Iain Sandoe + + Backport from mainline + 2019-06-23 Iain Sandoe + + * config/rs6000/darwin.h: (__PPC__, __PPC64__): New. + 2019-08-02 Martin Sebor Backport from mainline diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index 9fb36e41e7dc..47f34db590e2 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -54,7 +54,9 @@ do \ { \ if (!TARGET_64BIT) builtin_define ("__ppc__"); \ + if (!TARGET_64BIT) builtin_define ("__PPC__"); \ if (TARGET_64BIT) builtin_define ("__ppc64__"); \ + if (TARGET_64BIT) builtin_define ("__PPC64__"); \ builtin_define ("__POWERPC__"); \ builtin_define ("__NATURAL_ALIGNMENT__"); \ darwin_cpp_builtins (pfile); \