external/glibc.git
21 years agoUpdate.
Ulrich Drepper [Mon, 9 Jun 2003 22:49:50 +0000 (22:49 +0000)]
Update.

(__pthread_cond_signal): Use correct futex pointer in
__lll_mutex_lock_wait call.

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S

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

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

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
(__pthread_cond_signal): Some more tweaks to handle cond_lock!=0.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Jun 2003 22:37:53 +0000 (22:37 +0000)]
Update.

* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Use setresuid32
syscall directly if possible.  If __ASSUME_SETRESUID_SYSCALL is
defined drop compatibility code.
* sysdeps/unix/sysv/linux/setegid.c (setegid): Use setresgid32
syscall directly if possible.  If __ASSUME_SETRESUID_SYSCALL is
defined drop compatibility code.
* sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Use
setresuid32 syscall directly if possible.
* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use
setresgid32 syscall directly if possible.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Jun 2003 20:24:04 +0000 (20:24 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Make POSIX
compliant.  Don't change sgid.
* sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Make POSIX
compliant.  Don't change suid.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Jun 2003 16:30:17 +0000 (16:30 +0000)]
Update.

* sysdeps/unix/sysv/linux/s390/sem_wait.c (__new_sem_wait): Make
cancelable.
* sysdeps/unix/sysv/linux/s390/sem_timedwait.c (__sem_timedwait):
Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Jun 2003 08:16:08 +0000 (08:16 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Remove
hand-written CFI generation code.  Since ENTRY/END also initiated
CFI frames this caused two CFI sets to be generated.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Jun 2003 07:09:07 +0000 (07:09 +0000)]
Update.

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

* config.h.in: Add have-forced-unwind.
* configure.in: Add AC_SUBST(libc_cv_forced_unwind).

* sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/alpha/elf/start.S: Likewise.  Remove pointless allocation.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp
entry sequence and explicit relocs.  Add unwind info for sigreturn
and rt_sigreturn.
* configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.
Annotate some parameters.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.
* include/libc-symbols.h (symbol_set_declare): Use arrays
of unspecified size.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Jun 2003 05:28:14 +0000 (05:28 +0000)]
Update.

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

* cleanup_routine.c: New file.
* Versions (libpthread) [GLIBC_2.3.3]: Add __pthread_cleanup_routine.
* sysdeps/pthread/pthread.h: Add support for fully exception-based
cleanup handling.
* Makefile (libpthread-routines): Add cleanup_routine.
Add more CFLAGS variables to compile with exceptions.  Add comments
why which file needs unwind tables.
(tests) [have-forced-unwind==yes]: Add tst-cancelx* and tst-cleanupx*
tests.
* tst-cancelx1.c: New file.
* tst-cancelx2.c: New file.
* tst-cancelx3.c: New file.
* tst-cancelx4.c: New file.
* tst-cancelx5.c: New file.
* tst-cancelx6.c: New file.
* tst-cancelx7.c: New file.
* tst-cancelx8.c: New file.
* tst-cancelx9.c: New file.
* tst-cancelx10.c: New file.
* tst-cancelx11.c: New file.
* tst-cancelx12.c: New file.
* tst-cancelx13.c: New file.
* tst-cancelx14.c: New file.
* tst-cancelx15.c: New file.
* tst-cleanupx0.c: New file.
* tst-cleanupx0.expect: New file.
* tst-cleanupx1.c: New file.
* tst-cleanupx2.c: New file.
* tst-cleanupx3.c: New file.

* tst-cleanup0.c: Make standard compliant.
* tst-cleanup1.c: Likewise.

* sysdeps/unix/sysv/linux/sem_timedwait.c: Add cancellation support.
* sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Likewise.
* sysdeps/i386/tcb-offsets.sym: Add RESULT, CANCELHANDLING, and
CLEANUP_JMP_BUF.
* sysdeps/x86_64/tcb-offsets.sym: Likewise.
* tst-cancel12.c: New file.
* tst-cancel13.c: New file.
* tst-cancel14.c: New file.
* tst-cancel15.c: New file.
* Makefile (tests): Add tst-cancel12, tst-cancel13, tst-cancel14,
and tst-cancel15.

* tst-cancel1.c: Add some comments.

* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Compute relative
timeout correctly.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Jun 2003 23:24:07 +0000 (23:24 +0000)]
Update.

* test-skeleton.c (main): If EXPECTED_STATUS is defined check that
returned status from child matches.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Jun 2003 09:40:26 +0000 (09:40 +0000)]
Update.

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

