external/glibc.git
21 years agoUpdate.
Ulrich Drepper [Thu, 17 Apr 2003 08:42:06 +0000 (08:42 +0000)]
Update.

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

* nss/getXXbyYY_r.c [USE_NSCD] (REENTRANT_NAME): Only retry
contacting nscd if NOT_USENSCD_NAME > 0.
* nss/nsswitch.c (__nss_disable_nscd): New function.
* nss/nsswitch.h: Declare it.
* nss/Versions [GLIBC_PRIVATE]: Export __nss_disable_nscd.
* nscd/nscd.c (main): Call __nss_disable_nscd.

21 years agoUpdate.
Ulrich Drepper [Thu, 17 Apr 2003 05:44:31 +0000 (05:44 +0000)]
Update.

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

* uk_UA: Fix sorting.  Patch by Leonid Kanter <leon@geon.donetsk.ua>.

21 years agoUpdate.
Ulrich Drepper [Thu, 17 Apr 2003 04:01:04 +0000 (04:01 +0000)]
Update.

* stdio-common/perror.c (perror): We don't need to set the offset
to _IO_pos_bad, this is how streams are initialized.

21 years agoUpdate.
Ulrich Drepper [Thu, 17 Apr 2003 02:55:45 +0000 (02:55 +0000)]
Update.

* locale/programs/ld-time.c (TESTARR_ELEM): Make i unsigned.
(time_output): If necessary, allocate new buffer for .name string if
padding is required.

21 years agoUpdate.
Ulrich Drepper [Thu, 17 Apr 2003 01:08:57 +0000 (01:08 +0000)]
Update.

* sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Check lengths
before copying.  This might leave holes in the list.  Adjust
pointers if necessary.
(netlink_receive): Allocate only one block.
(free_netlink_handle): Adjust appropriately.
(getifaddrs): Lots of cleanups.

21 years ago(netlink_receive): Allocate only one block. (free_netlink_handle): Adjust appropriate...
Ulrich Drepper [Wed, 16 Apr 2003 22:50:37 +0000 (22:50 +0000)]
(netlink_receive): Allocate only one block. (free_netlink_handle): Adjust appropriately. (getifaddrs): Lots of cleanups.

21 years ago* tst-cancel4.c (do_test): Use %zd instead of %d when printing cnt.
Jakub Jelinek [Wed, 16 Apr 2003 21:59:43 +0000 (21:59 +0000)]
* tst-cancel4.c (do_test): Use %zd instead of %d when printing cnt.

21 years ago(do_test): Use %zd instead of %d when printing cnt.
Jakub Jelinek [Wed, 16 Apr 2003 21:59:32 +0000 (21:59 +0000)]
(do_test): Use %zd instead of %d when printing cnt.

21 years agoUpdate.
Ulrich Drepper [Wed, 16 Apr 2003 17:22:45 +0000 (17:22 +0000)]
Update.

* string/test-strncpy.c (do_one_test): Mark start and stop as

21 years agoUpdate.
Ulrich Drepper [Wed, 16 Apr 2003 17:15:30 +0000 (17:15 +0000)]
Update.

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

* string/test-strncpy.c (do_one_test): Makr start and stop as
possibly unused.

21 years ago(do_one_test): Makr start and stop as possibly unused.
Ulrich Drepper [Wed, 16 Apr 2003 17:10:51 +0000 (17:10 +0000)]
(do_one_test): Makr start and stop as possibly unused.

21 years ago* libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning.
Roland McGrath [Wed, 16 Apr 2003 03:12:34 +0000 (03:12 +0000)]
* libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning.

* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for
INTUSE(__register_frame_info_bases).

21 years ago2003-04-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 16 Apr 2003 03:06:31 +0000 (03:06 +0000)]
2003-04-15  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for
INTUSE(__register_frame_info_bases).

21 years agoUpdate.
Ulrich Drepper [Tue, 15 Apr 2003 23:56:32 +0000 (23:56 +0000)]
Update.

AT_SYSINFO_EH_FRAME.  Adjust string width.

