From 850078b7387f7286aac70e1e594f39baf9f429af Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Fri, 8 Jun 2018 15:42:24 +0000 Subject: [PATCH] * config/rs6000/rs6000.c (rs6000_passes_ieee128): Protect with #if TARGET_ELF. From-SVN: r261336 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cbbf5e2bec3..cd3769fcf77 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-06-08 David Edelsohn + + * config/rs6000/rs6000.c (rs6000_passes_ieee128): Protect with #if + TARGET_ELF. + 2018-06-08 Martin Liska * tree-cfg.h (debug_function): Fix argument type to match diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index fb394bf3f2e..4c447d44272 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -197,12 +197,14 @@ int dot_symbols; of this machine mode. */ scalar_int_mode rs6000_pmode; +#if TARGET_ELF /* Note whether IEEE 128-bit floating point was passed or returned, either as the __float128/_Float128 explicit type, or when long double is IEEE 128-bit floating point. We changed the default C++ mangling for these types and we may want to generate a weak alias of the old mangling (U10__float128) to the new mangling (u9__ieee128). */ static bool rs6000_passes_ieee128; +#endif /* Generate the manged name (i.e. U10__float128) used in GCC 8.1, and not the name used in current releases (i.e. u9__ieee128). */ -- 2.30.2