diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2018-06-08 15:42:24 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2018-06-08 11:42:24 -0400 |
commit | 850078b7387f7286aac70e1e594f39baf9f429af (patch) | |
tree | 171226aca4228c2bbae47cef586d29eeccbcc19e /gcc | |
parent | d3fe528079de91a446ccbed06fe629cac5e34d15 (diff) | |
download | gcc-850078b7387f7286aac70e1e594f39baf9f429af.zip gcc-850078b7387f7286aac70e1e594f39baf9f429af.tar.gz gcc-850078b7387f7286aac70e1e594f39baf9f429af.tar.bz2 |
* config/rs6000/rs6000.c (rs6000_passes_ieee128): Protect with #if TARGET_ELF.
From-SVN: r261336
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). */ |