external/glibc.git
21 years agoUpdate.
Ulrich Drepper [Tue, 1 Jul 2003 17:02:15 +0000 (17:02 +0000)]
Update.

2003-07-01  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Add correct
cleanup support and unwind info.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Jul 2003 08:31:38 +0000 (08:31 +0000)]
Update.

2003-05-04  H.J. Lu  <hongjiu.lu@intel.com>

* malloc/arena.c (arena_get2): Add atomic_write_barrier.
* malloc/thread-m.h: Include <atomic.h>.
(atomic_full_barrier): Provide default.
(atomic_read_barrier): Likewise.
(atomic_write_barrier): Likewise.
* sysdeps/ia64/bits/atomic.h (atomic_full_barrier): New #define.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Jul 2003 03:33:06 +0000 (03:33 +0000)]
Update.

* sysdeps/unix/sysv/linux/unwindbuf.sym: New file.
* sysdeps/unix/sysv/linux/Makefile: Add rule to build unwindbuf.h.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Jul 2003 03:29:50 +0000 (03:29 +0000)]
Update.

2003-06-30  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/pthread_once.S (__pthread_once):
Use correct cleanup handler registration.  Add unwind info.
* tst-once3.c: Add cleanup handler and check it is called.
* tst-once4.c: Likewise.
* tst-oncex3.c: New file.
* tst-oncex4.c: New file.
* Makefile: Add rules to build and run tst-oncex3 and tst-oncex4.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Jul 2003 01:54:14 +0000 (01:54 +0000)]
Update.

2003-06-30  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/sysdep.h: Define cfi_rel_offset and CFI_REL_OFFSET.

* nis/nss_compat/compat-grp.c: Remove unused nis_first variable.
(getgrent_next_file): Don't store group name to early in blacklist.

21 years agoDefine cfi_rel_offset and CFI_REL_OFFSET.
Ulrich Drepper [Tue, 1 Jul 2003 01:52:08 +0000 (01:52 +0000)]
Define cfi_rel_offset and CFI_REL_OFFSET.

21 years ago * sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly.
Richard Henderson [Mon, 30 Jun 2003 23:21:49 +0000 (23:21 +0000)]
    * sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly.

21 years ago * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int): ...
Richard Henderson [Mon, 30 Jun 2003 23:21:38 +0000 (23:21 +0000)]
    * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int):         Invert the sense of the return value.         (__arch_exchange_16_int): Fix paste-o.         (__arch_exchange_{32,64}_int): Fix think-o.

* sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int):
Invert the sense of the return value.
(__arch_exchange_16_int): Fix paste-o.
(__arch_exchange_{32,64}_int): Fix think-o.

* sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly.

2003-06-30  Richard Henderson  <rth@redhat.com>

21 years ago * include/sys/resource.h (__getrusage): Mark hidden. * include/sys...
Richard Henderson [Mon, 30 Jun 2003 23:15:13 +0000 (23:15 +0000)]
    * include/sys/resource.h (__getrusage): Mark hidden.         * include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise.         * include/sys/wait.h (__wait4): Likewise.

2003-06-30  Richard Henderson  <rth@redhat.com>

* include/sys/resource.h (__getrusage): Mark hidden.
* include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise.
* include/sys/wait.h (__wait4): Likewise.

21 years agoUpdate.
Andreas Jaeger [Mon, 30 Jun 2003 09:33:26 +0000 (09:33 +0000)]
Update.

2003-06-17  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT
case.
(xstat_conv): Rename to __xstat_conv and remove static inline.
(xstat64_conv): Likewise.

21 years ago2003-06-17 Guido Guenther <agx@sigxcpu.org>
Andreas Jaeger [Mon, 30 Jun 2003 09:33:13 +0000 (09:33 +0000)]
2003-06-17  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT
case.
(xstat_conv): Rename to __xstat_conv and remove static inline.
(xstat64_conv): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Jun 2003 23:01:49 +0000 (23:01 +0000)]
Update.

2003-06-29  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/configure.in: Check for C cleanup handling in gcc.

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Jun 2003 18:01:53 +0000 (18:01 +0000)]
Update.

2003-06-29  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sleep.c (__sleep): Handle parameter
values which cannot be handled in one nanosleep call.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Jun 2003 08:26:43 +0000 (08:26 +0000)]
Update.

2003-06-25  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/generic/bits/in.h (IPV6_HOPOPTS, IPV6_DSTOPTS): New macros.
(IPV6_RXHOPOPTS, IPV6_RXDSTOPTS): Use them.

* sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: Typo fix.

21 years agoSync with kernel header, fix typo.
Ulrich Drepper [Sat, 28 Jun 2003 08:19:47 +0000 (08:19 +0000)]
Sync with kernel header, fix typo.

2003-06-04  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/net/if_arp.h: Sync with kernel header,
fix typo.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Jun 2003 08:11:28 +0000 (08:11 +0000)]
Update.

