aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/linux64.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2006-02-23 09:58:22 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2006-02-23 09:58:22 +0100
commited965309dad6553ada999c70724c57817ac1eb36 (patch)
tree88bb99ad558cf709fbf8381f220ed61566198f97 /gcc/config/rs6000/linux64.h
parent29b1a829ad808af23cf04ddded483b3c42fe37b4 (diff)
downloadgcc-ed965309dad6553ada999c70724c57817ac1eb36.zip
gcc-ed965309dad6553ada999c70724c57817ac1eb36.tar.gz
gcc-ed965309dad6553ada999c70724c57817ac1eb36.tar.bz2
[multiple changes]
2006-02-23 Jakub Jelinek <jakub@redhat.com> * configure.ac: Add --with{,out}-long-double-128 configure option. (TARGET_DEFAULT_LONG_DOUBLE_128): New test. * configure: Rebuilt. * config.in: Rebuilt. * doc/install.texi (Options specification): Document --with-long-double-128. * config/rs6000/linux.h [TARGET_DEFAULT_LONG_DOUBLE_128] (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define to 128. * config/rs6000/linux64.h [TARGET_DEFAULT_LONG_DOUBLE_128] (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define to 128. 2006-02-23 Aldy Hernandez <aldyh@redhat.com> * config/s390/s390.c (override_options): Handle TARGET_DEFAULT_LONG_DOUBLE_128. * config/alpha/alpha.c (override_options): Handle TARGET_DEFAULT_LONG_DOUBLE_128. * config/sparc/sparc.c (sparc_override_options): Handle TARGET_DEFAULT_LONG_DOUBLE_128. From-SVN: r111381
Diffstat (limited to 'gcc/config/rs6000/linux64.h')
-rw-r--r--gcc/config/rs6000/linux64.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
index d292380..26f7496 100644
--- a/gcc/config/rs6000/linux64.h
+++ b/gcc/config/rs6000/linux64.h
@@ -584,3 +584,8 @@ while (0)
#endif
#define POWERPC_LINUX
+
+/* ppc{32,64} linux has 128-bit long double support in glibc 2.4 and later. */
+#ifdef TARGET_DEFAULT_LONG_DOUBLE_128
+#define RS6000_DEFAULT_LONG_DOUBLE_SIZE 128
+#endif