From 060619250dc83e38c9129babac5c243914056da5 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 17 Jan 2018 01:06:34 +0000 Subject: config.gcc (powerpc*-linux*-*): Add support for 64-bit little endian Linux systems to optionally enable... 2018-01-16 Michael Meissner * 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 --- gcc/config.gcc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gcc/config.gcc') 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*-*-*) -- cgit v1.1