2003-06-26  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/xstatconv.h [!STAT_IS_KERNEL_STAT]:
Conditionalize function definitions that use struct kernel_stat.
* sysdeps/unix/sysv/linux/fxstat.c: Remove __syscall_fstat extern.
* sysdeps/unix/sysv/linux/lxstat.c: Remove __syscall_lstat extern.
* sysdeps/unix/sysv/linux/xstat.c: Remove __syscall_stat extern.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Jun 2003 08:04:34 +0000 (08:04 +0000)]
Update.

2003-06-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop): Add real
implementation.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Jun 2003 07:57:21 +0000 (07:57 +0000)]
Update.

2003-06-07  Thorsten Kukuk  <kukuk@suse.de>

* nis/nss_compat/compat-grp.c: Remove unused nis_first variable
(getgrent_next_file) Don't store group name to early in blacklist.

* nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Save strlen result
and use memcpy instead of strcpy.

2003-06-28  Ulrich Drepper  <drepper@redhat.com>

* nis/nss_compat/compat-grp.c: Optimize several little things.  Use
stream unlocked.
* nis/nss_compat/compat-initgroups.c: Likewise.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.

2003-06-27  Thorsten Kukuk  <kukuk@suse.de>

* nis/nss_compat/compat-initgroups.c: Don't use our own NIS/NIS+
functions, dlopen corresponding NSS module instead.

21 years agoOptimize several little things. Use stream unlocked.
Ulrich Drepper [Sat, 28 Jun 2003 07:49:05 +0000 (07:49 +0000)]
Optimize several little things.  Use stream unlocked.

21 years ago* sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init.
Roland McGrath [Fri, 27 Jun 2003 20:58:33 +0000 (20:58 +0000)]
* sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init.

* sysdeps/mach/hurd/i386/init-first.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.

21 years ago2003-06-27 Jeroen Dekkers <jeroen@dekkers.cx>
Roland McGrath [Fri, 27 Jun 2003 20:58:22 +0000 (20:58 +0000)]
2003-06-27  Jeroen Dekkers  <jeroen@dekkers.cx>

* sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init.
* sysdeps/mach/hurd/i386/init-first.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.

21 years agoBump to 0.50.
Ulrich Drepper [Fri, 27 Jun 2003 19:48:13 +0000 (19:48 +0000)]
Bump to 0.50.

21 years agoUpdate.
Ulrich Drepper [Fri, 27 Jun 2003 17:53:52 +0000 (17:53 +0000)]
Update.

* tst-cancel4.c (tf_msgrcv): Use IPC_PRIVATE in msgget call.
(tf_msgsnd): Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 27 Jun 2003 08:17:46 +0000 (08:17 +0000)]
Update.

2003-06-27  Ulrich Drepper  <drepper@redhat.com>

* rt/Makefile (CFLAGS-librt-cancellation.c): Define.

21 years agoUpdate.
Ulrich Drepper [Fri, 27 Jun 2003 07:02:58 +0000 (07:02 +0000)]
Update.

2003-06-26  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/librt-cancellation.c: Move __pthread_unwind
definition to the front.

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Rename
the cleanup functions to make the names unique.  Fix dwarf opcode
un unwind table.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Rename cleanup
functions to make the names unique.  Fix CFA offset for two blocks.

21 years agoMove __pthread_unwind definition to the front.
Ulrich Drepper [Fri, 27 Jun 2003 06:59:36 +0000 (06:59 +0000)]
Move __pthread_unwind definition to the front.

21 years ago* sysdeps/mach/configure.in: Barf rather than define NO_CREATION_TIME.
Roland McGrath [Fri, 27 Jun 2003 06:21:51 +0000 (06:21 +0000)]
* sysdeps/mach/configure.in: Barf rather than define NO_CREATION_TIME.