* Makeconfig (gnulib): Add -lgcc_eh once again.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Jun 2003 00:40:13 +0000 (00:40 +0000)]
Update.

* test-skeleton.c (main): Use TEMP_FAILURE_RETRY with waitpid.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Jun 2003 00:19:38 +0000 (00:19 +0000)]
Update.

21 years agoUpdate.
Ulrich Drepper [Fri, 6 Jun 2003 17:34:54 +0000 (17:34 +0000)]
Update.

* sysdeps/unix/sysv/linux/sleep.c (__sleep): Use nanosleep syscall
directly to avoid cancellation in the regular nanosleep
implementation.

21 years agoUpdate.
Ulrich Drepper [Fri, 6 Jun 2003 09:02:20 +0000 (09:02 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Only allow
%edx for first parameter.  This means no pushl and therefore the
unwind info isn't screwed up.

21 years agoUpdate.
Ulrich Drepper [Fri, 6 Jun 2003 07:53:15 +0000 (07:53 +0000)]
Update.

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

* Makefile (CFLAGS-pthread_cancel.c): Define.

21 years ago(CFLAGS-pthread_cancel.c): Define.
Ulrich Drepper [Fri, 6 Jun 2003 07:51:02 +0000 (07:51 +0000)]
(CFLAGS-pthread_cancel.c): Define.

21 years ago * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace. ...
Richard Henderson [Fri, 6 Jun 2003 05:54:15 +0000 (05:54 +0000)]
    * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.         * sysdeps/alpha/elf/start.S: Likewise.  Remove pointless allocation.         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp         entry sequence and explicit relocs.  Add unwind info for sigreturn         and rt_sigreturn.         * configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state.         * configure: Regenerate.

        * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.
        * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
        * sysdeps/alpha/elf/start.S: Likewise.  Remove pointless allocation.
        * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp
        entry sequence and explicit relocs.  Add unwind info for sigreturn
        and rt_sigreturn.
        * configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state.
        * configure: Regenerate.

21 years ago * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New. ...
Richard Henderson [Fri, 6 Jun 2003 05:52:52 +0000 (05:52 +0000)]
    * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.         Annotate some parameters.         * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New.

        * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.
        Annotate some parameters.
        * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New.

21 years ago * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.
Richard Henderson [Fri, 6 Jun 2003 05:51:53 +0000 (05:51 +0000)]
    * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.

        * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.

21 years ago * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use and...
Richard Henderson [Fri, 6 Jun 2003 05:51:03 +0000 (05:51 +0000)]
    * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use         and require CFI assembler directives.         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.

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

* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use
and require CFI assembler directives.
* sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.

21 years ago * include/libc-symbols.h (symbol_set_declare): Use arrays of unspecif...
Richard Henderson [Fri, 6 Jun 2003 05:43:57 +0000 (05:43 +0000)]
    * include/libc-symbols.h (symbol_set_declare): Use arrays         of unspecified size.

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

        * include/libc-symbols.h (symbol_set_declare): Use arrays
        of unspecified size.

21 years agoUpdate.
Ulrich Drepper [Fri, 6 Jun 2003 02:24:30 +0000 (02:24 +0000)]
Update.

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

* config.make.in (ASFLAGS-config): New.
* Makeconfig (ASFLAGS): Append $(ASFLAGS-config).
* configure.in (libc_cv_as_noexecstack): New check.
(ASFLAGS_config): Substitute.

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

* sysdeps/i386/fpu/bits/mathinline.h (log1p, asinh, acosh, atanh,
hypot, logb): Protect with #ifdef __FAST_MATH__.

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

* sysdeps/i386/fpu/bits/mathinline.h (ldexpf, ldexpl): Protect with
#ifdef __FAST_MATH__.

_POSIX_ prefix.

21 years agoUpdate.
Ulrich Drepper [Thu, 5 Jun 2003 19:31:57 +0000 (19:31 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_rwlock_t):
Change type of __writer element to int.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/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/x86_64/bits/pthreadtypes.h: Likewise.
* sysdeps/i386/tcb-offsets.sym: Replace SELF entry with TID entry.
* sysdeps/x86_64/tcb-offsets.sym: Likewise.
* pthread_rwlock_trywrlock.c: Store TID not self pointer in __writer.
Compare with TID to determine deadlocks.
* sysdeps/pthread/pthread_rwlock_rdlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_timedrdlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_timedwrlock.: Likewise.
* sysdeps/pthread/pthread_rwlock_wrlock.c: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Likewise.
* Makefile (tests): Add tst-rwlock12.
* tst-rwlock12.c: New file.

21 years agoTest for inter-process rwlocks.
Ulrich Drepper [Thu, 5 Jun 2003 19:20:54 +0000 (19:20 +0000)]
Test for inter-process rwlocks.

21 years ago* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait,
Jakub Jelinek [Thu, 5 Jun 2003 08:12:11 +0000 (08:12 +0000)]
* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait,

__lll_timedlock_wait, lll_unlock_wake_cb, __lll_timedwait_tid):
Remove bogus hidden_proto.
* sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c (___lll_lock):
Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevellock.c (___lll_lock,
lll_unlock_wake_cb, ___lll_timedwait_tid): Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevelmutex.c (___lll_mutex_lock,
___lll_mutex_timedlock): Likewise.
2003-06-05  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait,
__lll_timedlock_wait, lll_unlock_wake_cb, __lll_timedwait_tid):
Remove bogus hidden_proto.
* sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c (___lll_lock):
Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevellock.c (___lll_lock,
lll_unlock_wake_cb, ___lll_timedwait_tid): Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevelmutex.c (___lll_mutex_lock,
___lll_mutex_timedlock): Likewise.

21 years agoRegenerated.
Ulrich Drepper [Wed, 4 Jun 2003 21:41:25 +0000 (21:41 +0000)]
Regenerated.

21 years agoUpdate.
Ulrich Drepper [Wed, 4 Jun 2003 19:48:29 +0000 (19:48 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
(__pthread_cond_signal): Add some code to eventually handle
cond_lock!=0.

21 years agoUpdate.
Ulrich Drepper [Wed, 4 Jun 2003 05:12:46 +0000 (05:12 +0000)]
Update.

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

* sysdeps/generic/glob.c [HAVE_D_TYPE] (glob_in_dir): Also allow
DT_LNK entries if GLOB_ONLYDIR is set [PR libc/5043].
* posix/globtest.sh: Adjust for this change.

21 years agoUpdate.
Ulrich Drepper [Tue, 3 Jun 2003 23:07:39 +0000 (23:07 +0000)]
Update.

* sysdeps/unix/sysv/linux/ifaddrs.c (netlink_open): Call getsockname
to get the actual PID value used in the records passed up.
(getifaddrs): Don't initialize nh.pid here.

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

21 years agoUpdate.
Ulrich Drepper [Tue, 3 Jun 2003 05:46:37 +0000 (05:46 +0000)]
Update.

* sysdeps/unix/sysv/linux/ifaddrs.c (netlink_receive): Minor
optimization.

21 years agoUpdate.
Ulrich Drepper [Tue, 3 Jun 2003 03:23:17 +0000 (03:23 +0000)]
Update.

* po/zh_CN.po: Update from translation team.

21 years agoUpdate.
Ulrich Drepper [Mon, 2 Jun 2003 22:44:59 +0000 (22:44 +0000)]
Update.

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

* posix/getconf.c (main): Also recognize names without the
__POSIX_ prefix.

* elf/Makefile (CFLAGS-dl-lookup.c): Define.

21 years agoUpdate.
Ulrich Drepper [Mon, 2 Jun 2003 22:41:06 +0000 (22:41 +0000)]
Update.

2003-06-02  Bernd Schmidt  <bernds@redhat.com>

* sysdeps/i386/fpu/bits/mathinline.h (sqrt, __sqrtl, ldexp,
ldexpf, ldexpl): Only define if __FAST_MATH__.

21 years ago(sqrt, __sqrtl, ldexp, ldexpf, ldexpl): Only define if __FAST_MATH__.
Ulrich Drepper [Mon, 2 Jun 2003 22:39:19 +0000 (22:39 +0000)]
(sqrt, __sqrtl, ldexp, ldexpf, ldexpl): Only define if __FAST_MATH__.

21 years agoReplace hard-coded offsets into struct sigcontext with generated file.
Roland McGrath [Mon, 2 Jun 2003 19:56:35 +0000 (19:56 +0000)]
Replace hard-coded offsets into struct sigcontext with generated file.

* sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: New file.
* sysdeps/unix/sysv/linux/ia64/Makefile
[$(subdir) = stdlib] (gen-as-const-headers): Add it.
* sysdeps/unix/sysv/linux/ia64/ucontext_i.h: Include it instead of
defining SC_* macros here.

21 years ago* sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PID): Remove.
Roland McGrath [Mon, 2 Jun 2003 18:32:20 +0000 (18:32 +0000)]
* sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PID): Remove.

21 years ago* sysdeps/i386/dl-machine.h: Include <sysdep.h>.
Roland McGrath [Mon, 2 Jun 2003 18:20:33 +0000 (18:20 +0000)]
* sysdeps/i386/dl-machine.h: Include <sysdep.h>.

21 years ago2003-06-01 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Mon, 2 Jun 2003 18:20:22 +0000 (18:20 +0000)]
2003-06-01  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/dl-machine.h: Include <sysdep.h>.

