platform/upstream/glibc.git
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.

21 years agoGeneric semtimedop implementation.
Ulrich Drepper [Wed, 2 Apr 2003 23:44:57 +0000 (23:44 +0000)]
Generic semtimedop implementation.

21 years ago* configure.in: Check for __register_frame_info in both
Roland McGrath [Wed, 2 Apr 2003 20:03:30 +0000 (20:03 +0000)]
* configure.in: Check for __register_frame_info in both

-lgcc and -lgcc_eh.
* configure: Regenerated.

21 years ago* Makefile (libpthread-routines): Add pthread_atfork.
Roland McGrath [Wed, 2 Apr 2003 09:20:07 +0000 (09:20 +0000)]
* Makefile (libpthread-routines): Add pthread_atfork.

(libpthread-static-only-routines): Add pthread_atfork.

21 years ago2003-04-02 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Wed, 2 Apr 2003 09:19:59 +0000 (09:19 +0000)]
2003-04-02  Jakub Jelinek  <jakub@redhat.com>

* Makefile (libpthread-routines): Add pthread_atfork.
(libpthread-static-only-routines): Add pthread_atfork.

21 years agoUpdate.
Ulrich Drepper [Wed, 2 Apr 2003 04:57:59 +0000 (04:57 +0000)]
Update.

21 years agoUndo last change.
Ulrich Drepper [Wed, 2 Apr 2003 04:57:15 +0000 (04:57 +0000)]
Undo last change.

21 years agoMerged in current data for powerpc-.*-linux.*/notls.
Roland McGrath [Wed, 2 Apr 2003 04:39:52 +0000 (04:39 +0000)]
Merged in current data for powerpc-.*-linux.*/notls.

21 years agoMerged in current data for most platforms.
Roland McGrath [Wed, 2 Apr 2003 04:24:30 +0000 (04:24 +0000)]
Merged in current data for most platforms.

21 years agoUpdate.
Ulrich Drepper [Wed, 2 Apr 2003 04:02:00 +0000 (04:02 +0000)]
Update.

* Makefile (tests): Add tst-tsd3.c and tst-tsd4.
* tst-tsd4.c: New file.

21 years agoCheck PTHREAD_DESTRUCTOR_ITERATIONS handling.
Ulrich Drepper [Wed, 2 Apr 2003 04:00:53 +0000 (04:00 +0000)]
Check PTHREAD_DESTRUCTOR_ITERATIONS handling.

21 years ago* scripts/abilist.awk: Allow dots in soname suffix.
Roland McGrath [Wed, 2 Apr 2003 04:00:15 +0000 (04:00 +0000)]
* scripts/abilist.awk: Allow dots in soname suffix.

* scripts/abilist.awk (emit): Fix bailout condition.

21 years ago(tests): Add tst-tsd4.
Ulrich Drepper [Wed, 2 Apr 2003 04:00:15 +0000 (04:00 +0000)]
(tests): Add tst-tsd4.

21 years ago2003-04-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Apr 2003 04:00:03 +0000 (04:00 +0000)]
2003-04-01  Roland McGrath  <roland@redhat.com>

* scripts/abilist.awk: Allow dots in soname suffix.
* scripts/abilist.awk (emit): Fix bailout condition.

21 years agoUpdate.
Ulrich Drepper [Wed, 2 Apr 2003 03:51:24 +0000 (03:51 +0000)]
Update.

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

* pthread_create.c (deallocate_tsd): Clear/free memory after the last
round, not the first.  Use specific_used flag instead of local
found_nonzero variable.  Use THREAD_[SG]ETMEM where possible.
(__free_tcb): Don't call deallocate_tsd here.
(start_thread): Call deallocate_tsd here.
* pthread_setspecific.c: Set specific_used flag really only when
needed.
* Makefile (tests): Add tst-tsd3.c
* tst-tsd3.c: New file.

21 years ago(do_test): Make static.
Ulrich Drepper [Wed, 2 Apr 2003 00:36:44 +0000 (00:36 +0000)]
(do_test): Make static.

21 years ago* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the
Roland McGrath [Wed, 2 Apr 2003 00:11:05 +0000 (00:11 +0000)]
* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the

IA-64 version.

21 years ago2003-04-01 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Wed, 2 Apr 2003 00:06:44 +0000 (00:06 +0000)]
2003-04-01  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the
IA-64 version.

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