* sysdeps/mach/configure: Regenerated.
* sysdeps/mach/hurd/times.c (times_init): Function removed.
(__times): Assume `creation_time' field is available.
* sysdeps/mach/hurd/Makefile [$(subdir) = csu] (sysdep_routines):
Don't append set-init.
* sysdeps/mach/hurd/set-init.c: File removed.

21 years ago[__LINUX_KERNEL_VERSION >= 132426] (__ASSUME_AT_SECURE): Define it.
Roland McGrath [Thu, 26 Jun 2003 19:55:06 +0000 (19:55 +0000)]
[__LINUX_KERNEL_VERSION >= 132426] (__ASSUME_AT_SECURE): Define it.

21 years ago* elf/elf.h (AT_SECURE): New macro.
Roland McGrath [Thu, 26 Jun 2003 19:54:47 +0000 (19:54 +0000)]
* elf/elf.h (AT_SECURE): New macro.

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Grok it,
set __libc_enable_secure.
(_dl_show_auxv): Add AT_SECURE to name table.
* elf/dl-support.c (_dl_aux_init): Grok AT_SECURE, set
__libc_enable_secure and __libc_enable_secure_decided.
* sysdeps/unix/sysv/linux/ldsodefs.h
[__ASSUME_AT_SECURE] (HAVE_AUX_SECURE): Define it.
* sysdeps/unix/sysv/linux/kernel-features.h
[__LINUX_KERNEL_VERSION >= 132425] (__ASSUME_AT_SECURE): Define it.

21 years ago2003-06-26 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 26 Jun 2003 19:54:29 +0000 (19:54 +0000)]
2003-06-26  Roland McGrath  <roland@redhat.com>

* elf/elf.h (AT_SECURE): New macro.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Grok it,
set __libc_enable_secure.
(_dl_show_auxv): Add AT_SECURE to name table.
* elf/dl-support.c (_dl_aux_init): Grok AT_SECURE, set
__libc_enable_secure and __libc_enable_secure_decided.
* sysdeps/unix/sysv/linux/ldsodefs.h
[__ASSUME_AT_SECURE] (HAVE_AUX_SECURE): Define it.
* sysdeps/unix/sysv/linux/kernel-features.h
[__LINUX_KERNEL_VERSION >= 132425] (__ASSUME_AT_SECURE): Define it.

21 years agoUpdate.
Ulrich Drepper [Thu, 26 Jun 2003 17:02:23 +0000 (17:02 +0000)]
Update.

2003-06-26  Ulrich Drepper  <drepper@redhat.com>

* io/test-utime.c: If _STATBUF_ST_NSEC is defined, adjust lower
boundary test to take rounding of nanoseconds into account.

* sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_NSEC.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.

21 years agoDefine _STATBUF_ST_NSEC.
Ulrich Drepper [Thu, 26 Jun 2003 17:00:37 +0000 (17:00 +0000)]
Define _STATBUF_ST_NSEC.

21 years ago*** empty log message ***
Andreas Schwab [Thu, 26 Jun 2003 16:18:24 +0000 (16:18 +0000)]
*** empty log message ***

2003-06-26  Andreas Schwab  <schwab@suse.de>

* sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.
* sysdeps/m68k/fpu/s_frexp.c: Put implementation here.
* sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers.

21 years ago* sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.
Andreas Schwab [Thu, 26 Jun 2003 16:18:13 +0000 (16:18 +0000)]
* sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.

* sysdeps/m68k/fpu/s_frexp.c: Put implementation here.
* sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers.

21 years agoUpdate.
Ulrich Drepper [Thu, 26 Jun 2003 08:00:21 +0000 (08:00 +0000)]
Update.

2003-06-17  Thorsten Kukuk  <kukuk@suse.de>

* nis/Makefile: Remove NIS/NIS+ files from nss_compat module.
* nis/nss_compat/compat-grp.c: Don't use our own NIS/NIS+ functions,
dlopen corresponding NSS module instead.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.
* nis/nss_compat/compat-initgroups.c: Disabled for now.
* nss/Versions: Export __nss_lookup_function.

2003-06-19  Daniel Jacobowitz  <drow@mvista.com>

* sysdeps/unix/sysv/linux/kernel-features.h: Update kernel features
for the SH architecture.

2003-06-25  Thorsten Kukuk  <kukuk@suse.de>

* csu/Makefile: Use CPPFLAGS to find correct linux/version.h.

21 years agoUpdate.
Ulrich Drepper [Thu, 26 Jun 2003 01:14:06 +0000 (01:14 +0000)]
Update.

2003-06-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/pthread.h (class __pthread_cleanup_class): Add
missing closing braces.
Patch by Christophe Saout <christophe@saout.de>.

21 years ago(class __pthread_cleanup_class): Add missing closing braces.
Ulrich Drepper [Thu, 26 Jun 2003 01:13:19 +0000 (01:13 +0000)]
(class __pthread_cleanup_class): Add missing closing braces.

21 years agoUpdate.
Andreas Jaeger [Wed, 25 Jun 2003 14:21:44 +0000 (14:21 +0000)]
Update.

* stdlib/tst-strtod.c (main): Declare constant long double as
suggested by Jakub Jelinek and Andreas Schwab.

21 years ago* posix/tst-nanosleep.c: Include <time.h> for nanosleep
Andreas Jaeger [Wed, 25 Jun 2003 11:14:37 +0000 (11:14 +0000)]
* posix/tst-nanosleep.c: Include <time.h> for nanosleep

declaration.
* stdio-common/tst-fphex.c: Fix format string.
* posix/tst-nanosleep.c: Include <time.h> for nanosleep
declaration.

* stdio-common/tst-fphex.c: Fix format string.

21 years ago* posix/transbug.c: Include <string.h> for memset and strlen
Andreas Jaeger [Wed, 25 Jun 2003 11:04:58 +0000 (11:04 +0000)]
* posix/transbug.c: Include <string.h> for memset and strlen

declarations.
* stdio-common/tst-sprintf.c: Include <stdlib.h> for free declaration.

* stdlib/tst-strtod.c (main): Pass long double value.

* test-skeleton.c: Include <time.h> for nanosleep declaration.
2003-06-25  Andreas Jaeger  <aj@suse.de>

* posix/transbug.c: Include <string.h> for memset and strlen
declarations.

* stdio-common/tst-sprintf.c: Include <stdlib.h> for free declaration.

* stdlib/tst-strtod.c (main): Pass long double value.

* test-skeleton.c: Include <time.h> for nanosleep declaration.

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Jun 2003 08:47:01 +0000 (08:47 +0000)]
Update.

2003-06-25  Ulrich Drepper  <drepper@redhat.com>

* include/time.h: Don't define CLOCK_IDFIELD_SIZE if _ISOMAC is
defined.

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Jun 2003 08:32:03 +0000 (08:32 +0000)]
Update.

2003-06-11  Jakub Jelinek  <jakub@redhat.com>

* elf/Versions (libc): Add _dl_open_hook@GLIBC_PRIVATE.
* elf/dl-libc.c (struct dl_open_hook): New.
(_dl_open_hook): New variable.
(do_dlsym_private): New function.
(__libc_dlopen_mode) [!SHARED]: Lookup _dl_open_hook@GLIBC_PRIVATE
and initialize it if found.
(__libc_dlopen_mode) [SHARED]: If _dl_open_hook is non-NULL,
call dlopen_mode hook.
(__libc_dlsym) [SHARED]: If _dl_open_hook is non-NULL,
call dlsym hook.
(__libc_dlclose) [SHARED]: If _dl_open_hook is non-NULL,
call dlclose hook.

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Jun 2003 08:19:44 +0000 (08:19 +0000)]
Update.

2003-06-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/cris/sysdep.h (INLINE_SYSCALL): Cast
result to long int so that extensions to long long int work.
Patch by Uwe Reimann <libc-alpha@pulsar.homelinux.net>.

2003-06-19  Jakub Jelinek  <jakub@redhat.com>

* elf/ldconfig.c (main): Use add_system_dir instead of add_dir.
* sysdeps/generic/dl-cache.h (add_system_dir): Define.
* sysdeps/unix/sysv/linux/x86_64/dl-cache.h: Include sparc
dl-cache.h.
* sysdeps/unix/sysv/linux/s390/dl-cache.h: New file.
* sysdeps/unix/sysv/linux/mips/dl-cache.h: New file.
* sysdeps/unix/sysv/linux/powerpc/dl-cache.h: New file.
* sysdeps/unix/sysv/linux/sparc/dl-cache.h: New file.

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Jun 2003 07:46:45 +0000 (07:46 +0000)]
Update.

2003-06-19  Jakub Jelinek  <jakub@redhat.com>

* test-skeleton.c (timeout_handler): If waitpid returned 0,
retry once after a second.  If killed == 0, assume
WTERMSIG (status) == SIGKILL.

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Jun 2003 05:32:19 +0000 (05:32 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: New file.

21 years agoPOSIX options for Linux/x86-64 with nptl.
Ulrich Drepper [Wed, 25 Jun 2003 05:26:47 +0000 (05:26 +0000)]
POSIX options for Linux/x86-64 with nptl.

21 years ago* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Support cancellation
Roland McGrath [Wed, 25 Jun 2003 03:22:03 +0000 (03:22 +0000)]
* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Support cancellation

in librt.

* sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines):

21 years ago* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Catch uninitialized
Roland McGrath [Wed, 25 Jun 2003 01:56:15 +0000 (01:56 +0000)]
* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Catch uninitialized

elements in the table instead of printing an empty name string.

2003-06-05  Roland McGrath  <roland@redhat.com>

* elf/elf.h (PT_GNU_STACK): New macro.

21 years ago2003-06-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 25 Jun 2003 01:51:07 +0000 (01:51 +0000)]
2003-06-05  Roland McGrath  <roland@redhat.com>

* elf/elf.h (PT_GNU_STACK): New macro.

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Jun 2003 00:00:50 +0000 (00:00 +0000)]
Update.

* include/time.h: Define CLOCK_IDFIELD_SIZE.
* sysdeps/posix/clock_getres.c: Recognize thread CPU clock IDs.
* sysdeps/unix/clock_gettime.c: Likewise.
* sysdeps/unix/clock_settime.c: Likewise.
* sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Adjust for new
clock id for thread CPU clocks.

21 years agoUpdate.
Ulrich Drepper [Tue, 24 Jun 2003 18:59:03 +0000 (18:59 +0000)]
Update.

2003-06-24  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/fstatfs64.c (__fstatfs64): Add support
for the fstatfs64 syscall.
* sysdeps/unix/sysv/linux/statfs64.c (__statfs64): Add support for
the statfs64 syscall.

* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_STATFS64 appropriately.

* sysdeps/unix/sysv/linux/internal_statvfs.c: Use f_frsize field
from statfs structure if it has been filled in.

* sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_frsize
field.
(struct statfs64): Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/statfs.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.

instead of __libc_cleanup_region_*.

21 years ago(struct statfs): Add f_frsize field. (struct statfs64): Likewise.
Ulrich Drepper [Tue, 24 Jun 2003 17:13:45 +0000 (17:13 +0000)]
(struct statfs): Add f_frsize field. (struct statfs64): Likewise.

21 years ago * sysdeps/alpha/bits/atomic.h: New file.
Richard Henderson [Tue, 24 Jun 2003 17:03:59 +0000 (17:03 +0000)]
    * sysdeps/alpha/bits/atomic.h: New file.

* sysdeps/alpha/bits/atomic.h: New file.

21 years ago * sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET. ...
Richard Henderson [Tue, 24 Jun 2003 16:38:45 +0000 (16:38 +0000)]
    * sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET.         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use         libc_hidden_def.         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto         on them.

* sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use
libc_hidden_def.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto
on them.

21 years ago * sysdeps/alpha/fpu/bits/mathinline.h: Honor __LIBC_INTERNAL_MATH_INL...
Richard Henderson [Tue, 24 Jun 2003 16:33:49 +0000 (16:33 +0000)]
    * sysdeps/alpha/fpu/bits/mathinline.h: Honor         __LIBC_INTERNAL_MATH_INLINES.  Implement __signbitf, __signbit.

* sysdeps/alpha/fpu/bits/mathinline.h: Honor
__LIBC_INTERNAL_MATH_INLINES.  Implement __signbitf, __signbit.

21 years ago * sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue.
Richard Henderson [Tue, 24 Jun 2003 16:29:21 +0000 (16:29 +0000)]
    * sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue.

* sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue.

21 years ago * sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use ...
Richard Henderson [Tue, 24 Jun 2003 16:26:34 +0000 (16:26 +0000)]
    * sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use         the 64-bit syscall name.

2003-06-24  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use
the 64-bit syscall name.

21 years ago*** empty log message ***
Andreas Schwab [Tue, 24 Jun 2003 11:08:28 +0000 (11:08 +0000)]
*** empty log message ***

2003-06-24  Andreas Schwab  <schwab@suse.de>

* sysdeps/m68k/fpu/libm-test-ulps: Update.

21 years agoUpdate.
Andreas Schwab [Tue, 24 Jun 2003 11:06:57 +0000 (11:06 +0000)]
Update.

21 years agoUpdaet.
Andreas Jaeger [Tue, 24 Jun 2003 10:02:52 +0000 (10:02 +0000)]
Updaet.

2003-06-24  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/stat.h (_STAT_VER_LINUX): Avoid
redeclaration with 32-bit code.

21 years ago(_STAT_VER_LINUX): Avoid redeclaration with 32-bit code.
Andreas Jaeger [Tue, 24 Jun 2003 10:02:24 +0000 (10:02 +0000)]
(_STAT_VER_LINUX): Avoid redeclaration with 32-bit code.

21 years agoUpdate.
Ulrich Drepper [Tue, 24 Jun 2003 09:02:16 +0000 (09:02 +0000)]
Update.

2003-05-19  Ed Connell  <ed.connell@sas.com>

* sysdeps/unix/sysv/linux/i386/getcontext.S (getcontext): Retain
floating point mask.
* sysdeps/i386/fpu/fegetenv.c (fegetenv): Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 24 Jun 2003 02:50:16 +0000 (02:50 +0000)]
Update.

* sysdeps/pthread/aio_misc.h: Mark __aio_requests_mutex,
__aio_enqueue_request, __aio_find_req, __aio_find_req_fd,
__aio_free_request, __aio_notify, and __aio_sigqueue as hidden.

* sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to the result
of pthread_cond_wait if there was an error.  Use pthread_cleanup_*
instead of __lbic_cleanup_region_*.

21 years agoUpdate.
Ulrich Drepper [Mon, 23 Jun 2003 17:43:30 +0000 (17:43 +0000)]
Update.

2003-06-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to EINTR
if this is what pthread_cond_wait returned.

21 years agoUpdate.
Ulrich Drepper [Mon, 23 Jun 2003 01:29:14 +0000 (01:29 +0000)]
Update.

* pthreadP.h: Mark __pthread_mutex_unlock_usercnt also hidden.
* pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt): Add
attribute_hidden.

21 years agoUpdate.
Ulrich Drepper [Sun, 22 Jun 2003 23:55:27 +0000 (23:55 +0000)]
Update.

2003-06-22  Ulrich Drepper  <drepper@redhat.com>

* pthreadP.h (__pthread_mutex_init_internal): Mark hidden.
(__pthread_mutex_lock_internal): Likewise.
(__pthread_mutex_unlock_internal): Likewise.
(__pthread_mutex_unlock_usercnt): Declare.
* pthread_mutex_destroy.c: Always fail if used in any way.
* pthread_mutex_init.c: Update comment.
* pthread_mutex_lock.c: If NO_INCR is not defined adjust __nusers.
* pthread_mutex_timedlock.c: Adjust __nusers.
* pthread_mutex_trylock.c: Adjust __nusers.
* pthread_mutex_unlock.c: Old code is in __pthread_mutex_unlock_usercnt
and public interfaces are wrapper with pass additional parameter.
__pthread_mutex_unlock_usercnt does not adjust __nusers if second
parameter zero.
* tst-mutex8.c: New file.
* Makefile (tests): Add tst-mutex8.
* sysdeps/pthread/pthread_cond_timedwait.c: Call
__pthread_mutex_unlock_usercnt.
* sysdeps/pthread/pthread_cond_wait.c: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
* sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Define NO_INCR.
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t):
Add __nusers.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.

* pthread_mutex_lock.c: Don't store THREAD_ID in __owner, use TID.
* pthread_mutex_timedlock.c: Likewise.
* pthread_mutex_trylock.c: Adjust __nusers.
* pthread_mutex_unlock.c: Compare with TID not THREAD_ID.
* tst-mutex9.c: New file.
* Makefile (tests): Add tst-mutex9.
* sysdeps/i386/tls.h: Remove THREAD_ID definition.
* sysdeps/ia64/tls.h: Likewise.
* sysdeps/powerpc/tls.h: Likewise.
* sysdeps/s390/tls.h: Likewise.
* sysdeps/sh/tls.h: Likewise.
* sysdeps/x86_64/tls.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t):
Change type of __owner.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.

21 years ago(__pthread_mutex_init_internal): Mark hidden. (__pthread_mutex_lock_internal): Likewi...
Ulrich Drepper [Sun, 22 Jun 2003 23:36:29 +0000 (23:36 +0000)]
(__pthread_mutex_init_internal): Mark hidden. (__pthread_mutex_lock_internal): Likewise. (__pthread_mutex_unlock_internal): Likewise. (__pthread_mutex_unlock_usercnt): Declare.

21 years ago* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Support cancellation
Andreas Schwab [Fri, 20 Jun 2003 23:16:34 +0000 (23:16 +0000)]
* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Support cancellation

in librt.

21 years agoSupport cancellation in librt.
Andreas Schwab [Fri, 20 Jun 2003 23:15:54 +0000 (23:15 +0000)]
Support cancellation in librt.

21 years ago * sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases. ...
Richard Henderson [Fri, 20 Jun 2003 19:24:17 +0000 (19:24 +0000)]
    * sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases.         * sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New.

* sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New.

2003-06-20  Richard Henderson  <rth@redhat.com>

21 years ago * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect. ...
Richard Henderson [Fri, 20 Jun 2003 16:24:36 +0000 (16:24 +0000)]
    * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect.         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ST_INO_64_BIT)         Unset for alpha.         (__ASSUME_TIMEVAL64): Set for alpha.         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove         adjtimex, osf_sigprocmask, old_adjtimex.         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use INLINE_SYSCALL,         __ASSUME_TIMEVAL64.  Reorg tv64 functions to avoid uninit variable.         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Use __ASSUME_TIMEVAL64.         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Streamline         PIC code sequence.         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.         * sysdeps/unix/sysv/linux/alpha/sigaction.c: New file.         * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: Use INLINE_SYSCALL.         * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.         * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove osf_sigprocmask,         sys_ustat, sys_mknod, adjtimex, old_adjtimex.         * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): Don't         defer to __syscall_name; error for rt_sigaction.         * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Include kernel_stat.h.

2003-06-20  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ST_INO_64_BIT)
Unset for alpha.
(__ASSUME_TIMEVAL64): Set for alpha.
* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
adjtimex, osf_sigprocmask, old_adjtimex.
* sysdeps/unix/sysv/linux/alpha/adjtime.c: Use INLINE_SYSCALL,
__ASSUME_TIMEVAL64.  Reorg tv64 functions to avoid uninit variable.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Use __ASSUME_TIMEVAL64.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Streamline
PIC code sequence.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigaction.c: New file.
* sysdeps/unix/sysv/linux/alpha/sigprocmask.c: Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove osf_sigprocmask,
sys_ustat, sys_mknod, adjtimex, old_adjtimex.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): Don't
defer to __syscall_name; error for rt_sigaction.
* sysdeps/unix/sysv/linux/alpha/xstatconv.c: Include kernel_stat.h.

21 years ago * sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines): Remov...
Richard Henderson [Fri, 20 Jun 2003 16:23:23 +0000 (16:23 +0000)]
    * sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines):         Remove ptw-osf_sigprocmask.

2003-06-20  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines):
Remove ptw-osf_sigprocmask.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Jun 2003 19:53:12 +0000 (19:53 +0000)]
Update.

2003-06-19  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/ia64/sem_post.c: Move to...
* sysdeps/unix/sysv/linux/sem_post.c: ...here.

* sysdeps/unix/sysv/linux/sem_post.c: Move to...
* sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.  Pass nr + 1
instead of nr to lll_futex_wake.  Only set errno and return -1
if err < 0.

* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (lll_futex_wait,
lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On success
return actual return value from the syscall, not 0.

compat_timer_getoverrun.

21 years agoMake clear that futex_wake in sem_post gets passed the new value.
Ulrich Drepper [Thu, 19 Jun 2003 19:49:50 +0000 (19:49 +0000)]
Make clear that futex_wake in sem_post gets passed the new value.

21 years ago* td_thr_event_enable.c (td_thr_event_enable): Use proper type `bool'
Roland McGrath [Thu, 19 Jun 2003 08:38:40 +0000 (08:38 +0000)]
* td_thr_event_enable.c (td_thr_event_enable): Use proper type `bool'

for value written into inferior's `report_events'.

