Andreas Schwab [Mon, 31 Mar 2003 16:01:09 +0000 (16:01 +0000)]
(atomic_increment_and_test): Define. (atomic_decrement_and_test): Fix test.
Roland McGrath [Sun, 30 Mar 2003 23:36:53 +0000 (23:36 +0000)]
* sysdeps/sparc/sparc32/bits/atomic.h: New file.
* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: New file.
* sysdeps/sparc/sparc64/bits/atomic.h: New file.
* sysdeps/sparc/sparc32/atomicity.h: Removed.
* sysdeps/sparc/sparc32/sparcv9/atomicity.h: Removed.
* sysdeps/sparc/sparc64/atomicity.h: Removed.
Roland McGrath [Sun, 30 Mar 2003 22:17:05 +0000 (22:17 +0000)]
* scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone.
Roland McGrath [Sun, 30 Mar 2003 21:55:55 +0000 (21:55 +0000)]
* intl/po2test.sed: Anchor substitution regexps to fix last change.
Roland McGrath [Sun, 30 Mar 2003 21:55:45 +0000 (21:55 +0000)]
2003-03-30 Roland McGrath <roland@redhat.com>
* intl/po2test.sed: Anchor substitution regexps to fix last change.
Ulrich Drepper [Sun, 30 Mar 2003 19:46:44 +0000 (19:46 +0000)]
Update.
2003-03-30 Ulrich Drepper <drepper@redhat.com>
* descr.h (struct pthread): Move most often used elements to the front.
Ulrich Drepper [Sun, 30 Mar 2003 19:45:57 +0000 (19:45 +0000)]
(struct pthread): Move most often used elements to the front.
Roland McGrath [Sat, 29 Mar 2003 21:01:08 +0000 (21:01 +0000)]
2003-03-29 Paolo Bonzini <bonzini@gnu.org>
* intl/po2test.sed: Unify the transformations for msgid and msgstr
and remove a useless s/// command.
Roland McGrath [Sat, 29 Mar 2003 21:00:58 +0000 (21:00 +0000)]
2003-03-29 Paolo Bonzini <bonzini@gnu.org>
* intl/po2test.sed: Unify the transformations for msgid and msgstr
and remove a useless s/// command.
Ulrich Drepper [Sat, 29 Mar 2003 19:20:17 +0000 (19:20 +0000)]
Update.
2003-03-27 David Mosberger <davidm@hpl.hp.com>
* sysdeps/ia64/dl-machine.h (RTLD_START): Wrap ".save rp, r0"
directive into empty .prologue region to ensure that call-chain
is terminated even for the first instruction.
* sysdeps/ia64/elf/start.S (_start): Use ".save rp, r0" idiom
to terminate call-chain right from the get-go.
* sysdeps/unix/sysv/linux/ia64/fork.S (fork): Remove unnecessary
stop bit between compare & branch.
Ulrich Drepper [Sat, 29 Mar 2003 19:05:56 +0000 (19:05 +0000)]
Update.
* stdlib/strtod.c (INTERNAL): Recognize first digit after decimal
point correctly [PR libc/4993].
Ulrich Drepper [Sat, 29 Mar 2003 09:24:03 +0000 (09:24 +0000)]
Update.
2003-03-29 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid
netlink_open calls if netlink is known to not be available.
Ulrich Drepper [Sat, 29 Mar 2003 08:30:34 +0000 (08:30 +0000)]
(libpthread-routines): Add pthread_atfork. (libpthread-static-only-routines): Add pthread_atfork.
Alexandre Oliva [Sat, 29 Mar 2003 08:15:29 +0000 (08:15 +0000)]
* configure.in: Add mips64* support. * configure: Rebuilt. * sysdeps/mips/bits/endian.h: Make it bi-endian. * sysdeps/mips/mipsel/bits/endian.h: Removed. * sysdeps/mips/mips64/n32/el/bits/endian.h: Removed. * sysdeps/mips/mips64/n64/el/bits/endian.h: Removed. * sysdeps/mips/mips32/Makefile (CC): Add -mabi=32. * sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32. * sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64. * sysdeps/mips/Implies: Moved wordsize-32 to... * sysdeps/mips/mips32/Implies: New file. * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO, ret_NOERRNO): New. (ret, PSEUDO_END): Moved past END. (PSEUDO): Moved to... * sysdeps/unix/mips/mips32/sysdep.h: New file. * sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO. * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/mips/sysdep.h: Move to... * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file. * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file.
* configure.in: Add mips64* support.
* configure: Rebuilt.
* sysdeps/mips/bits/endian.h: Make it bi-endian.
* sysdeps/mips/mipsel/bits/endian.h: Removed.
* sysdeps/mips/mips64/n32/el/bits/endian.h: Removed.
* sysdeps/mips/mips64/n64/el/bits/endian.h: Removed.
* sysdeps/mips/mips32/Makefile (CC): Add -mabi=32.
* sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32.
* sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64.
* sysdeps/mips/Implies: Moved wordsize-32 to...
* sysdeps/mips/mips32/Implies: New file.
* sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO,
ret_NOERRNO): New.
(ret, PSEUDO_END): Moved past END.
(PSEUDO): Moved to...
* sysdeps/unix/mips/mips32/sysdep.h: New file.
* sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO.
* sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sysdep.h: Move to...
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file.
Alexandre Oliva [Sat, 29 Mar 2003 08:01:57 +0000 (08:01 +0000)]
* sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Re-introduce ENTRY.
2003-03-29 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/sysv/linux/mips/clone.S (__thread_start):
Re-introduce ENTRY.
Ulrich Drepper [Sat, 29 Mar 2003 07:26:59 +0000 (07:26 +0000)]
Update.
2003-03-28 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/ifaddrs.c: New file.
* inet/test-ifaddrs.c: Allow AF_PACKET.
* sysdeps/unix/sysv/linux/kernel-features.h: Add
__ASSUME_NETLINK_SUPPORT.
Ulrich Drepper [Sat, 29 Mar 2003 06:51:48 +0000 (06:51 +0000)]
Update.
2003-03-28 Ulrich Drepper <drepper@redhat.com>
* elf/vismain.c (do_test): Comment out tests which fail in the moment.
Ulrich Drepper [Sat, 29 Mar 2003 06:49:46 +0000 (06:49 +0000)]
(do_test): Comment out tests which fail in the moment.
Roland McGrath [Sat, 29 Mar 2003 03:46:37 +0000 (03:46 +0000)]
* elf/vismod.h (getvarlocal1): Return const char **.
(getvarinmod1): Likewise.
(getvaritcpt1): Likewise.
(getvarlocal2): Likewise.
(getvarinmod2): Likewise.
(getvaritcpt2): Likewise.
(getvaritcpt3): Likewise.
* elf/vismain.c (do_test): Adjusted.
* elf/vismod1.c (getvarlocal1): Return address.
(getvarinmod1): Likewise.
(getvaritcpt1): Likewise.
* elf/vismod2.c (getvarlocal2): Likewise.
(getvarinmod2): Likewise.
(getvaritcpt2): Likewise.
* elf/vismod3.c (getvaritcpt3): Likewise.
* elf/vismain.c (do_test): Print both addresses when they don't match.
Roland McGrath [Sat, 29 Mar 2003 03:46:03 +0000 (03:46 +0000)]
2003-03-26 H.J. Lu <hjl@gnu.org>
* elf/vismod.h (getvarlocal1): Return const char **.
(getvarinmod1): Likewise.
(getvaritcpt1): Likewise.
(getvarlocal2): Likewise.
(getvarinmod2): Likewise.
(getvaritcpt2): Likewise.
(getvaritcpt3): Likewise.
* elf/vismain.c (do_test): Adjusted.
* elf/vismod1.c (getvarlocal1): Return address.
(getvarinmod1): Likewise.
(getvaritcpt1): Likewise.
* elf/vismod2.c (getvarlocal2): Likewise.
(getvarinmod2): Likewise.
(getvaritcpt2): Likewise.
* elf/vismod3.c (getvaritcpt3): Likewise.
Ulrich Drepper [Sat, 29 Mar 2003 01:24:20 +0000 (01:24 +0000)]
Update.
2003-03-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
Return old value. Make asm output reg constraint earlyclobber.
Renamed from...
(__arch_compare_and_exchange_8_acq): ... this.
(__arch_compare_and_exchange_val_16_acq):
Return old value. Make asm output reg constraint earlyclobber.
Renamed from...
(__arch_compare_and_exchange_16_acq): ... this.
(__arch_compare_and_exchange_val_32_acq):
Return old value. Make asm output reg constraint earlyclobber.
Renamed from...
(__arch_compare_and_exchange_32_acq): ... this.
(__arch_compare_and_exchange_val_64_acq):
Renamed from...
(__arch_compare_and_exchange_64_acq): ... this.
(atomic_exchange_and_add): Use local variables and
__arch_compare_and_exchange_val_64_acq.
(atomic_add): Likewise.
(atomic_add_negative, atomic_add_zero): Use local variables.
* Makefile: Remove libmd5crypt goal.
Ulrich Drepper [Sat, 29 Mar 2003 01:06:39 +0000 (01:06 +0000)]
Include nptl/descr.h after the definition of TLS_DTV_AT_TP. (INSTALL_DTV): Add parens. (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Use passed descr instead of THREAD_SELF.
Roland McGrath [Fri, 28 Mar 2003 22:25:57 +0000 (22:25 +0000)]
* scripts/abilist.awk: If given -v filename_regexp and/or -v
libname_regexp when parsing names, then produce output only
for those matching the given regexps. In combine mode, save all
stanzas for a final sorting by stanza header at the end.
Emit a blank line between stanzas.
Roland McGrath [Fri, 28 Mar 2003 11:41:52 +0000 (11:41 +0000)]
* scripts/abilist.awk: When given -v combine=1, do parse_names and
emit a single output stream with lib name in stanza header lines.
* scripts/abilist.awk: Emit A for all *ABS* regardless of type.
Roland McGrath [Fri, 28 Mar 2003 07:17:12 +0000 (07:17 +0000)]
* sysdeps/powerpc/bits/atomic.h [! __powerpc64__]
(__arch_atomic_decrement_if_positive_64): Fix bogus definition.
Roland McGrath [Fri, 28 Mar 2003 07:17:02 +0000 (07:17 +0000)]
2003-03-27 Roland McGrath <roland@redhat.com>
* sysdeps/powerpc/bits/atomic.h [! __powerpc64__]
(__arch_atomic_decrement_if_positive_64): Fix bogus definition.
Alexandre Oliva [Fri, 28 Mar 2003 07:02:35 +0000 (07:02 +0000)]
* sysdeps/unix/mips/sysdep.S: Include sys/asm.h.
* sysdeps/unix/mips/sysdep.S: Include sys/asm.h.
Ulrich Drepper [Fri, 28 Mar 2003 06:53:54 +0000 (06:53 +0000)]
Bump to 0.32.
Ulrich Drepper [Fri, 28 Mar 2003 06:27:21 +0000 (06:27 +0000)]
Update.
* sysdeps/unix/sysv/linux/kernel-posix-timers.h: Don't declare
__timer_helper_thread. Declare __start_helper_thread, __helper_once,
and __helper_tid.
(struct timer): Remove th and bar field.
* sysdeps/unix/sysv/linux/timer_create.c (timer_create): Remove
debugging code. Create only one helper thread.
* sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Don't kill
helper thread.
* sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
Renamed. Define statically. Use thread info from siginfo.
(__helper_once): New variable.
(__helper_tid): New variable.
(__reset_helper_control): New function.
(__start_helper_thread): New function.
Ulrich Drepper [Fri, 28 Mar 2003 06:22:13 +0000 (06:22 +0000)]
Don't declare __timer_helper_thread. Declare __start_helper_thread, __helper_once, and __helper_tid. (struct timer): Remove th and bar field.
Alexandre Oliva [Fri, 28 Mar 2003 06:11:03 +0000 (06:11 +0000)]
* sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
2003-03-28 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
Ulrich Drepper [Fri, 28 Mar 2003 01:16:08 +0000 (01:16 +0000)]
Update.
2003-03-27 Ulrich Drepper <drepper@redhat.com>
* Makefile: Remove libmd5script goal.
Ulrich Drepper [Fri, 28 Mar 2003 01:13:00 +0000 (01:13 +0000)]
Remove libmd5script goal.
Roland McGrath [Fri, 28 Mar 2003 00:31:59 +0000 (00:31 +0000)]
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Restore
special handling of relocations against local symbols.
Roland McGrath [Fri, 28 Mar 2003 00:31:50 +0000 (00:31 +0000)]
2003-03-25 Jakub Jelinek <jakub@redhat.com>
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Restore
special handling of relocations against local symbols.
Ulrich Drepper [Thu, 27 Mar 2003 23:57:15 +0000 (23:57 +0000)]
(distribute): Add missing line continuation.
Ulrich Drepper [Thu, 27 Mar 2003 23:50:55 +0000 (23:50 +0000)]
Update.
2003-03-27 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/bits/atomic.h
(__arch_compare_and_exchange_bool_32_acq): Move to [!__powerpc64__].
[__powerpc64__] (__arch_compare_and_exchange_bool_32_acq):
Define PPC64 specific version.
[__powerpc64__] (__arch_compare_and_exchange_bool_64_acq):
Change (mem) constraint to "b".
[__powerpc64__] (__arch_atomic_exchange_and add_64):
Replace addi with add. Change (value) contraint to "r".
Change (mem) constraint to "b".
[__powerpc64__] (__arch_atomic_decrement_if_positive_64): New macro.
(__arch_atomic_exchange_32): Change (mem) constraint to "b".
(__arch_atomic_exchange_and_add_32): Change (mem) constraint to "b".
(__arch_atomic_decrement_if_positive_32): New macro.
(atomic_decrement_if_positive): Use __arch* macros.
Ulrich Drepper [Thu, 27 Mar 2003 23:30:39 +0000 (23:30 +0000)]
Update.
2003-03-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ia64/fpu/libm-test-ulps: Update.
Roland McGrath [Thu, 27 Mar 2003 22:48:58 +0000 (22:48 +0000)]
* scripts/rpm2dynsym.sh: New file.
* Makefile (distribute): Add it.
Roland McGrath [Thu, 27 Mar 2003 22:48:49 +0000 (22:48 +0000)]
2003-03-27 Roland McGrath <roland@redhat.com>
* scripts/rpm2dynsym.sh: New file.
* Makefile (distribute): Add it.
Ulrich Drepper [Thu, 27 Mar 2003 21:19:02 +0000 (21:19 +0000)]
Bump to 0.31.
Ulrich Drepper [Thu, 27 Mar 2003 21:14:41 +0000 (21:14 +0000)]
Update.
* pthread_create.c (start_thread): Don't use setjmp inside
__builtin_expect to work around gcc bug.
Ulrich Drepper [Thu, 27 Mar 2003 19:51:26 +0000 (19:51 +0000)]
Update.
2003-03-27 David Mosberger <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/getcontext.S: Restore caller's
ar.unat before returning. Add missing .mem.offset directives
to ensure file gets assembled without warnings.
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
Ulrich Drepper [Thu, 27 Mar 2003 19:10:51 +0000 (19:10 +0000)]
Update.
2003-03-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Even if
timer_delete syscall fails, but not with ENOSYS, set
__no_posix_timers.
* sysdeps/unix/sysv/linux/timer_settime.c [!__ASSUME_POSIX_TIMERS]
(timer_settime): Fix typo.
Ulrich Drepper [Thu, 27 Mar 2003 17:56:19 +0000 (17:56 +0000)]
Update.
2003-03-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sysconf.c (__sysconf) <_SC_MONOTONIC_CLOCK>:
Return -1 instead of 0 if clock_getres failed.
Ulrich Drepper [Thu, 27 Mar 2003 17:55:08 +0000 (17:55 +0000)]
(__sysconf) <_SC_MONOTONIC_CLOCK>: Return -1 instead of 0 if clock_getres failed.
Jakub Jelinek [Thu, 27 Mar 2003 12:43:17 +0000 (12:43 +0000)]
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Fix
offset of cleanupbuf.__prev.
Jakub Jelinek [Thu, 27 Mar 2003 12:43:08 +0000 (12:43 +0000)]
Fix offset of cleanupbuf.__prev.
Roland McGrath [Thu, 27 Mar 2003 12:28:49 +0000 (12:28 +0000)]
Tweak redirection handling in last change.
Roland McGrath [Thu, 27 Mar 2003 11:54:09 +0000 (11:54 +0000)]
* scripts/abilist.awk: If variable `parse_names' is set, grok the file
header lines and write out foo.symlist files for each foo.so.NN listed.
* libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden.
This symbol is exported, and we don't want to hide it.
Add libc_hidden_proto instead.
(_IO_file_jumps): Add libc_hidden_proto.
* libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def.
Remove INTVARDEF.
* libio/fileops.c (_IO_file_jumps): Likewise.
* libio/stdfiles.c: Don't use INTUSE on them.
* libio/iofdopen.c (_IO_new_fdopen): Likewise.
* libio/iofopen.c (__fopen_internal): Likewise.
* libio/freopen.c (freopen): Likewise.
* libio/freopen64.c (freopen64): Likewise.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.
Roland McGrath [Thu, 27 Mar 2003 09:48:09 +0000 (09:48 +0000)]
* Makerules (check-abi) [$(enable-check-abi) = warn]:
Ignore exit status from diff.
* configure.in (enable_check_abi): Document possible value "warn".
Change default to no for now.
* configure: Regenerated.
* sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning
macro calls and a #include <stub-tag.h> at the end.
* Makerules ($(objpfx)stubs): Tweak sed commands.
* sysdeps/unix/sysv/linux/syscalls.list: Use - rather than EXTRA in
caller column for *xattr syscalls, since they are in sysdeps/generic.
* sysdeps/unix/sysv/linux/i386/setfsuid.c: setfsgid -> setfsuid
* sysdeps/unix/sysv/linux/i386/setfsgid.c: setfsuid -> setfsgid
2003-03-26 Roland McGrath <roland@redhat.com>
* Makerules (check-abi-config): Use /thread instead of /tls when
use-thread and not just use-tls is set.
* Makerules (update-abi): Put quotes around $(update-abi-config).
* elf/Makefile (check-abi): Depend on check-abi-ld.
(update-abi): Depend on update-abi-ld.
Roland McGrath [Thu, 27 Mar 2003 09:47:16 +0000 (09:47 +0000)]
2003-03-27 Roland McGrath <roland@redhat.com>
* sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning
macro calls and a #include <stub-tag.h> at the end.
* Makerules ($(objpfx)stubs): Tweak sed commands.
Ulrich Drepper [Thu, 27 Mar 2003 08:12:58 +0000 (08:12 +0000)]
Update.
2003-03-26 GOTO Masanori <gotom@debian.or.jp>
* sysdeps/unix/sysv/linux/i386/setfsuid.c: Use INTERNAL_SYSCALL and
do not check for errors (unless testing for 32bit variant).
* sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
Ulrich Drepper [Thu, 27 Mar 2003 08:07:38 +0000 (08:07 +0000)]
(setfsuid): Use INTERNAL_SYSCALL and do not check for errors (unless testing for 32bit variant).
Roland McGrath [Thu, 27 Mar 2003 02:45:58 +0000 (02:45 +0000)]
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): Use
unconditional mov. Remove nop.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm.
* sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code
when __ASSUME_VFORK_SYSCALL is defined.
* sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for
__ASSUME_MMAP2_SYSCALL.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for
__ASSUME_REALTIME_SIGNALS.
Roland McGrath [Thu, 27 Mar 2003 02:45:47 +0000 (02:45 +0000)]
2003-03-27 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm.
* sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code
when __ASSUME_VFORK_SYSCALL is defined.
* sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for
__ASSUME_MMAP2_SYSCALL.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for
__ASSUME_REALTIME_SIGNALS.
Ulrich Drepper [Thu, 27 Mar 2003 01:16:50 +0000 (01:16 +0000)]
Update.
2003-03-26 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_COPY): Define to 2
only if DL_NO_COPY_RELOCS is not defined.
* sysdeps/ia64/dl-lookupcfg.h: Define DL_NO_COPY_RELOCS.
Ulrich Drepper [Wed, 26 Mar 2003 23:46:46 +0000 (23:46 +0000)]
Update.
* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (struct siginfo): Avoid
no-op padding element.
* sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2003-03-26 GOTO Masanori <gotom@debian.or.jp>
* sysdeps/unix/sysv/linux/i386/getgroups.c: Fix the error
condition check for the return value of getgroups32.
2003-03-26 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_NOERRNO):
Fix a typo.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_NOERRNO,
PSEUDO_END_NOERRNO): Define.
* sysdeps/unix/sysdep.h (PSEUDO_END_NOERRNO): Fix a typo.
Define to PSEUDO_END.
2003-03-26 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Wed, 26 Mar 2003 23:41:58 +0000 (23:41 +0000)]
(struct siginfo): Avoid no-op padding element.
Roland McGrath [Wed, 26 Mar 2003 22:49:50 +0000 (22:49 +0000)]
* sysdeps/unix/make-syscalls.sh: When an undefined syscall has
SOURCE=-, append its symbol names to make variable unix-stub-syscalls.
* sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls]
(sysdep_routines): Add stub-syscalls.
($(objpfx)stub-syscalls.c): New target.
(generated): Add stub-syscalls.c.
* tls.make.c: Also define use-tls according to USE_TLS macro.
Roland McGrath [Wed, 26 Mar 2003 22:49:15 +0000 (22:49 +0000)]
2003-03-26 Roland McGrath <roland@redhat.com>
* sysdeps/unix/make-syscalls.sh: When an undefined syscall has
SOURCE=-, append its symbol names to make variable unix-stub-syscalls.
* sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls]
(sysdep_routines): Add stub-syscalls.
($(objpfx)stub-syscalls.c): New target.
(generated): Add stub-syscalls.c.
Ulrich Drepper [Wed, 26 Mar 2003 18:15:57 +0000 (18:15 +0000)]
(__getgroups): Fix the error condition check for the return value of getgroups32.
Ulrich Drepper [Wed, 26 Mar 2003 18:04:22 +0000 (18:04 +0000)]
(PSEUDO_NOERRNO): Fix a typo.
Jakub Jelinek [Wed, 26 Mar 2003 15:33:23 +0000 (15:33 +0000)]
* sysdeps/unix/sysv/linux/timer_getoverr.c: Fix typo in name
of included file.
Jakub Jelinek [Wed, 26 Mar 2003 15:33:14 +0000 (15:33 +0000)]
Fix typo in name of included file.
Ulrich Drepper [Wed, 26 Mar 2003 09:41:23 +0000 (09:41 +0000)]
Update.
2003-03-26 Ulrich Drepper <drepper@redhat.com>
* abilist/librt.abilist: Add new timer interfaces for 64-bit archs.
Ulrich Drepper [Wed, 26 Mar 2003 08:12:21 +0000 (08:12 +0000)]
Update.
2003-03-25 Jiro SEKIBA <jir@yamato.ibm.com>
* iconvdata/euc-tw.c (from_euc_tw): Fix return value of TO_LOOP.
* iconvdata/bug-iconv4.c: New file.
* iconvdata/Makefile (tests): Add bug-iconv4.
Ulrich Drepper [Wed, 26 Mar 2003 08:10:58 +0000 (08:10 +0000)]
Test for EUC-TW bug with too-short output buffers.
Roland McGrath [Wed, 26 Mar 2003 08:06:59 +0000 (08:06 +0000)]
* sysdeps/pthread/posix-timer.h (TIMER_MAX): Define if not defined.
(timer_id2ptr): Fix typo.
Roland McGrath [Wed, 26 Mar 2003 08:06:52 +0000 (08:06 +0000)]
2003-03-25 Roland McGrath <roland@redhat.com>
* sysdeps/pthread/posix-timer.h (TIMER_MAX): Define if not defined.
(timer_id2ptr): Fix typo.
Ulrich Drepper [Wed, 26 Mar 2003 07:58:49 +0000 (07:58 +0000)]
(from_euc_tw): Fix return value of TO_LOOP.
Ulrich Drepper [Wed, 26 Mar 2003 05:55:17 +0000 (05:55 +0000)]
Update.
2003-03-25 H.J. Lu <hjl@gnu.org>
* elf/dl-lookup.c (_dl_lookup_symbol): Avoid looking up protected
symbols twice.
(_dl_lookup_versioned_symbol): Likewise.
Ulrich Drepper [Wed, 26 Mar 2003 05:25:58 +0000 (05:25 +0000)]
Update.
Remove struct __pthread_attr_s forward declaration.
* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
Ulrich Drepper [Wed, 26 Mar 2003 04:45:41 +0000 (04:45 +0000)]
Remove struct __pthread_attr_s forward declaration.
Roland McGrath [Wed, 26 Mar 2003 04:02:03 +0000 (04:02 +0000)]
* csu/tst-atomic.c (do_test): Add some new
atomic_compare_and_exchange_val_acq, atomic_add_zero,
atomic_compare_and_exchange_bool_acq and atomic_add_negative tests.
* include/atomic.h (atomic_add_negative, atomic_add_zero):
Prefix local variable so that it doesn't clash with the one
in atomic_exchange_and_add.
* sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void *
pointers.
(atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i.
* sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force
value into register.
* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq):
Cast newval to long.
* sysdeps/x86_64/bits/atomic.h
(__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to
long.
(atomic_exchange): Cast newvalue to long if sizeof == 8.
(atomic_exchange_and_add): Cast value to long if sizeof == 8.
(atomic_add, atomic_add_negative, atomic_add_zero): Likewise.
(atomic_bit_set): Shift 1L up in all cases to shut up warnings.
Roland McGrath [Wed, 26 Mar 2003 03:44:33 +0000 (03:44 +0000)]
* sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high order
bit from backtrace addresses.
2003-03-21 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/i386/chown.c: Don't define any versioned
__chown symbols.
Roland McGrath [Wed, 26 Mar 2003 01:15:16 +0000 (01:15 +0000)]
* config.make.in (enable-check-abi): New variable from configure.
* configure.in (enable_check_abi): New substituted variable,
controlled by --{enable,disable}-check-abi (default yes).
* configure: Regenerated.
* Makerules [$(enable-check-abi) = yes] (tests): Put this condition
on check-abi dependency.
Roland McGrath [Wed, 26 Mar 2003 01:15:07 +0000 (01:15 +0000)]
2003-03-25 Roland McGrath <roland@redhat.com>
* config.make.in (enable-check-abi): New variable from configure.
* configure.in (enable_check_abi): New substituted variable,
controlled by --{enable,disable}-check-abi (default yes).
* configure: Regenerated.
* Makerules [$(enable-check-abi) = yes] (tests): Put this condition
on check-abi dependency.
Andreas Schwab [Tue, 25 Mar 2003 23:41:38 +0000 (23:41 +0000)]
*** empty log message ***
* sysdeps/m68k/m68020/bits/atomic.h: Fix typos.
* include/atomic.h: Likewise.
Andreas Schwab [Tue, 25 Mar 2003 23:17:14 +0000 (23:17 +0000)]
*** empty log message ***
2003-03-26 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Define ret_NOERRNO.
Andreas Schwab [Tue, 25 Mar 2003 23:15:40 +0000 (23:15 +0000)]
Define ret_NOERRNO.
Roland McGrath [Tue, 25 Mar 2003 22:40:43 +0000 (22:40 +0000)]
* sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro.
(__arch_atomic_exchange_64): New macro.
(atomic_exchange): Use them.
(__arch_atomic_exchange_and_add_32): New macro.
(__arch_atomic_exchange_and_add_64): New macro.
(atomic_exchange_and_add): Use them.
Original patch from Steven Munroe <sjmunroe@us.ibm.com>.
Roland McGrath [Tue, 25 Mar 2003 22:40:21 +0000 (22:40 +0000)]
2003-03-25 Roland McGrath <roland@redhat.com>
* sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro.
(__arch_atomic_exchange_64): New macro.
(atomic_exchange): Use them.
(__arch_atomic_exchange_and_add_32): New macro.
(__arch_atomic_exchange_and_add_64): New macro.
(atomic_exchange_and_add): Use them.
Original patch from Steven Munroe <sjmunroe@us.ibm.com>.
Ulrich Drepper [Tue, 25 Mar 2003 22:05:41 +0000 (22:05 +0000)]
Update.
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__TIMER_T_TYPE):
Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__TIMER_T_TYPE):
Likewise.
Ulrich Drepper [Tue, 25 Mar 2003 22:00:07 +0000 (22:00 +0000)]
(__TIMER_T_TYPE): Define as void*.
Alexandre Oliva [Tue, 25 Mar 2003 21:51:53 +0000 (21:51 +0000)]
* sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64): Define. * sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all ISA tests. (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA. (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR to decide whether to add padding. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR to decide whether to add padding. * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct old_kernel_sigaction): Likewise.
2003-03-25 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64):
Define.
* sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all
ISA tests.
(ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA.
(PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
to decide whether to add padding.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
to decide whether to add padding.
* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct
old_kernel_sigaction): Likewise.
Ulrich Drepper [Tue, 25 Mar 2003 20:41:26 +0000 (20:41 +0000)]
Update.
2003-03-25 Ulrich Drepper <drepper@redhat.com>
* csu/tst-atomic.c: Adjust tests to what atomic_add_negative and
atomic_add_zero were supposed to do.
* include/atomic.h: Adjust atomic_add_negative and atomic_add_zero
to x86 behavior.
* sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*.
This matches the new timer implementation.
* sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust
timer info for what the kernel provides these days.
(struct sigevent): Add _tid field.
Define SIGEV_THREAD_ID.
* Versions.def (librt): Add GLIBC_2.3.3.
* abilist/libpthread.abilist: Update for nptl.
Ulrich Drepper [Tue, 25 Mar 2003 19:13:30 +0000 (19:13 +0000)]
Define SIGCANCEL and SIGTIMER. Remove FRAME_LEFT definition.
Roland McGrath [Tue, 25 Mar 2003 09:44:37 +0000 (09:44 +0000)]
* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
(DOARGS_5, DOARGS_6, DOARGS_7): Rewritten.
Roland McGrath [Tue, 25 Mar 2003 09:44:29 +0000 (09:44 +0000)]
2003-03-24 Daniel Jacobowitz <drow@mvista.com>
* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
(DOARGS_5, DOARGS_6, DOARGS_7): Rewritten.
Ulrich Drepper [Tue, 25 Mar 2003 01:14:36 +0000 (01:14 +0000)]
Update.
2003-03-24 Jon Grimm <jgrimm@us.ibm.com>
* inet/netinet/in.h: Add IPPROTO_SCTP.
2003-03-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define.
Ulrich Drepper [Mon, 24 Mar 2003 19:36:57 +0000 (19:36 +0000)]
Update.
2003-03-24 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL):
Remove a1 from clobber list.
2003-03-24 Ulrich Drepper <drepper@redhat.com>
* timezone/antarctica: Update from tzdata2003a.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
2003-03-24 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_END_NOERRNO): Fix typo.
Ulrich Drepper [Mon, 24 Mar 2003 07:57:09 +0000 (07:57 +0000)]
Update.
* sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid
unwanted expansion by definining to ret. Patch by Ian Wienand.
Ulrich Drepper [Sun, 23 Mar 2003 19:44:31 +0000 (19:44 +0000)]
Update.
2003-03-23 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of
the parameter description to denote no error checking. Generate
appropriate pseudo asm code.
* sysdeps/unix/syscalls.list: Mark getgid, getpid, getuid with 'E'.
* sysdeps/unix/sysv/linux/syscalls.list: Mark getegid, geteuid,
getpgrp, and getppid with 'E'.
* sysdeps/powerpc/powerpc32/sysdep.h: Define PSEUDO_NOERRNO,
PSEUDO_END_NOERRNO, and ret_NOERRNO.
* sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
* sysdeps/unix/sysdep.h: Likewise.
* sysdeps/unix/alpha/sysdep.h: Likewise.
* sysdeps/unix/sparc/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/cris/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
Ulrich Drepper [Sun, 23 Mar 2003 19:35:52 +0000 (19:35 +0000)]
Recognize 'E' in first position of the parameter description to denote no error checking. Generate appropriate pseudo asm code.
Roland McGrath [Sun, 23 Mar 2003 11:19:50 +0000 (11:19 +0000)]
Add s390, update i.86 and powerpc
Roland McGrath [Sun, 23 Mar 2003 11:17:28 +0000 (11:17 +0000)]
* Makeconfig (+includes): Don't use $(last-includes).
Roland McGrath [Sun, 23 Mar 2003 10:12:59 +0000 (10:12 +0000)]
* tst-mutex5.c (do_test): Unlock before destroy, otherwise we invoke
undefined behavior.
Roland McGrath [Sun, 23 Mar 2003 10:01:48 +0000 (10:01 +0000)]
* tst-join5.c (tf1, tf2): Add a cast.
* Makeconfig (includes): Append -I$(..)nptl to this variable.
* tst-barrier2.c (do_test) [! _POSIX_THREAD_PROCESS_SHARED]:
Don't test anything.
* tst-cond4.c: Likewise.
* tst-cond6.c: Likewise.
* tst-flock2.c: Likewise.
* tst-mutex4.c: Likewise.
* tst-rwlock4.c: Likewise.
* tst-signal1.c: Likewise.
* tst-spin2.c: Likewise.
* tst-cond11.c [! _POSIX_CLOCK_SELECTION]: Likewise.
* tst-mutex4.c: Use test-skeleton.c.
* tst-spin2.c: Likewise.
* tst-sysconf.c: Likewise.
* tst-barrier2.c: Likewise.
* tst-cond4.c: Likewise.
* tst-cond6.c: Likewise.
* tst-rwlock4.c: Likewise.
* tst-unload.c: Likewise.
* tst-flock2.c (do_test): Use return instead of exit.
Roland McGrath [Sun, 23 Mar 2003 09:59:34 +0000 (09:59 +0000)]
2003-03-23 Roland McGrath <roland@redhat.com>
* tst-mutex4.c: Use test-skeleton.c.
* tst-spin2.c: Likewise.
* tst-sysconf.c: Likewise.
* tst-barrier2.c: Likewise.
* tst-cond4.c: Likewise.
* tst-cond6.c: Likewise.
* tst-rwlock4.c: Likewise.
* tst-flock2.c (do_test): Use return instead of exit.