21 years agoUpdate.
Ulrich Drepper [Tue, 15 Apr 2003 22:46:40 +0000 (22:46 +0000)]
Update.

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

* elf/elf.h: Define AT_SYSINFO_EH_FRAME.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle
AT_SYSINFO_EH_FRAME.
(_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value.
* sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global):
Add _dl_sysinfo_eh_frame field.
* elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame.
* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj
variable.
[NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases
if _dl_sysinfo_eh_frame is non-NULL.

* Makeconfig (gnulib): Add -lgcc_eh.

* config.h.in: Define HAVE_FORCED_UNWIND.

21 years agoUpdate.
Ulrich Drepper [Tue, 15 Apr 2003 19:45:39 +0000 (19:45 +0000)]
Update.

2003-04-15  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc64/strcmp.S: Convert to full 64-bit.
* sysdeps/powerpc/powerpc64/strcpy.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 15 Apr 2003 19:42:49 +0000 (19:42 +0000)]
Update.

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

* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Avoid
checking R_PPC_RELATIVE, R_PPC_NONE and whether relocation is
against local symbol in conflict processing.

21 years agoUpdate.
Ulrich Drepper [Tue, 15 Apr 2003 18:39:09 +0000 (18:39 +0000)]
Update.

2003-04-15  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/bits/atomic.h
[__powerpc64] (__arch_compare_and_exchange_val_64_acq): Define.
[! __powerpc64] (__arch_compare_and_exchange_val_64_acq): Defined
as abort stub.
(__arch_compare_and_exchange_val_32_acq): Define.
(atomic_compare_and_exchange_val_acq): Define.

21 years agoUpdate.
Ulrich Drepper [Tue, 15 Apr 2003 18:29:40 +0000 (18:29 +0000)]
Update.

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

* include/atomic.h: Pretty printing.

21 years agoFix typo.
Ulrich Drepper [Tue, 15 Apr 2003 07:10:39 +0000 (07:10 +0000)]
Fix typo.

Confirmed LC_PAPER and LC_MEASUREMENT settings.

21 years agoUpdate.
Ulrich Drepper [Tue, 15 Apr 2003 04:40:00 +0000 (04:40 +0000)]
Update.

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

* locales/sr_YU [LC_MONETARY]: Change int_curr_symbol from 'YUN'
to 'YUM' to match changes commited to ISO-4217 2002-02-13 and get
the locale building again.
* locales/sr_YU@cyrillic: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 15 Apr 2003 02:36:10 +0000 (02:36 +0000)]
Update.

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

* stdio-common/vfscanf.c: Add casts to avoid warnings.