21 years ago2003-06-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 19 Jun 2003 08:38:29 +0000 (08:38 +0000)]
2003-06-19  Roland McGrath  <roland@redhat.com>

* td_thr_event_enable.c (td_thr_event_enable): Use proper type `bool'
for value written into inferior's `report_events'.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Jun 2003 23:52:51 +0000 (23:52 +0000)]
Update.

* malloc/malloc.c (public_mALLINFo): Initialize malloc if it
hasn't happened yet.

Fix completely broken implementation.  The second parameter is of

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Jun 2003 22:25:33 +0000 (22:25 +0000)]
Update.

* tst-cancel4.c (tf_msgsnd): Don't always use 100 as the type,
find a random value.
(tf_msgrcv): Likewise.  Also don't report msgrcv returns if
errno==EIDRM.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Jun 2003 19:34:34 +0000 (19:34 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
Fix completely broken impleentation.  The second parameter is of
type struct ucontext*.

* sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Always
inline.

* sysdeps/i386/i686/dl-hash.h: Don't inline _dl_elf_hash.
* sysdeps/generic/dl-hash.h: Likewise.

* sysdeps/generic/memcmp.c: Remove inline from
memcmp_common_alignment and memcmp_not_common_alignment definition.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Jun 2003 18:10:57 +0000 (18:10 +0000)]
Update.

