summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-10-31 14:13:22 +1030
committerAlan Modra <amodra@gcc.gnu.org>2012-10-31 14:13:22 +1030
commit6c10ab65137f16cf3bc81f099fc7d18c3b6f8fc8 (patch)
treea13809622484a17dcefeacde130a9a52900b92e3
parent2515a1e6e01c2f1da016f5e252359457ffdf1935 (diff)
downloadgcc-6c10ab65137f16cf3bc81f099fc7d18c3b6f8fc8.tar.gz
linux64.h (TARGET_OS_CPP_BUILTINS): Define _CALL_LINUX.
* config/rs6000/linux64.h (TARGET_OS_CPP_BUILTINS): Define _CALL_LINUX. From-SVN: r193014
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/linux64.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d41058bd0b1..a7fd03fc381 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * config/rs6000/linux64.h (TARGET_OS_CPP_BUILTINS): Define _CALL_LINUX.
+
2012-10-31 Joern Rennecke <joern.rennecke@embecosm.com>
* lra-constraints.c (choose_split_class): Add ATTRIBUTE_UNUSED to
diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
index 28ba8f8f6a8..4d2c36503fb 100644
--- a/gcc/config/rs6000/linux64.h
+++ b/gcc/config/rs6000/linux64.h
@@ -318,6 +318,8 @@ extern int dot_symbols;
builtin_define ("__PPC64__"); \
builtin_define ("__powerpc__"); \
builtin_define ("__powerpc64__"); \
+ if (!DOT_SYMBOLS) \
+ builtin_define ("_CALL_LINUX"); \
builtin_assert ("cpu=powerpc64"); \
builtin_assert ("machine=powerpc64"); \
} \