21 years agoUpdate.
Ulrich Drepper [Sun, 1 Jun 2003 18:07:34 +0000 (18:07 +0000)]
Update.

* test-skeleton.c (main): Request getopt to not reorder the
command line.

21 years agoUpdate.
Ulrich Drepper [Sun, 1 Jun 2003 08:52:38 +0000 (08:52 +0000)]
Update.

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

* elf/Makefile (CFLAGS-dl-runtime.c): Define.

* wcsmbs/wcpncpy.c (__wcpncpy): Fix broken implementation to match
stpncpy.

21 years agoUpdate.
Ulrich Drepper [Sun, 1 Jun 2003 04:09:55 +0000 (04:09 +0000)]
Update.

2003-05-31  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (SA_NOCLDWAIT): Define.

21 years agoUpdate.
Ulrich Drepper [Sun, 1 Jun 2003 01:32:04 +0000 (01:32 +0000)]
Update.

2003-05-31  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_plt_conflict):
New function.
(elf_machine_rela) <case R_PPC64_JMP_SLOT>: Avoid
RESOLVE_CONFLICT_FIND_MAP.  If RESOLVE_CONFLICT_FIND_MAP is defined,
call elf_machine_plt_conflict instead of elf_machine_fixup_plt.

* sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add
CFI directives.