2003-06-18  Ulrich Drepper  <drepper@redhat.com>

* pthread_mutex_destroy.c (__pthread_mutex_destroy): For
error-checking mutex detect busy mutexes.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Jun 2003 16:28:03 +0000 (16:28 +0000)]
Update.

2003-06-18  Ulrich Drepper  <drepper@redhat.com>

* intl/localealias.c (read_alias_file): Determine whether line is
read incompletely early, before we modify the line.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Jun 2003 06:49:48 +0000 (06:49 +0000)]
Update.

2003-06-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela)
<case R_PPC64_DTPREL64>: Don't segfault on undefined symbols.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Jun 2003 03:38:07 +0000 (03:38 +0000)]
Update.

2003-06-17  Paul Mackerras  <paulus@samba.org>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: New file.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Adjust.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Jun 2003 00:00:50 +0000 (00:00 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_mutex_lock):
Add ax to clobber list.
(lll_mutex_cond_lock): Likewise.
(lll_mutex_unlock): Likewise.
(lll_lock): Likewise.
(lll_unlock): Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Jun 2003 22:40:05 +0000 (22:40 +0000)]
Update.

2003-06-17  Jakub Jelinek  <jakub@redhat.com>

* posix/regcomp.c (build_word_op): Use alnum instead of alpha class.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Jun 2003 22:11:22 +0000 (22:11 +0000)]
Update.