* elf/tls-macros.h [__ia64__] (TLS_IE, TLS_LD, TLS_GD): Add gp
register as input to asm.

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

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Apr 2003 19:04:03 +0000 (19:04 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (sigevent_t): Fix a typo.

21 years agosigevent_t): Fix a typo.
Ulrich Drepper [Tue, 1 Apr 2003 19:01:17 +0000 (19:01 +0000)]
sigevent_t): Fix a typo.

21 years ago* configure.in: Output as/ld as name if version is too old.
Andreas Jaeger [Tue, 1 Apr 2003 06:53:27 +0000 (06:53 +0000)]
* configure.in: Output as/ld as name if version is too old.

2003-04-01  Andreas Jaeger  <aj@suse.de>

* configure.in: Output as/ld as name if version is too old.

21 years ago* configure.in: Don't require an installed C library in the test
Roland McGrath [Tue, 1 Apr 2003 06:50:04 +0000 (06:50 +0000)]
* configure.in: Don't require an installed C library in the test

for ".set" assembler support.
* configure: Regenerated.

2003-03-31  Roland McGrath  <roland@redhat.com>

* signal/tst-sigset.c: New file.
* signal/Makefile (tests): Add it.

21 years ago2003-03-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 1 Apr 2003 06:49:23 +0000 (06:49 +0000)]
2003-03-31  Roland McGrath  <roland@redhat.com>

* signal/tst-sigset.c: New file.
* signal/Makefile (tests): Add it.

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

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

* sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Define to 65.
* sysdeps/unix/sysv/linux/hppa/bits/signum.h (_NSIG): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Likewise.
* sysdeps/unix/sysv/linux/bits/signum.h (_NSIG): Likewise.
(__SIGRTMAX): Adjust accordingly.
* sysdeps/gnu/siglist.c: If OLD2_SIGLIST_SIZE is defined define
second compatibility symbol set.
* sysdeps/unix/sysv/linux/siglist.h (OLD2_SIGLIST_SIZE): Define.

* intl/po2test.sed: Unify the transformations for msgid and msgstr
and remove a useless s/// command.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Apr 2003 01:24:00 +0000 (01:24 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (__lll_mutex_lock):
Use atomic_exchange_and_add instead of __lll_add.
(__lll_mutex_timedlock): Likewise.
Patch by Ian Wienand.

2003-03-24  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
(SINGLE_THREAD_P): Fix typo.
* tst-cancel-wrappers.sh: Handle '.'ed symbols.

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

* Makefile (tests): Add tst-align.
* tst-align.c: New file.
* sysdeps/i386/Makefile: Define CFLAGS-tst-align.
* sysdeps/x86_64/Makefile: Likewise.

* tst-tsd2.c: Add casts to avoid warnings.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Apr 2003 00:55:22 +0000 (00:55 +0000)]
Update.

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

* sysdeps/i386/tls.h (CALL_THREAD_FCT): Align stack of called
function correctly.

21 years ago(CALL_THREAD_FCT): Align stack of called function correctly.
Ulrich Drepper [Tue, 1 Apr 2003 00:53:02 +0000 (00:53 +0000)]
(CALL_THREAD_FCT): Align stack of called function correctly.

21 years ago* alloca_cutoff.c: Include internals.h. * sysdeps/pthread/errno-loc.c: Include linuxt...
Alexandre Oliva [Tue, 1 Apr 2003 00:52:40 +0000 (00:52 +0000)]
* alloca_cutoff.c: Include internals.h. * sysdeps/pthread/errno-loc.c: Include linuxthreads/internals.h. * sysdeps/pthread/herrno-loc.c: Likewise. * sysdeps/pthread/res-state.c: Likewise.

2003-03-31  Alexandre Oliva  <aoliva@redhat.com>

* alloca_cutoff.c: Include internals.h.
* sysdeps/pthread/errno-loc.c: Include linuxthreads/internals.h.
* sysdeps/pthread/herrno-loc.c: Likewise.
* sysdeps/pthread/res-state.c: Likewise.

21 years agoFix comment.
Ulrich Drepper [Mon, 31 Mar 2003 18:43:29 +0000 (18:43 +0000)]
Fix comment.