* csu/Makefile: Fix Makefile warnings regarding Scrt1.o.

21 years agoUpdate.
Ulrich Drepper [Sat, 31 May 2003 23:36:18 +0000 (23:36 +0000)]
Update.

* csu/Makefile: Fix Makefile warnings regarding Scrt1.

* sysdeps/ia64/elf/initfini.c (gmon_initializer): Mark with

21 years agoUpdate.
Ulrich Drepper [Sat, 31 May 2003 19:58:46 +0000 (19:58 +0000)]
Update.

* Makefile (tests): Add tst-sem8 and tst-sem9.
* tst-sem8.c: New file.
* tst-sem9.c: New file.
* sem_open.c: Fix creation of in_use record if the file exists but
no internal record.

21 years agoUpdate.
Ulrich Drepper [Sat, 31 May 2003 07:50:12 +0000 (07:50 +0000)]
Update.

2003-05-31  Ulrich Drepper  <drepper@redhat.com>

* libio/fileops.c (_IO_file_open): Don't mark as inline.

* sysdeps/ia64/elf/initfini.c ((gmon_initializer): Mark with
attribute used.

21 years agoUpdate.
Ulrich Drepper [Sat, 31 May 2003 06:30:37 +0000 (06:30 +0000)]
Update.

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

* scripts/config.guess: Update from master copy.
* scripts/config.sub: Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 30 May 2003 17:50:29 +0000 (17:50 +0000)]
Update.

* tst-rwlock6.c (do_test): Use correct format specifier.

* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S
(__lll_mutex_lock_wait): Replace one memory operation with one
register operation.
* sysdeps/unix/sysv/linux/x86_64/lowlevelmutex.S
(__lll_mutex_lock_wait): Likewise.

21 years ago(__lll_mutex_lock_wait): Replace one memory operation with one register operation.
Ulrich Drepper [Fri, 30 May 2003 17:49:37 +0000 (17:49 +0000)]
(__lll_mutex_lock_wait): Replace one memory operation with one register operation.

21 years agoUpdate.
Andreas Jaeger [Fri, 30 May 2003 17:42:40 +0000 (17:42 +0000)]
Update.

2003-05-30  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/mips/mips64/bsd-_setjmp.S: Include <sys/asm.h> for
SETUP_GP64 and friends.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register
names in internal_syscall{6,7}.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix
number of syscall arguments.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.