* sysdeps/unix/clock_nanosleep.c (clock_nanosleep): nanosleep
takes care of enabling cancellation.

* sysdeps/pthread/aio_suspend.c (aio_suspend): Make aio_suspend
cancelable.  It's not correct to disable cancellation.  Instead of
a cleanup handler.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Jun 2003 20:46:06 +0000 (20:46 +0000)]
Update.

* sysdeps/unix/sysv/linux/sigtimedwait.c: If SIGCANCEL is defined
and part of the incoming set, create a temporary set without this
signal.
* sysdeps/unix/sysv/linux/sigwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.

returning because seconds==0.  Add __builtin_expect.

21 years agoUpdate..
Ulrich Drepper [Tue, 17 Jun 2003 09:33:56 +0000 (09:33 +0000)]
Update..

2003-06-17  Ulrich Drepper  <drepper@redhat.com>

* tst-cancel4.c: Test open, close, pread, pwrite, fsync, and msync.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Jun 2003 08:58:31 +0000 (08:58 +0000)]
Update.

2003-06-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sleep.c: Use CANCELLATION_P if defined before
returning because seconds==0.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Jun 2003 08:44:32 +0000 (08:44 +0000)]
Update.

2003-06-17  Ulrich Drepper  <drepper@redhat.com>

* tst-cancel4.c: Add tests for the socket and signal functions, pause.
Also test early cancellation before the thread reaches the cancellation
point.

