From 931786ee34dcd0802f5963ffa3dc394140ec9cd0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 9 Jan 2006 21:17:57 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Add stack bias to mc_fp field. * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (struct kernel_stat): Rename st_[amc]time fields to st_[amc]time_sec. (struct kernel_stat64): New type. (_HAVE___UNUSED1, _HAVE___UNUSED2, _HAVE_STAT___UNUSED1, _HAVE_STAT___UNUSED2, _HAVE_STAT___UNUSED3, _HAVE_STAT___UNUSED4, _HAVE_STAT___UNUSED5, _HAVE_STAT___PAD1, _HAVE_STAT___PAD2, _HAVE_STAT64___UNUSED1, _HAVE_STAT64___UNUSED2, _HAVE_STAT64___UNUSED3, _HAVE_STAT64___UNUSED4, _HAVE_STAT64___UNUSED5, _HAVE_STAT64___PAD1, _HAVE_STAT64___PAD2): Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Include i386 version. * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: New file. * sysdeps/unix/sysv/linux/sparc/bits/stat.h (struct stat, struct stat64): Add nsec resolution for 64-bit code like already done for 32-bit code. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define for sparc64. (__ASSUME_STAT64_SYSCALL): Only define for sparc64 for >= 2.6.12 kernels. * scripts/data/c++-types-sparc-linux-gnu.data: New file. * scripts/data/c++-types-sparc64-linux-gnu.data: New file. * scripts/data/c++-types-alpha-linux-gnu.data: Adjust. --- ChangeLog | 32 ++++++++++++++++++++++++++ nptl/ChangeLog | 9 ++++++++ sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c | 2 +- 3 files changed, 42 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9c5815d..f78584f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,35 @@ +2006-01-09 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Add + stack bias to mc_fp field. + + * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h + (struct kernel_stat): Rename st_[amc]time fields to st_[amc]time_sec. + (struct kernel_stat64): New type. + (_HAVE___UNUSED1, _HAVE___UNUSED2, _HAVE_STAT___UNUSED1, + _HAVE_STAT___UNUSED2, _HAVE_STAT___UNUSED3, _HAVE_STAT___UNUSED4, + _HAVE_STAT___UNUSED5, _HAVE_STAT___PAD1, _HAVE_STAT___PAD2, + _HAVE_STAT64___UNUSED1, _HAVE_STAT64___UNUSED2, + _HAVE_STAT64___UNUSED3, _HAVE_STAT64___UNUSED4, + _HAVE_STAT64___UNUSED5, _HAVE_STAT64___PAD1, _HAVE_STAT64___PAD2): + Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Include i386 version. + * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: New file. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h (struct stat, + struct stat64): Add nsec resolution for 64-bit code like already done + for 32-bit code. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define + for sparc64. + (__ASSUME_STAT64_SYSCALL): Only define for sparc64 for >= 2.6.12 + kernels. + + * scripts/data/c++-types-sparc-linux-gnu.data: New file. + * scripts/data/c++-types-sparc64-linux-gnu.data: New file. + * scripts/data/c++-types-alpha-linux-gnu.data: Adjust. + 2006-01-08 Roland McGrath [BZ #1535] diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 3488581..ed0e1ff 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,12 @@ +2006-01-09 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t): + Use __extension__ on anonymous union definition. + * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. + 2006-01-09 Jakub Jelinek * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS_ADJ): Add diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c b/sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c index 7637472..7f1e98e 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c @@ -1 +1 @@ -#include "../../lxstat.c" +#include "../../i386/lxstat.c" -- 2.7.4