21 years ago2003-05-30 Guido Guenther <agx@sigxcpu.org>
Andreas Jaeger [Fri, 30 May 2003 17:41:46 +0000 (17:41 +0000)]
2003-05-30  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/mips/mips64/bsd-_setjmp.S: Include <sys/asm.h> for
SETUP_GP64 and friends.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register
names in internal_syscall{6,7}.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix
number of syscall arguments.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 30 May 2003 16:36:18 +0000 (16:36 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/ia64/lowlevellock.h
(__lll_mutex_cond_lock): Add one to value parameter of
__lll_lock_wait to reflect reality in the futex syscall.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
(lll_mutex_cond_lock): Likewise.

21 years ago(lll_mutex_cond_lock): Add one to value parameter of __lll_lock_wait to reflect reali...
Ulrich Drepper [Fri, 30 May 2003 16:32:35 +0000 (16:32 +0000)]
(lll_mutex_cond_lock): Add one to value parameter of __lll_lock_wait to reflect reality in the futex syscall.

21 years agoUpdate.
Andreas Jaeger [Fri, 30 May 2003 16:12:18 +0000 (16:12 +0000)]
Update.

2003-05-30  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
Add CFI directives.

* sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Add CFI
directives.

* sysdeps/generic/sysdep.h: Add CFI_* macros for C files.

* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
Add CFI directives.

21 years ago(SAVESTK_0): Add CFI directives.
Andreas Jaeger [Fri, 30 May 2003 16:09:39 +0000 (16:09 +0000)]
(SAVESTK_0): Add CFI directives.

(SAVESTK_3): Likewise.
(SAVESTK_5): Likewise.
(RESTSTK_0): Likewise.
(RESTSTK_3): Likewise.
(RESTSTK_5): Likewise.
2003-05-30  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h
(SAVESTK_0): Add CFI directives.
(SAVESTK_3): Likewise.
(SAVESTK_5): Likewise.
(RESTSTK_0): Likewise.
(RESTSTK_3): Likewise.
(RESTSTK_5): Likewise.

21 years ago* sysdeps/unix/sysv/linux/s390/lowlevellock.h (__lll_mutex_cond_lock):
Jakub Jelinek [Fri, 30 May 2003 13:46:13 +0000 (13:46 +0000)]
* sysdeps/unix/sysv/linux/s390/lowlevellock.h (__lll_mutex_cond_lock):

New function.
(lll_mutex_cond_lock): Define.

21 years ago(__lll_mutex_cond_lock): New function. (lll_mutex_cond_lock): Define.
Jakub Jelinek [Fri, 30 May 2003 13:46:04 +0000 (13:46 +0000)]
(__lll_mutex_cond_lock): New function. (lll_mutex_cond_lock): Define.

21 years agoUpdate.
Ulrich Drepper [Fri, 30 May 2003 06:03:38 +0000 (06:03 +0000)]
Update.

* Makefile (tests): Add tst-signal6.
* tst-signal6.c: New file.

21 years agoUpdate.
Ulrich Drepper [Fri, 30 May 2003 04:53:50 +0000 (04:53 +0000)]
Update.

* sysdeps/unix/sysv/linux/s390/lowlevellock.h
(__lll_mutex_unlock_force): New function
(lll_mutex_unlock_force): Use __lll_mutex_unlock_force.

21 years agoUpdate.
Ulrich Drepper [Fri, 30 May 2003 03:47:32 +0000 (03:47 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/lowlevellock.h
(__lll_mutex_unlock_force): New function.
(lll_mutex_unlock_force): Use __lll_mutex_unlock_force.

* tst-rwlock7.c (do_test): Use correct format specifier.

21 years agoUpdate.
Ulrich Drepper [Fri, 30 May 2003 03:20:29 +0000 (03:20 +0000)]
Update.

2003-05-30  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/powerpc32/elf/start.S: Make code compilable with
SHARED.

21 years agoUpdate.
Ulrich Drepper [Fri, 30 May 2003 03:04:29 +0000 (03:04 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
Find break parameter in correct asm argument.

2003-05-30  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
(pthread_cond_t): Add __mutex.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (FUTEX_REQUEUE,
lll_futex_requeue, lll_mutex_unlock_force): Define.

21 years agoUpdate.
Ulrich Drepper [Thu, 29 May 2003 05:38:43 +0000 (05:38 +0000)]
Update.

2003-05-28  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/tcb-offsets.sym: Define MUTEX_FUTEX.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h (pthread_cond_t):
        Add __mutex field.
* sysdeps/unix/sysv/linux/sh/lowlevellock.h (SYSCALL_WITH_INST_PAD):
Define.
(lll_futex_wait, lll_futex_wake): Define.
* sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: New file.
* sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Try using
FUTEX_REQUEUE instead of FUTEX_WAIT.
* sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Remember
mutex which was used in condvar structure.  Call
__pthread_mutex_cond_lock instead of __pthread_mutex_lock_internal.
* sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.

* sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Don't
include tcb-offsets.h.  Read wakeup value in locked region.
Use the value of gbr register as THREAD_ID.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.

* sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove futex related
macros.

21 years agoUpdate.
Ulrich Drepper [Thu, 29 May 2003 05:28:16 +0000 (05:28 +0000)]
Update.

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

* sysdeps/pthread/pthread_cond_broadcast.c
(__pthread_cond_broadcast): Fix typo: MAX_INT -> INT_MAX.

21 years agoUpdate.
Ulrich Drepper [Wed, 28 May 2003 21:08:58 +0000 (21:08 +0000)]
Update.

* sysdeps/x86_64/elf/start.S: Likewise.

21 years ago* Makerules: Always use -MP together with -MD.
Roland McGrath [Wed, 28 May 2003 21:05:36 +0000 (21:05 +0000)]
* Makerules: Always use -MP together with -MD.

(sed-remove-dotot): Substitute $(..) also at start of line.
($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES.
Generated defines with a single compiler call.
Use $(sed-remove-dotdot).
* mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead
of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx).
* sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h):
Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx).
* sysdeps/unix/sysv/linux/mips/Makefile
($(objpfx)syscall-%.h): Likewise.

21 years ago2003-05-11 Andreas Schwab <schwab@suse.de>
Roland McGrath [Wed, 28 May 2003 21:05:12 +0000 (21:05 +0000)]
2003-05-11  Andreas Schwab  <schwab@suse.de>

* Makerules: Always use -MP together with -MD.
(sed-remove-dotot): Substitute $(..) also at start of line.
($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES.
Generated defines with a single compiler call.
Use $(sed-remove-dotdot).
* mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead
of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx).
* sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h):
Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx).
* sysdeps/unix/sysv/linux/mips/Makefile
($(objpfx)syscall-%.h): Likewise.

21 years agoMake code compilable with SHARED.
Ulrich Drepper [Wed, 28 May 2003 21:04:20 +0000 (21:04 +0000)]
Make code compilable with SHARED.

21 years ago* malloc/malloc.h [! __GNUC__] (__const): Define if undefined.
Roland McGrath [Wed, 28 May 2003 21:01:52 +0000 (21:01 +0000)]
* malloc/malloc.h [! __GNUC__] (__const): Define if undefined.

21 years ago* soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0.
Roland McGrath [Wed, 28 May 2003 20:52:43 +0000 (20:52 +0000)]
* soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0.

21 years ago* sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to
Roland McGrath [Wed, 28 May 2003 20:45:44 +0000 (20:45 +0000)]
* sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to

rt_sigprocmask system call.
* sysdeps/unix/sysv/linux/ia64/ucontext_i.h (SC_MASK): Fix value.
From Peter A. Buhr <pabuhr@plg2.math.uwaterloo.ca>.

21 years ago2003-05-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 28 May 2003 20:45:25 +0000 (20:45 +0000)]
2003-05-28  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to
rt_sigprocmask system call.
* sysdeps/unix/sysv/linux/ia64/ucontext_i.h (SC_MASK): Fix value.
From Peter A. Buhr <pabuhr@plg2.math.uwaterloo.ca>.