* Makefile: Compile forward.c with exceptions.

* sysdeps/unix/sysv/linux/sleep.c: New file.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 23:07:43 +0000 (23:07 +0000)]
Update.

2003-06-16  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/socket.S: Add unwind information.

* sysdeps/unix/sysv/linux/wait.c (__libc_wait): Fix type of result
variable.

* sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date also

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 19:39:00 +0000 (19:39 +0000)]
Update.

* Makefile: Add CFLAGS definition to compile function wrappers
duplicated from libc with exceptions.
* tst-cancel4.c: Also check cancellation handlers.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 17:18:06 +0000 (17:18 +0000)]
Update.

2003-06-16  Thorsten Kukuk  <kukuk@suse.de>

* include/libc-symbols.h: Add static_link_warning macro.
* grp/initgroups.c: Print linker warning if this function
is called in a static linked binary.
* nss/getXXbyYY.c: Likewise.
* nss/getXXbyYY_r.c: Likewise.
* nss/getXXent.c: Likewise.
* nss/getXXent_r.c: Likewise.
* sysdeps/posix/getaddrinfo.c: Likewise.

2003-06-16  Bruno Haible  <bruno@clisp.org>

* iconvdata/gconv-modules (ISO-8859-15): Add aliases ISO_8859-15,
LATIN-9.
(ISO-8859-16): Add aliases ISO_8859-16:2001, ISO_8859-16.
(IBM1047): Add alias IBM-1047.
(GBK): Add aliases MS936, WINDOWS-936.

