Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/rs6000 expand the POWERPC_...
details: https://anonhg.NetBSD.org/src/rev/f1a6b5398734
branches: trunk
changeset: 770703:f1a6b5398734
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Oct 30 00:28:26 2011 +0000
description:
expand the POWERPC_LINUX checks to also apply to POWERPC_NETBSD.
diffstat:
external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r eb368254efb1 -r f1a6b5398734 external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c
--- a/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c Sun Oct 30 00:27:52 2011 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.c Sun Oct 30 00:28:26 2011 +0000
@@ -18427,7 +18427,7 @@
}
else if (DEFAULT_ABI == ABI_AIX)
{
-#ifndef POWERPC_LINUX
+#if !defined(POWERPC_LINUX) && !defined(POWERPC_NETBSD)
/* No out-of-line save/restore routines for GPRs on AIX. */
gcc_assert (!TARGET_AIX || !gpr);
#endif
@@ -18437,7 +18437,7 @@
prefix = (savep
? (lr ? "_savegpr0_" : "_savegpr1_")
: (lr ? "_restgpr0_" : "_restgpr1_"));
-#ifdef POWERPC_LINUX
+#if defined(POWERPC_LINUX) || defined(POWERPC_NETBSD)
else if (lr)
prefix = (savep ? "_savefpr_" : "_restfpr_");
#endif
@@ -18701,7 +18701,7 @@
strategy = (using_multiple_p
| (savres_fprs_inline << 1)
| (savres_gprs_inline << 2));
-#ifdef POWERPC_LINUX
+#if defined(POWERPC_LINUX) || defined(POWERPC_NETBSD)
if (TARGET_64BIT)
{
if (!savres_fprs_inline)
Home |
Main Index |
Thread Index |
Old Index