From 6c10ab65137f16cf3bc81f099fc7d18c3b6f8fc8 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 31 Oct 2012 14:13:22 +1030 Subject: [PATCH] linux64.h (TARGET_OS_CPP_BUILTINS): Define _CALL_LINUX. * config/rs6000/linux64.h (TARGET_OS_CPP_BUILTINS): Define _CALL_LINUX. From-SVN: r193014 --- gcc/ChangeLog | 4 ++++ gcc/config/rs6000/linux64.h | 2 ++ 2 files changed, 6 insertions(+) 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 + + * config/rs6000/linux64.h (TARGET_OS_CPP_BUILTINS): Define _CALL_LINUX. + 2012-10-31 Joern Rennecke * 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"); \ } \