2003-06-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if
defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64.
(__xstat64_conv): Change xstat_conv to __xstat_conv.

Reported by Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 08:57:09 +0000 (08:57 +0000)]
Update.

* locale/iso-639.def: Update from current official ISO 639.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 08:03:44 +0000 (08:03 +0000)]
Update.

* math/tgmath.h (__TGMATH_UNARY_IMAG_ONLY): Removed.

2003-06-15  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Correct setting
of MXCSR.
* sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
* sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
Reported by Arnaud Desitter
<arnaud.desitter@geography.oxford.ac.uk>.

* math/tgmath.h (carg): Handle real arguments.
(conj): Likewise.
(cproj): Likewise.
(cimag): Likewise.
(creal): Likewise.

* math/Makefile (CFLAGS-test-tgmath-ret.c): New.
(tests): Add test-tgmath-ret.
* math/test-tgmath-ret.c: New file.

* math/tgmath.h (ilogb): Return always an int.

2003-06-16  Ulrich Drepper  <drepper@redhat.com>

computation so that prelinking works.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 07:39:03 +0000 (07:39 +0000)]
Update.

2003-06-16  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (dl_main): Use l_map_start not l_addr in Phdr
computation so that prelinking wroks.

* inet/netinet/ip6.h (IP6OPT_PAD1, IP6OPT_PADN): Define.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 07:00:05 +0000 (07:00 +0000)]
Update.

* elf/dl-iteratephdr.c (__dl_iterate_phdr): Don't skip dynamic
linker's map.
* elf/rtld.c (dl_main): Initialize l_phdr and l_phnum of of the
dynamic linker's map.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Jun 2003 05:29:24 +0000 (05:29 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/dl-sysdep.h
(DL_SYSINFO_IMPLEMENTATION): Use CFI opcodes.
* sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h
(DL_SYSINFO_IMPLEMENTATION): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Jun 2003 21:22:26 +0000 (21:22 +0000)]
Update.

2003-06-15  Ulrich Drepper  <drepper@redhat.com>

Fix cancellation point handling wrt exception based cleanup.
* io/Makefile: Compile fcntl.c, poll.c, and lockf.c with exceptions.
* misc/Makefile: Compile pselect.c, readv.c, writev.c, and usleep.c
with exceptions.
* posix/Makefile: Compile pread.c, pread64.c, pwrite.c, pwrite64.c,
sleep.c, wait.c, waitid.c, and waitpid.c with exceptions.
* rt/Makefile: Compile aio_suspend.c and clock_nanosleep.c with
exceptions.
* signal/Makefile: Compile sigpause.c, sigsuspend.c, sigtimedwait.c,
sigwait.c, and sigwaitinfo.c with exceptions.
* stdlib/Makefile: Compile system.c with exceptions.
* sysvipc/Makefile: Compile msgrcv.c and msgsnd.c with exceptions.
* termios/Makefile: Compile tcdrain.c with exceptions.
* sysdeps/generic/lockf.c: Add comment explaining the cancellation
situation.
* sysdeps/generic/pselect.c: Likewise.
* sysdeps/posix/sigpause.c: Likewise.
* sysdeps/posix/system.c: Likewise.
* sysdeps/posix/waitid.c: Likewise.
* sysdeps/unix/sysv/linux/sleep.c: Likewise.
* sysdeps/unix/sysv/linux/usleep.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Major rewrite of
INTERNAL_SYSCALL to not use push inside asm statement so that
unwind info is correct around the syscall.
* sysdeps/unix/clock_nanosleep.c: Add cancellation support.
* sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.

21 years ago(LIBC_CANCEL_ASYNC): Also define for librt. (LIBC_CANCEL_RESET): Likewise. Declare...
Ulrich Drepper [Sun, 15 Jun 2003 20:45:32 +0000 (20:45 +0000)]
(LIBC_CANCEL_ASYNC): Also define for librt. (LIBC_CANCEL_RESET): Likewise. Declare __librt_enable_asynccancel and __librt_disable_asynccancel.