diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cbbf5e2..cd3769f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-06-08 David Edelsohn <dje.gcc@gmail.com> + + * config/rs6000/rs6000.c (rs6000_passes_ieee128): Protect with #if + TARGET_ELF. + 2018-06-08 Martin Liska <mliska@suse.cz> * 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 fb394bf..4c447d4 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). */ |