summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-12 01:01:21 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-12 01:01:21 +0000
commit74e5b3f3dce98407c3efe7bcf8336e190f8d4a11 (patch)
treef125e5e7de6ff474a4b0fd888c6e3f233469ee8e
parent3a0bc29c387f6d62e78a3a69c89722873f0766d2 (diff)
downloadppe42-gcc-74e5b3f3dce98407c3efe7bcf8336e190f8d4a11.tar.gz
ppe42-gcc-74e5b3f3dce98407c3efe7bcf8336e190f8d4a11.zip
* config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
to 64 for hppa 64-bit port. (__glibcpp_long_double_bits): Define to 64 for all hppa ports. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53388 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/config/os/gnu-linux/bits/os_defines.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 529f39524a3..368b6137ec5 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
+ to 64 for hppa 64-bit port.
+ (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
+
2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* acinclude.m4 (enable_symvers): Quote $LD.
diff --git a/libstdc++-v3/config/os/gnu-linux/bits/os_defines.h b/libstdc++-v3/config/os/gnu-linux/bits/os_defines.h
index d5ed77cde44..4405660f0e4 100644
--- a/libstdc++-v3/config/os/gnu-linux/bits/os_defines.h
+++ b/libstdc++-v3/config/os/gnu-linux/bits/os_defines.h
@@ -65,11 +65,11 @@ typedef __loff_t __off64_t;
#define __NO_STRING_INLINES
#endif
-#if defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__))
+#if (defined(__hppa__) && defined(__LP64__)) || defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__))
#define __glibcpp_long_bits 64
#endif
-#if defined(__sparc__) && !defined(__arch64__)
+#if defined(__hppa__) || (defined(__sparc__) && !defined(__arch64__))
#define __glibcpp_long_double_bits 64
#endif
OpenPOWER on IntegriCloud