21 years agoUpdate.
Ulrich Drepper [Wed, 28 May 2003 19:56:24 +0000 (19:56 +0000)]
Update.

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

* include/libc-symbols.h: Define hidden attribute for real also if
LIBC_NONSHARED is defined.  Patch by Jakub Jelinek.

* csu/Makefile: Add rules to build Scrt1.o.
* sysdeps/i386/elf/start.S: Make code compilable with SHARED.

21 years agoUpdate.
Ulrich Drepper [Tue, 27 May 2003 08:03:32 +0000 (08:03 +0000)]
Update.

2003-05-27  Jakub Jelinek  <jakub@redhat.com>

* stdio-common/vfprintf.c (process_arg, process_string_arg): Use
pa_int/pa_u_int instead of pa_short_int, pa_u_short_int and pa_char.
* stdio-common/printf-parse.h (union printf_arg): Remove pa_char,
pa_short_int, pa_u_short_int and pa_float.

2003-05-26  Jakub Jelinek  <jakub@redhat.com>

* libio/strops.c (_IO_str_init_static): Change into a wrapper around
_IO_str_init_static_internal.
(_IO_str_init_static_internal): Moved from _IO_str_init_static,
change size argument to _IO_size_t, don't limit sprintf to 64M.
(_IO_str_init_readonly): Call _IO_str_init_static_internal.
* libio/wstrops.c (_IO_wstr_init_static): Change size argument to
_IO_size_t, don't limit swprintf to 256M.
(_IO_wstr_init_readonly): Remove.
* libio/libioP.h (_IO_str_init_static_internal, _IO_wstr_init_static):
Adjust prototypes.
(_IO_wstr_init_readonly): Remove prototype.
* libio/iovsprintf.c (_IO_vsprintf): Use
_IO_str_init_static_internal instead of INTUSE(_IO_str_init_static).
* libio/iovsscanf.c (_IO_vsscanf): Likewise.
* libio/memstream.c (open_memstream): Likewise.
* libio/obprintf.c (_IO_obstack_vfprintf): Likewise.
* libio/vasprintf.c (_IO_vasprintf): Likewise.
* libio/vsnprintf.c (_IO_vsnprintf): Likewise.
* stdio-common/tst-sprintf.c (main): Add new test.

