diff options
author | Michael Meissner <meissner@linux.vnet.ibm.com> | 2018-01-17 01:06:34 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 2018-01-17 01:06:34 +0000 |
commit | 060619250dc83e38c9129babac5c243914056da5 (patch) | |
tree | a7fac0e420bf40327d8b320831bc1bd34e63f6a0 /gcc/config.gcc | |
parent | dbc4d77ca43852c4edf1846e8b6319b6e68e2b42 (diff) | |
download | gcc-060619250dc83e38c9129babac5c243914056da5.zip gcc-060619250dc83e38c9129babac5c243914056da5.tar.gz gcc-060619250dc83e38c9129babac5c243914056da5.tar.bz2 |
config.gcc (powerpc*-linux*-*): Add support for 64-bit little endian Linux systems to optionally enable...
2018-01-16 Michael Meissner <meissner@linux.vnet.ibm.com>
* config.gcc (powerpc*-linux*-*): Add support for 64-bit little
endian Linux systems to optionally enable multilibs for selecting
the long double type if the user configured an explicit type.
* config/rs6000/rs6000.h (TARGET_IEEEQUAD_MULTILIB): Indicate we
have no long double multilibs if not defined.
* config/rs6000/rs6000.c (rs6000_option_override_internal): Do not
warn if the user used -mabi={ieee,ibm}longdouble and we built
multilibs for long double.
* config/rs6000/linux64.h (MULTILIB_DEFAULTS_IEEE): Define as the
appropriate multilib option.
(MULTILIB_DEFAULTS): Add MULTILIB_DEFAULTS_IEEE to the default
multilib options.
* config/rs6000/t-ldouble-linux64le-ibm: New configuration files
for building long double multilibs.
* config/rs6000/t-ldouble-linux64le-ieee: Likewise.
From-SVN: r256775
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 311186b..ec6822b 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -4407,6 +4407,16 @@ case "${target}" in elif test x$with_long_double_format = xibm; then tm_defines="${tm_defines} TARGET_IEEEQUAD_DEFAULT=0" fi + + case "${target}:${enable_multilib}:${with_long_double_format}" in + powerpc64le*:yes:ieee | powerpc64le*:yes:ibm) + tm_defines="${tm_defines} TARGET_IEEEQUAD_MULTILIB=1" + tmake_file="${tmake_file} rs6000/t-ldouble-linux64le-${with_long_double_format}" + ;; + *) + : + ;; + esac ;; s390*-*-*) |