21 years agoFix comment.
Ulrich Drepper [Mon, 31 Mar 2003 18:42:30 +0000 (18:42 +0000)]
Fix comment.

21 years ago*** empty log message ***
Andreas Schwab [Mon, 31 Mar 2003 16:01:18 +0000 (16:01 +0000)]
*** empty log message ***

2003-03-31  Andreas Schwab  <schwab@suse.de>

* sysdeps/m68k/m68020/bits/atomic.h (atomic_increment_and_test):
Define.
(atomic_decrement_and_test): Fix test.

21 years ago(atomic_increment_and_test): Define. (atomic_decrement_and_test): Fix test.
Andreas Schwab [Mon, 31 Mar 2003 16:01:09 +0000 (16:01 +0000)]
(atomic_increment_and_test): Define. (atomic_decrement_and_test): Fix test.

21 years ago* sysdeps/sparc/sparc32/bits/atomic.h: New file.
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.

21 years ago* scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone.
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.

21 years ago* intl/po2test.sed: Anchor substitution regexps to fix last change.
Roland McGrath [Sun, 30 Mar 2003 21:55:55 +0000 (21:55 +0000)]
* intl/po2test.sed: Anchor substitution regexps to fix last change.

21 years ago2003-03-30 Roland McGrath <roland@redhat.com>
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.

21 years agoUpdate.
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.

21 years ago(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.

21 years ago2003-03-29 Paolo Bonzini <bonzini@gnu.org>
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.

21 years ago2003-03-29 Paolo Bonzini <bonzini@gnu.org>
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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].

21 years agoUpdate.
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.

21 years ago(libpthread-routines): Add pthread_atfork. (libpthread-static-only-routines): Add...
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.

21 years ago* configure.in: Add mips64* support. * configure: Rebuilt. * sysdeps/mips/bits/endian...
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.

21 years ago* sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Re-introduce ENTRY.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years ago(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.

21 years ago* elf/vismod.h (getvarlocal1): Return const char **.
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.

21 years ago2003-03-26 H.J. Lu <hjl@gnu.org>
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.

21 years agoUpdate.
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.

21 years agoInclude nptl/descr.h after the definition of TLS_DTV_AT_TP. (INSTALL_DTV): Add parens...
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.

21 years ago* scripts/abilist.awk: If given -v filename_regexp and/or -v
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.

21 years ago* scripts/abilist.awk: When given -v combine=1, do parse_names and
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.

21 years ago* sysdeps/powerpc/bits/atomic.h [! __powerpc64__]
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.

21 years ago2003-03-27 Roland McGrath <roland@redhat.com>
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.

21 years ago* sysdeps/unix/mips/sysdep.S: Include sys/asm.h.
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.

21 years agoBump to 0.32.
Ulrich Drepper [Fri, 28 Mar 2003 06:53:54 +0000 (06:53 +0000)]
Bump to 0.32.

21 years agoUpdate.
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.

21 years agoDon't declare __timer_helper_thread. Declare __start_helper_thread, __helper_once...
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.

21 years ago* sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
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.

21 years agoUpdate.
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.

21 years agoRemove libmd5script goal.
Ulrich Drepper [Fri, 28 Mar 2003 01:13:00 +0000 (01:13 +0000)]
Remove libmd5script goal.

21 years ago* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Restore
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.

21 years ago2003-03-25 Jakub Jelinek <jakub@redhat.com>
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.

21 years ago(distribute): Add missing line continuation.
Ulrich Drepper [Thu, 27 Mar 2003 23:57:15 +0000 (23:57 +0000)]
(distribute): Add missing line continuation.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years ago* scripts/rpm2dynsym.sh: New file.
Roland McGrath [Thu, 27 Mar 2003 22:48:58 +0000 (22:48 +0000)]
* scripts/rpm2dynsym.sh: New file.

* Makefile (distribute): Add it.

21 years ago2003-03-27 Roland McGrath <roland@redhat.com>
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.

21 years agoBump to 0.31.
Ulrich Drepper [Thu, 27 Mar 2003 21:19:02 +0000 (21:19 +0000)]
Bump to 0.31.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years ago(__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.

21 years ago* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Fix
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.

21 years agoFix offset of cleanupbuf.__prev.
Jakub Jelinek [Thu, 27 Mar 2003 12:43:08 +0000 (12:43 +0000)]
Fix offset of cleanupbuf.__prev.