21 years agoUpdate.
Ulrich Drepper [Tue, 27 May 2003 04:24:31 +0000 (04:24 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Fix
typo in register name.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Use parameters
correctly.  Actually use requeue.  Little optimization.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Store
mutex address early.  Handle cancellation state as 32-bit value.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
Remove unnecessary label.

21 years agoFix typo in register name.
Ulrich Drepper [Tue, 27 May 2003 04:19:58 +0000 (04:19 +0000)]
Fix typo in register name.

21 years agoFix ChangeLog typos.
Jakub Jelinek [Mon, 26 May 2003 14:13:58 +0000 (14:13 +0000)]
Fix ChangeLog typos.

* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_cond_t):
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 26 May 2003 08:56:39 +0000 (08:56 +0000)]
Update.

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

* stdio-common/vfprintf.c (vfprintf): Be bug-compatible with some
other implementation in respect of multiple uses of parameter with
different types.

21 years agoUpdate.
Ulrich Drepper [Mon, 26 May 2003 02:47:39 +0000 (02:47 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_FUTEX_REQUEUE for >= 2.5.70.

* math/test-fenv.c (feexcp_nomask_test): Fix comment.

21 years agoRemove __pthread_enable_asynccancel_2.
Ulrich Drepper [Mon, 26 May 2003 02:09:08 +0000 (02:09 +0000)]
Remove __pthread_enable_asynccancel_2.

21 years agoUpdate.
Andreas Jaeger [Thu, 22 May 2003 04:07:17 +0000 (04:07 +0000)]
Update.

2003-05-22  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Add CFI
directives.
* sysdeps/unix/sysv/linux/x86_64/time.S: Likewise.
* sysdeps/x86_64/strtok.S: Likewise.

21 years ago2003-05-20 Guido Guenther <agx@sigxcpu.org>
Andreas Jaeger [Thu, 22 May 2003 02:26:29 +0000 (02:26 +0000)]
2003-05-20  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL
to -60 and define SI_TKILL.
2003-05-20  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL
to -60 and define SI_TKILL.

21 years agoUpdate.
Ulrich Drepper [Thu, 22 May 2003 02:09:54 +0000 (02:09 +0000)]
Update.

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

* math/test-fenv.c (feexcp_nomask_test): Fix comment
(feexcp_mask_test): Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 22 May 2003 00:41:32 +0000 (00:41 +0000)]
Update.

* locale/programs/locale.c (main): Fix typo in last patch.

21 years agoUpdate.
Ulrich Drepper [Wed, 21 May 2003 19:38:39 +0000 (19:38 +0000)]
Update.

2003-05-21  Ulrich Drepper  <drepper@redhat.com>

* csu/elf-init.c: Mark __preinit_array_start, __preinit_array_end,
__init_array_start, __init_array_end, __fini_array_start, and
__fini_array_end as hidden.

21 years agoUpdate.
Ulrich Drepper [Wed, 21 May 2003 19:31:11 +0000 (19:31 +0000)]
Update.

2003-05-21  Petter Reinholdtsen  <pere@hungry.com>

* locale/programs/locale.c (main): Report an error if setlocale()
fails [PR libc/2254].

2003-05-21  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/s390/system.c: New file.

2003-05-21  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_0,
LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5,
LOADARGS_6): Don't error if syscall argument is a string literal.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_0,
LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5,
LOADARGS_6): Likewise.

