aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-01-17 17:35:57 +0000
committerAndreas Jaeger <aj@suse.de>2002-01-17 17:35:57 +0000
commitd425aefc71f86d557d32db7075a199f3aa8aefc1 (patch)
treee40cbbdbc2c0a533af1af01c4ca668a692d96550
parent38aaf876778d99d1c2832c8045ee5b16ca994689 (diff)
downloadglibc-d425aefc71f86d557d32db7075a199f3aa8aefc1.tar
glibc-d425aefc71f86d557d32db7075a199f3aa8aefc1.tar.gz
glibc-d425aefc71f86d557d32db7075a199f3aa8aefc1.tar.bz2
glibc-d425aefc71f86d557d32db7075a199f3aa8aefc1.zip
Update.
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: GCC 3.1 has __uint128_t build-in.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/sys/procfs.h8
2 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 7d3dfb2d78..6f87e853c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2002-01-17 Andreas Jaeger <aj@suse.de>
+ * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: GCC 3.1 has
+ __uint128_t build-in.
+
* sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and
PowerPC, sync with 2.2 branch.
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h
index b761bf21c3..e42f848bc5 100644
--- a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h
+++ b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1999, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -42,10 +42,8 @@ typedef elf_greg_t elf_gregset_t[ELF_NGREG];
typedef double elf_fpreg_t;
typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
-/* gcc doesn't support __TI__ yet */
-#if 0
-typedef unsigned __uint128_t __attribute__ (( __mode__ (__TI__)));
-#else
+/* gcc 3.1 and newer support __uint128_t. */
+#if !__GNUC_PREREQ(3,1)
typedef struct {
unsigned long u[4];
} __attribute((aligned(16))) __uint128_t;