aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBill Seurer <seurer@linux.vnet.ibm.com>2019-07-19 22:14:56 +0000
committerBill Seurer <seurer@gcc.gnu.org>2019-07-19 22:14:56 +0000
commitc35504626ec008d97b61e4bda17038333d51a8f2 (patch)
tree5fe394467b001b0edb68a5399485e3d793e86422 /gcc
parent2be3193b827839550e6ac938b28d805f2bc294c3 (diff)
downloadgcc-c35504626ec008d97b61e4bda17038333d51a8f2.zip
gcc-c35504626ec008d97b61e4bda17038333d51a8f2.tar.gz
gcc-c35504626ec008d97b61e4bda17038333d51a8f2.tar.bz2
rs6000-call.c (HAVE_AS_GNU_ATTRIBUTE): define value as in rs6000.c.
2019-07-17 Bill Seurer <seurer@linux.vnet.ibm.com> * config/rs6000/rs6000-call.c (HAVE_AS_GNU_ATTRIBUTE): define value as in rs6000.c. From-SVN: r273610
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/rs6000-call.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f37e270..92e5b2e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2019-07-17 Bill Seurer <seurer@linux.vnet.ibm.com>
+
+ * config/rs6000/rs6000-call.c (HAVE_AS_GNU_ATTRIBUTE): define value
+ as in rs6000.c.
+
2019-07-19 Iain Sandoe <iain@sandoe.co.uk>
* config/darwin.h (DRIVER_SELF_SPECS): Ignore X and Mach specs which
diff --git a/gcc/config/rs6000/rs6000-call.c b/gcc/config/rs6000/rs6000-call.c
index ff48ff1..cefb737 100644
--- a/gcc/config/rs6000/rs6000-call.c
+++ b/gcc/config/rs6000/rs6000-call.c
@@ -80,6 +80,12 @@
#define TARGET_PROFILE_KERNEL 0
#endif
+#ifdef HAVE_AS_GNU_ATTRIBUTE
+# ifndef HAVE_LD_PPC_GNU_ATTR_LONG_DOUBLE
+# define HAVE_LD_PPC_GNU_ATTR_LONG_DOUBLE 0
+# endif
+#endif
+
struct builtin_description
{
const HOST_WIDE_INT mask;