21 years agoUpdate.
Ulrich Drepper [Mon, 14 Apr 2003 21:55:10 +0000 (21:55 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Don't

21 years agoUpdate.
Ulrich Drepper [Mon, 14 Apr 2003 21:38:45 +0000 (21:38 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Don't
overflow CFA advance instructions.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 14 Apr 2003 17:30:34 +0000 (17:30 +0000)]
Update.

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

* sysdeps/i386/i486/bits/atomic.h: Rename LOCK to LOCK_PREFIX.
* sysdeps/x86_64/bits/atomic.h: Likewise.

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

* sysdeps/unix/sysv/linux/i386/sysdep.h: Change PUSHARGS_1 and
POPARGS_1 to emit labels for the mov instructions.

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

* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO): Define.

21 years agoUpdate.
Ulrich Drepper [Mon, 14 Apr 2003 16:43:20 +0000 (16:43 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Use
DW_CFA_advance_loc2 for .Laddl-.Lsubl.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Use
DW_CFA_advance_loc for .Laddl-.Lsubl.

* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Don't use
position-independent unwind data for static libraries.
Add missing unwind info.  Add comments.

21 years agoUse DW_CFA_advance_loc2 for .Laddl-.Lsubl.
Ulrich Drepper [Mon, 14 Apr 2003 16:42:09 +0000 (16:42 +0000)]
Use DW_CFA_advance_loc2 for .Laddl-.Lsubl.

21 years ago* sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence
Roland McGrath [Mon, 14 Apr 2003 08:52:37 +0000 (08:52 +0000)]
* sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence

compiler warning.

* sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge.

21 years ago2003-04-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 14 Apr 2003 08:52:21 +0000 (08:52 +0000)]
2003-04-14  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge.

21 years agoUpdate.
Ulrich Drepper [Mon, 14 Apr 2003 07:03:40 +0000 (07:03 +0000)]
Update.

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

* string/strxfrm.c (STRXFRM): Terminate rulearr at correct
position.  Reported by jreiser@BitWagon.com.

21 years agoAdd missing unwind info. Add comments.
Ulrich Drepper [Mon, 14 Apr 2003 02:52:46 +0000 (02:52 +0000)]
Add missing unwind info.  Add comments.

21 years ago* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Rename macros to
Roland McGrath [Sun, 13 Apr 2003 22:57:52 +0000 (22:57 +0000)]
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Rename macros to

match changes in NPTL sysdep-cancel.h.

21 years ago2003-04-13 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Sun, 13 Apr 2003 22:57:45 +0000 (22:57 +0000)]
2003-04-13  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Rename macros to
match changes in NPTL sysdep-cancel.h.

21 years agoUpdate.
Ulrich Drepper [Sun, 13 Apr 2003 16:47:36 +0000 (16:47 +0000)]
Update.

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

* sysdeps/generic/unwind-dw2-fde.c: Update from recent gcc version.
* sysdeps/generic/unwind-dw2-fde.h: Likewise.
* sysdeps/generic/unwind-dw2.c: Likewise.
* sysdeps/generic/unwind-pe.h: Likewise.

21 years agoUpdate from recent gcc version.
Ulrich Drepper [Sun, 13 Apr 2003 16:45:10 +0000 (16:45 +0000)]
Update from recent gcc version.

21 years ago* sysdeps/unix/sysv/linux/mips/profil-counter: New. * sysdeps/unix/sysv/linux/mips...
Alexandre Oliva [Sun, 13 Apr 2003 11:36:32 +0000 (11:36 +0000)]
* sysdeps/unix/sysv/linux/mips/profil-counter: New. * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64. * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64. (mcontext_t): Make it match the 32-bit mips kernel in o32. * sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from the mips and mips64 headers. (struct user): Port to n32/n64.

2003-04-13  Alexandre Oliva  <aoliva@redhat.com>

* sysdeps/unix/sysv/linux/mips/profil-counter: New.
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64.
* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64.
(mcontext_t): Make it match the 32-bit mips kernel in o32.
* sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from
the mips and mips64 headers.
(struct user): Port to n32/n64.

21 years agoUpdate.
Ulrich Drepper [Sun, 13 Apr 2003 08:36:19 +0000 (08:36 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Add unwind info.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 13 Apr 2003 08:04:46 +0000 (08:04 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Add
unwind info.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.

* Makefile: Make sure all cancellation points are compiled with
exception and asynchronous unwind tables.

21 years agoUpdate.
Ulrich Drepper [Sun, 13 Apr 2003 02:05:36 +0000 (02:05 +0000)]
Update.

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

* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add cast to
avoid warning.

* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): If
__ASSUME_VSYSCALL is defined don't add restorer.
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_VSYSCALL for 2.5.53.

21 years agoUpdate.
Ulrich Drepper [Sat, 12 Apr 2003 20:32:01 +0000 (20:32 +0000)]
Update.

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

* sysdeps/x86_64/tls.h (THREAD_SETMEM): Word around compiler bug
which mishandles loading of global object addresses in PIC.
(THREAD_SETMEM_NC): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 12 Apr 2003 08:38:14 +0000 (08:38 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 12 Apr 2003 00:58:26 +0000 (00:58 +0000)]
Update.

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

* sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling.
Remove HAVE_CANCELBUF code.  Replace with code using the new
initializers for unwind-based cleanup handling.
* sysdeps/generic/unwind.h: Update from latest gcc version.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few
places to allow unwind data generation.
* sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times.
* sysdeps/x86_64/bits/setjmp.h: Likewise.
* sysdeps/sh/bits/setjmp.h: Likewise.
* sysdeps/powerpc/bits/setjmp.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
* sysdeps/alpha/bits/setjmp.h: Likewise.

21 years ago(deallocate_tsd): Don't take parameter. Adjust caller. Optimize to avoid often...
Ulrich Drepper [Sat, 12 Apr 2003 00:25:27 +0000 (00:25 +0000)]
(deallocate_tsd): Don't take parameter.  Adjust caller.  Optimize to avoid often unecessary local variable.

(start_thread): Initialize cleanup_jmp_buf element if own thread descriptor.

21 years ago* csu/tst-empty.c: New file.
Roland McGrath [Sat, 12 Apr 2003 00:17:14 +0000 (00:17 +0000)]
* csu/tst-empty.c: New file.

* csu/Makefile (tests, tests-static): Add it.

21 years ago2003-04-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 12 Apr 2003 00:16:59 +0000 (00:16 +0000)]
2003-04-11  Roland McGrath  <roland@redhat.com>

* csu/tst-empty.c: New file.
* csu/Makefile (tests, tests-static): Add it.

21 years agoDeclare __pthread_unwind. Define __do_cancel to use it. Declare old cleanup handler...
Ulrich Drepper [Sat, 12 Apr 2003 00:14:16 +0000 (00:14 +0000)]
Declare __pthread_unwind.  Define __do_cancel to use it.  Declare old cleanup handler installation functions.

21 years agoTest cleanup handler calls in initial thread.
Ulrich Drepper [Sat, 12 Apr 2003 00:06:31 +0000 (00:06 +0000)]
Test cleanup handler calls in initial thread.

21 years ago2003-04-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 12 Apr 2003 00:00:30 +0000 (00:00 +0000)]
2003-04-11  Roland McGrath  <roland@redhat.com>

* Makefile ($(objpfx)multidir.mk): New target, generated makefile that
sets variable `multidir'; include that.
(generated): Add it.
($(objpfx)$(multidir)/crti.o): New target.
[$(multidir) != .] (generated-dirs, extra-objs, omit-deps): Add it.

21 years ago2003-04-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 11 Apr 2003 23:34:00 +0000 (23:34 +0000)]
2003-04-11  Roland McGrath  <roland@redhat.com>

* Makefile (multidir): Don't set the variable here with $(shell ...).
($(objpfx)multidir.mk): New target, generated makefile; include that.
(generated): Append it.
2003-04-10  Jakub Jelinek  <jakub@redhat.com>

* Makefile (multidir, crti-objs, crtn-objs): New variables.
(generated-dirs): Add pathname component of multidir.
(omit-deps, extra-objs): Include $(multidir)/crt? as well.
($(objpfx)libpthread.so): Depend on $(multidir)/crt?.o as well.
($(objpfx)$(multidir), $(objpfx)$(multidir)/crti.o,
$(objpfx)$(multidir)/crtn.o): New.
* sysdeps/unix/sysv/linux/sparc/Makefile: Removed.
* sysdeps/unix/sysv/linux/x86_64/Makefile (LDFLAGS-pthread.so,
before-compile, generated): Don't generate and use specs.
($(objpfx)specs): Remove.

21 years agoUpdate.
Ulrich Drepper [Fri, 11 Apr 2003 23:00:57 +0000 (23:00 +0000)]
Update.

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

* tst-attr2.c (do_test): Add cast to avoid warning.
* tst-mutex4.c (do_test): Likewise.

21 years ago(do_test): Add cast to avoid warning.
Ulrich Drepper [Fri, 11 Apr 2003 22:59:18 +0000 (22:59 +0000)]
(do_test): Add cast to avoid warning.

21 years ago* string/test-strcmp.c (do_random_tests): Test whether return value
Roland McGrath [Fri, 11 Apr 2003 22:11:44 +0000 (22:11 +0000)]
* string/test-strcmp.c (do_random_tests): Test whether return value

has been promoted to wordsize if the ABI requires caller to do so.
* string/test-strncmp.c (do_random_tests): Likewise.
* string/test-memcmp.c (do_random_tests): Likewise.

* sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN
before returning.

21 years ago* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
Roland McGrath [Fri, 11 Apr 2003 22:09:16 +0000 (22:09 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c

(__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL
is not defined, but the prctl constants are.

21 years ago* string/tester.c (test_strcmp): Fix a typo.
Roland McGrath [Fri, 11 Apr 2003 22:07:03 +0000 (22:07 +0000)]
* string/tester.c (test_strcmp): Fix a typo.

21 years ago2003-04-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
Roland McGrath [Fri, 11 Apr 2003 22:06:02 +0000 (22:06 +0000)]
2003-04-11  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/pspinlock.c (__pthread_spin_unlock): Fix asm contraints.

21 years agoUpdate.
Ulrich Drepper [Thu, 10 Apr 2003 16:46:27 +0000 (16:46 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset CPU clocks
in child.

21 years agoUpdate.
Ulrich Drepper [Wed, 9 Apr 2003 14:40:34 +0000 (14:40 +0000)]
Update.

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

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

21 years agoUpdate.
Ulrich Drepper [Wed, 9 Apr 2003 07:46:32 +0000 (07:46 +0000)]
Update.

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

* sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD definition.
* sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.

21 years agoRemove FLT_EVAL_METHOD definition.
Ulrich Drepper [Wed, 9 Apr 2003 07:40:11 +0000 (07:40 +0000)]
Remove FLT_EVAL_METHOD definition.

21 years ago* sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on NewABI. (ta0, ta1...
Alexandre Oliva [Wed, 9 Apr 2003 02:51:04 +0000 (02:51 +0000)]
* sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on NewABI. (ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on NewABI. * sysdeps/mips/mips64/memcpy.S: Adjust register naming conventions. * sysdeps/mips/mips64/memset.S: Likewise. * sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]: Use t0 instead of t4 as temporary.

2003-04-08  Alexandre Oliva  <aoliva@redhat.com>

* sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on
NewABI.
(ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on
NewABI.
* sysdeps/mips/mips64/memcpy.S: Adjust register naming
conventions.
* sysdeps/mips/mips64/memset.S: Likewise.
* sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]:
Use t0 instead of t4 as temporary.

21 years agoUpdate.
Ulrich Drepper [Tue, 8 Apr 2003 20:24:21 +0000 (20:24 +0000)]
Update.

* sysdeps/pthread/pthread.h: Remove duplicate
pthread_cleanup_{push,pop} definitions.

21 years agoUpdate.
Ulrich Drepper [Tue, 8 Apr 2003 18:23:59 +0000 (18:23 +0000)]
Update.

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

* tst-barrier2.c: Eliminate warnings.
* tst-cancel4.c: Likewise.
* tst-cond4.c: Likewise.
* tst-cond6.c: Likewise.
* tst-detach1.c: Likewise.
* tst-rwlock4.c: Likewise.
* tst-rwlock6.c: Likewise.
* tst-rwlock7.c: Likewise.
* tst-sem3.c: Likewise.
* tst-spin2.c: Likewise.
* tst-umask1.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 8 Apr 2003 04:37:11 +0000 (04:37 +0000)]
Update.

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

* elf/ldconfig.c (parse_conf): Ignore leading whitespace.  Use
feof_unlocked instead of feof.
(add_dir): Ignore trailing whitespace.

21 years ago(parse_conf): Ignore leading whitespace. Use feof_unlocked instead of feof. (add_dir...
Ulrich Drepper [Tue, 8 Apr 2003 04:20:29 +0000 (04:20 +0000)]
(parse_conf): Ignore leading whitespace.  Use feof_unlocked instead of feof. (add_dir): Ignire trailing whitespace.

21 years ago* posix/bug-regex4.c (main): Cap RANGE and STOP arguments to
Roland McGrath [Tue, 8 Apr 2003 01:23:38 +0000 (01:23 +0000)]
* posix/bug-regex4.c (main): Cap RANGE and STOP arguments to

sum of SIZE1 and SIZE2 arguments.

21 years ago2003-04-07 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Tue, 8 Apr 2003 01:23:29 +0000 (01:23 +0000)]
2003-04-07  Jakub Jelinek  <jakub@redhat.com>

* posix/bug-regex4.c (main): Cap RANGE and STOP arguments to
sum of SIZE1 and SIZE2 arguments.

21 years agoWhitespace fix.
Jakub Jelinek [Mon, 7 Apr 2003 21:18:34 +0000 (21:18 +0000)]
Whitespace fix.

21 years agoTest for pthread_detach of terminated thread.
Ulrich Drepper [Mon, 7 Apr 2003 21:14:40 +0000 (21:14 +0000)]
Test for pthread_detach of terminated thread.

21 years agoUpdate.
Ulrich Drepper [Mon, 7 Apr 2003 21:09:12 +0000 (21:09 +0000)]
Update.

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

* pthread_detach.c (pthread_detach): Fix test for invalid TID.

21 years agoUpdate.
Ulrich Drepper [Sun, 6 Apr 2003 22:18:48 +0000 (22:18 +0000)]
Update.

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

* iconv/iconv_prog.c (process_block): Don't print message about
invalid input if the -c option is used.
(main): Correctly append IGNORE string for -c option.

arguments.

21 years agoRegenerated
Ulrich Drepper [Sun, 6 Apr 2003 22:16:16 +0000 (22:16 +0000)]
Regenerated

21 years ago* sysdeps/sh/bits/atomic.h: Moved to ...
Roland McGrath [Sun, 6 Apr 2003 21:04:05 +0000 (21:04 +0000)]
* sysdeps/sh/bits/atomic.h: Moved to ...

* sysdeps/unix/sysv/linux/sh/bits/atomic.h: ... here.  Add comments.
(__arch_compare_and_exchange_val_*_acq): Add parens around macro
        arguments.
(atomic_bit_set, atomic_bit_test_set): Likewise.
(atomic_exchange_and_add): Likewise.  Don't evaluate VALUE argument
twice.
(atomic_add, atomic_add_negative, atomic_add_zero): Likewise.

21 years ago* sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register
Roland McGrath [Sun, 6 Apr 2003 20:59:56 +0000 (20:59 +0000)]
* sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register

restoration as done for setcontext yesterday.

21 years ago2003-04-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 6 Apr 2003 20:59:45 +0000 (20:59 +0000)]
2003-04-06  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register
restoration as done for setcontext yesterday.

21 years ago(process_block): Don't print message about invliad input if the -c option is used.
Ulrich Drepper [Sun, 6 Apr 2003 20:36:19 +0000 (20:36 +0000)]
(process_block): Don't print message about invliad input if the -c option is used.

21 years agoUpdate.
Ulrich Drepper [Sun, 6 Apr 2003 18:58:09 +0000 (18:58 +0000)]
Update.

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

* elf/rtld.c: Revert 2003-03-14 change.
* elf/dl-conflict.c (_dl_resolve_conflicts): Move
#if ! ELF_MACHINE_NO_RELA conditional into the routine.

21 years agoUpdate.
Ulrich Drepper [Sun, 6 Apr 2003 09:28:48 +0000 (09:28 +0000)]
Update.

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

* descr.h (struct pthread): Move cancelhandling member to the front.

21 years agoUpdate.
Ulrich Drepper [Sat, 5 Apr 2003 22:24:12 +0000 (22:24 +0000)]
Update.

* sunrpc/xdr.c (xdr_string): Catch nodesize == 0 [PR libc/4999].

21 years agoUpdate.
Ulrich Drepper [Sat, 5 Apr 2003 22:13:31 +0000 (22:13 +0000)]
Update.

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

* sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
Always initialize *signgamp before returning an error.

21 years agoUpdate.
Ulrich Drepper [Sat, 5 Apr 2003 22:03:35 +0000 (22:03 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/setcontext.S: Rewrite to avoid writing
below the stack pointer even if switching to the same context we are
running right now.

* catgets/gencat.c (read_input_file): Make sure that \n is not
alone on the line before testing for continuation.

* math/test-tgmath.c (compile_test): Initialize c.

21 years agoUpdate.
Ulrich Drepper [Sat, 5 Apr 2003 21:35:28 +0000 (21:35 +0000)]
Update.

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

* math/test-tgmath.c (F): Initialize c.

* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why

21 years agoUpdate.
Ulrich Drepper [Sat, 5 Apr 2003 20:43:40 +0000 (20:43 +0000)]
Update.

* libio/fileops.c (_IO_new_file_fopen): Don't free step data right
after getting them.

21 years ago(_IO_new_file_fopen): Don't free step data right after getting them.
Ulrich Drepper [Sat, 5 Apr 2003 20:36:49 +0000 (20:36 +0000)]
(_IO_new_file_fopen): Don't free step data right after getting them.

21 years ago* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New. * sysdeps/unix/sysv...
Alexandre Oliva [Sat, 5 Apr 2003 19:57:35 +0000 (19:57 +0000)]
* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New. * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New. * sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available on mips n32. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why XSTAT_IS_XSTAT64 must not be used for mips n64.  Use 64-bit data structure on n32 as well. * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant data types on n32 and n64.

2003-04-05  Alexandre Oliva  <aoliva@redhat.com>

* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New.
* sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New.
* sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available
on mips n32.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why
XSTAT_IS_XSTAT64 must not be used for mips n64.  Use 64-bit data
structure on n32 as well.
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant
data types on n32 and n64.

21 years agoUpdate.
Ulrich Drepper [Sat, 5 Apr 2003 09:36:56 +0000 (09:36 +0000)]
Update.

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

* malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If
HAVE_register_atfork_malloc is defined use __register_atfork_malloc
instead of __register_atfork.

21 years agoUpdate.
Ulrich Drepper [Sat, 5 Apr 2003 05:21:15 +0000 (05:21 +0000)]
Update.

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

* sysdeps/pthread/createthread.c (create_thread): Add some more
comments explaining when to set multiple_threads and when not.

* pthreadP.h: Define THREAD_ATOMIC_CMPXCHG_VAL and
THREAD_ATOMIC_BIT_SET if not already defined.
* sysdeps/i386/tls.h: Define THREAD_ATOMIC_CMPXCHG_VAL and
THREAD_ATOMIC_BIT_SET:
* sysdeps/x86_64/tls.h: Likewise.
* cleanup_defer.c (_pthread_cleanup_push_defer): Rewrite to use
THREAD_ATOMIC_CMPXCHG_VAL.
(_pthread_cleanup_pop_restore): Likewise.
* cancellation.c (__pthread_enable_asynccancel): Likewise.
(__pthread_enable_asynccancel_2): Likewise.
(__pthread_disable_asynccancel): Likewise.
* libc-cancellation.c (__libc_enable_asynccancel): Likewise.
(__libc_disable_asynccancel): Likewise.
* init.c (sigcancel_handler): Likewise.
* pthread_setcancelstate.c (__pthread_setcancelstate): Likewise.
* pthread_setcanceltype.c (__pthread_setcanceltype): Likewise.

21 years agoDefine THREAD_ATOMIC_CMPXCHG_VAL and THREAD_ATOMIC_BIT_SET if not already defined.
Ulrich Drepper [Sat, 5 Apr 2003 05:08:05 +0000 (05:08 +0000)]
Define THREAD_ATOMIC_CMPXCHG_VAL and THREAD_ATOMIC_BIT_SET if not already defined.

21 years ago* stdio-common/reg-printf.c (__register_printf_function): Calloc
Roland McGrath [Sat, 5 Apr 2003 00:34:07 +0000 (00:34 +0000)]
* stdio-common/reg-printf.c (__register_printf_function): Calloc

instead of malloc __printf_arginfo_table and __printf_function_table.
Reported by John Reiser <jreiser@BitWagon.com>.

21 years ago* sysdeps/powerpc/powerpc64/strchr.S: 64-bit optimizations.
Roland McGrath [Fri, 4 Apr 2003 22:03:25 +0000 (22:03 +0000)]
* sysdeps/powerpc/powerpc64/strchr.S: 64-bit optimizations.

* sysdeps/powerpc/powerpc64/strlen.S: 64-bit optimizations.

* sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before
defining.

21 years ago2003-04-04 Steven Munroe <sjmunroe@us.ibm.com>
Roland McGrath [Fri, 4 Apr 2003 22:00:47 +0000 (22:00 +0000)]
2003-04-04  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before
defining.

21 years agoUpdate.
Ulrich Drepper [Fri, 4 Apr 2003 07:59:55 +0000 (07:59 +0000)]
Update.

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

* init.c (sigcancel_handler): Don't set EXITING_BIT here.
* libc-cancellation.c (__libc_enable_asynccancel): Likewise.
* pthreadP.h (__do_cancel): Set EXITING_BIT here.
* Makefile (tests): Add tst-cancel11.
* tst-cancel11.c: New file.

21 years ago(sigcancel_handler): Don't set EXITING_BIT here.
Ulrich Drepper [Fri, 4 Apr 2003 07:56:14 +0000 (07:56 +0000)]
(sigcancel_handler): Don't set EXITING_BIT here.

21 years ago* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust for n64 abi.
Alexandre Oliva [Fri, 4 Apr 2003 05:12:00 +0000 (05:12 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust for n64 abi.

2003-04-04  Alexandre Oliva  <aoliva@redhat.com>

* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust
for n64 abi.

21 years ago* configure.in: Fix up use of compilation flags to match the build:
Roland McGrath [Fri, 4 Apr 2003 03:04:08 +0000 (03:04 +0000)]
* configure.in: Fix up use of compilation flags to match the build:

For .s files, $ASFLAGS;
For .S files, $CPPFLAGS $ASFLAGS;
For .c files, $CFLAGS $CPPFLAGS;
when linking, add $LDFLAGS.
* configure: Regenerated.

21 years ago2003-04-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 4 Apr 2003 03:03:58 +0000 (03:03 +0000)]
2003-04-03  Roland McGrath  <roland@redhat.com>

* configure.in: Fix up use of compilation flags to match the build:
For .s files, $ASFLAGS;
For .S files, $CPPFLAGS $ASFLAGS;
For .c files, $CFLAGS $CPPFLAGS;
when linking, add $LDFLAGS.
* configure: Regenerated.

21 years agoUpdate.
Ulrich Drepper [Thu, 3 Apr 2003 19:33:35 +0000 (19:33 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Reverse test
for atomic_compare_and_exchange_bool_acq failure.

21 years agoUpdate.
Ulrich Drepper [Thu, 3 Apr 2003 18:53:31 +0000 (18:53 +0000)]
Update.

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

* pthread.c (pthread_initialize): Unblock __pthread_sig_cancel
in case the parent blocked it.

21 years agoUpdate.
Ulrich Drepper [Thu, 3 Apr 2003 08:22:06 +0000 (08:22 +0000)]
Update.

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

* posix/unistd.h: Define _POSIX_VERSION, _POSIX2_VERSION,
_POSIX2_C_BIND, _POSIX2_C_DEV, _POSIX2_SW_DEV, and
_POSXI2_LOCALEDEF to 200112L.  Remove _POSIX2_C_VERSION.
Remove declaration of pthread_atfork.

21 years agoUpdate.
Ulrich Drepper [Thu, 3 Apr 2003 04:55:51 +0000 (04:55 +0000)]
Update.

* locale/iso-639.def: Add many more languages from the current ISO 639.

21 years agoUpdate.
Ulrich Drepper [Wed, 2 Apr 2003 23:49:47 +0000 (23:49 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/ipc_priv.h: Define IPCOP_semtimedop.
* sysdeps/generic/semtimedop.c: New file.
* sysdeps/unix/sysv/linux/i386/semtimedop.S: New file.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add semtimedop.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysvipc/Makefile (routines): Add semtimedop.
* sysvipc/Versions [GLIBC_2.3.3] (glibc): Add semtimedop.
* sysvipc/sys/sem.h: Declare semtimedop.