21 years ago(LOADARGS_0, LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6...
Ulrich Drepper [Wed, 21 May 2003 19:17:35 +0000 (19:17 +0000)]
(LOADARGS_0, LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6): Don't error if syscall argument is a string literal.

21 years ago* sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc,
Andreas Jaeger [Wed, 21 May 2003 09:25:53 +0000 (09:25 +0000)]
* sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc,

cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register,
cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define.
* sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives.
(ENTRY): Likewise.
(END): Likewise.

* configure.in: Test for asm cfi directives.

* config.h.in: Add HAVE_ASM_CFI_DIRECTIVES.
2003-05-21  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc,
cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register,
cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define.

* sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives.
(ENTRY): Likewise.
(END): Likewise.

* configure.in: Test for asm cfi directives.

* config.h.in: Add HAVE_ASM_CFI_DIRECTIVES.

21 years agoUpdate.Update.
Ulrich Drepper [Tue, 20 May 2003 22:36:38 +0000 (22:36 +0000)]
Update.Update.

2003-05-20  Jakub Jelinek  <jakub@redhat.com>

* elf/dynamic-link.h (elf_get_dynamic_info): Add temp argument.
If temp != NULL, copy dynamic entries which need relocation to temp
array before relocating.
(DL_RO_DYN_TEMP_CNT): Define.
* elf/dl-load.c (_dl_map_object_from_fd): Adjust caller.
* elf/rtld.c (_dl_start): Likewise.
(dl_main): Likewise.  Add dyn_temp static variable.

21 years agoUpdate.
Ulrich Drepper [Sat, 17 May 2003 20:53:32 +0000 (20:53 +0000)]
Update.

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

* sem_open.c: Fix one endless loop.  Implement correct semantics
wrt opening the same semaphore more then once.
* sem_close.c: Adjust for sem_open change.
* semaphoreP.h: Include <semaphore.h>.  Define struct inuse_sem.
Declare __sem_mappings, __sem_mappings_lock, __sem_search.
* Makefile (tests): Add tst-sem7.
* tst-sem7.c: New file.

21 years agoFix one endless loop. Implement correct semantics wrt opening the same semaphore...
Ulrich Drepper [Sat, 17 May 2003 20:49:02 +0000 (20:49 +0000)]
Fix one endless loop.  Implement correct semantics wrt opening the same semaphore more then once.

21 years agoUpdate.
Andreas Jaeger [Sat, 17 May 2003 17:55:27 +0000 (17:55 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch.

21 years agoUpdate.
Andreas Jaeger [Sat, 17 May 2003 17:37:29 +0000 (17:37 +0000)]
Update.

2003-05-17  Andreas Jaeger  <aj@suse.de>

* rt/tst-clock_nanosleep.c: Include <time.h> for clock_nanosleep.

21 years agoUpdate.
Ulrich Drepper [Sat, 17 May 2003 06:07:38 +0000 (06:07 +0000)]
Update.

* rt/Makefile (tests): Add tst-clock_nanosleep.
* rt/tst-clock_nanosleep.c: New file.
* posix/Makefile (tests): Add tst-nanosleep.
* posix/tst-nanosleep.c: New file.

21 years agoUpdate.
Ulrich Drepper [Sat, 17 May 2003 02:53:39 +0000 (02:53 +0000)]
Update.

* sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition.

21 years ago(CPUCLOCK_P): Fix definition.
Ulrich Drepper [Sat, 17 May 2003 02:52:07 +0000 (02:52 +0000)]
(CPUCLOCK_P): Fix definition.

21 years ago* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix
Roland McGrath [Sat, 17 May 2003 00:59:16 +0000 (00:59 +0000)]
* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix

uninitialized variable braino.

21 years ago2003-05-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 17 May 2003 00:59:09 +0000 (00:59 +0000)]
2003-05-16  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix
uninitialized variable braino.

21 years agoUpdate.
Ulrich Drepper [Sat, 17 May 2003 00:38:41 +0000 (00:38 +0000)]
Update.

* include/features.h (__USE_XOPEN2K): Define also for
_POSIX_C_SOURCE>=200112L.

21 years agoUpdate.
Ulrich Drepper [Fri, 16 May 2003 22:09:32 +0000 (22:09 +0000)]
Update.

* pthread_join.c (pthread_join): Set tid field of the joined
thread to -1.  This isn't necessary but helps to recognize some
error conditions with almost no cost.

* allocatestack.c (FREE_P): Also negative values indicate an
unused stack.

21 years agoUpdate.
Ulrich Drepper [Fri, 16 May 2003 19:56:47 +0000 (19:56 +0000)]
Update.

* sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Fold
SI_TKILL code into SI_USER.
* sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise.