From 088f460f7527c6e99f393fa6fb1fc0cf87bb291c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 24 Nov 2005 18:28:02 +0000 Subject: [PATCH] * scripts/check-local-headers.sh: New file. * Makefile (tests): Run check-local-headers.sh. 2005-11-23 Thorsten Kukuk * include/sys/sendfile.h: New file. 2005-11-24 Andreas Schwab * time/sys/time.h: Remove nonnull attribute from futimesat. --- ChangeLog | 13 +++++++++++++ nptl/ChangeLog | 8 ++++++++ .../unix/sysv/linux/i386/bits/pthreadtypes.h | 2 +- .../unix/sysv/linux/x86_64/bits/pthreadtypes.h | 7 ++++++- 4 files changed, 28 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 841a6254f2..d4f5fa9de2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2005-11-24 Ulrich Drepper + + * scripts/check-local-headers.sh: New file. + * Makefile (tests): Run check-local-headers.sh. + +2005-11-23 Thorsten Kukuk + + * include/sys/sendfile.h: New file. + +2005-11-24 Andreas Schwab + + * time/sys/time.h: Remove nonnull attribute from futimesat. + 2005-11-22 Ulrich Drepper * nscd/connections.c (sendfileall): Define. diff --git a/nptl/ChangeLog b/nptl/ChangeLog index c61769a2d3..d30edd2efc 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,11 @@ +2005-11-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h + (__cleanup_fct_attribute): Use __regparm__ not regparm. + + * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: When + compiling 32-bit code we must define __cleanup_fct_attribute. + 005-11-24 Jakub Jelinek [BZ #1920] diff --git a/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h index 034d11e2ce..ddb3574aaa 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h @@ -155,6 +155,6 @@ typedef union /* Extra attributes for the cleanup functions. */ -#define __cleanup_fct_attribute __attribute__ ((regparm (1))) +#define __cleanup_fct_attribute __attribute__ ((__regparm__ (1))) #endif /* bits/pthreadtypes.h */ diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h index 92fb08c951..7f1ace693c 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2002. @@ -192,4 +192,9 @@ typedef union #endif +#if __WORDSIZE == 32 +/* Extra attributes for the cleanup functions. */ +# define __cleanup_fct_attribute __attribute__ ((__regparm__ (1))) +#endif + #endif /* bits/pthreadtypes.h */