From d425aefc71f86d557d32db7075a199f3aa8aefc1 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 17 Jan 2002 17:35:57 +0000 Subject: Update. * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: GCC 3.1 has __uint128_t build-in. --- ChangeLog | 3 +++ sysdeps/unix/sysv/linux/powerpc/sys/procfs.h | 8 +++----- 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 + * 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; -- cgit 1.4.1