summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-31 03:43:22 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-31 03:43:22 +0000
commit70b94afd8df5453589c80f870400b8b51de04929 (patch)
treea13809622484a17dcefeacde130a9a52900b92e3
parent91f021e7f0b09d1364f1347376197a7e31fdcc3e (diff)
downloadgcc-70b94afd8df5453589c80f870400b8b51de04929.tar.gz
* config/rs6000/linux64.h (TARGET_OS_CPP_BUILTINS): Define _CALL_LINUX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193014 138bc75d-0d04-0410-961f-82ee72b054a4
-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"); \
} \