platform/upstream/glibc.git
21 years agoUpdate.
Ulrich Drepper [Tue, 7 Jan 2003 02:45:24 +0000 (02:45 +0000)]
Update.

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

* malloc/malloc.c: Makr all _int_* functions as static.

21 years agoUpdate.
Ulrich Drepper [Tue, 7 Jan 2003 00:49:44 +0000 (00:49 +0000)]
Update.

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

* sysdeps/unix/alpha/sysdep.h (PSEUDO): Use PSEUDO_PREPARE_ARGS.
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add cancellation
handling.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 7 Jan 2003 00:42:43 +0000 (00:42 +0000)]
Update.

2003-01-06  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Add branch hint.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Add cancellation
support.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Remove
ftruncate64, truncate64, pread64 and pwrite64 entries.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
(INLINE_SYSCALL): Add __builtin_expect.
(LOADARGS_n): Add argument size safety checks.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: New file.

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

* sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Define.
* sysdeps/generic/creat.c: Include sysdep-cancel.h.
(LIBC_CANCEL_HANDLED): Add.

* sysdeps/unix/sysv/linux/alpha/sysdep.h
(inline_syscall_r0_constraint): Rename to...
(inline_syscall_r0_out_constraint): ... this.  Add =.
(inline_syscall[0-6]): Use inline_syscall_r0_out_constraint.

21 years agoMakefile for Linux/Alpha.
Ulrich Drepper [Mon, 6 Jan 2003 23:51:32 +0000 (23:51 +0000)]
Makefile for Linux/Alpha.

21 years ago* sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Make
Andreas Schwab [Mon, 6 Jan 2003 18:12:00 +0000 (18:12 +0000)]
* sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Make

sure this is always inlined.
(elf_machine_rela): Likewise.

* sysdeps/m68k/Makefile (sysdep-CFLAGS): Increase inline limit.

21 years ago(elf_machine_runtime_setup): Make sure this is always inlined. (elf_machine_rela...
Andreas Schwab [Mon, 6 Jan 2003 18:10:46 +0000 (18:10 +0000)]
(elf_machine_runtime_setup): Make sure this is always inlined. (elf_machine_rela): Likewise.

21 years ago* Makeconfig (+mkdep): Add -MP flag.
Roland McGrath [Mon, 6 Jan 2003 00:42:06 +0000 (00:42 +0000)]
* Makeconfig (+mkdep): Add -MP flag.

Suggested by Art Haas <ahaas@airmail.net>.

21 years ago2003-01-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 6 Jan 2003 00:41:51 +0000 (00:41 +0000)]
2003-01-04  Roland McGrath  <roland@redhat.com>

* Makeconfig (+mkdep): Add -MP flag.
Suggested by Art Haas <ahaas@airmail.net>.

21 years agoBump to 0.15.
Ulrich Drepper [Sun, 5 Jan 2003 20:17:57 +0000 (20:17 +0000)]
Bump to 0.15.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 20:10:01 +0000 (20:10 +0000)]
Update.

* tst-cancel-wrappers.sh: Invoke gawk not awk since we use GNU awk
features.  Reported by Marijn Ros <marijn@mad.scientist.com>.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 19:35:35 +0000 (19:35 +0000)]
Update.

Patch by Marijn Ros <marijn@mad.scientist.com>.

21 years ago* sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC.
Andreas Schwab [Sun, 5 Jan 2003 17:16:17 +0000 (17:16 +0000)]
* sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC.

21 years ago* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (SINGLE_THREAD_P):
Andreas Schwab [Sun, 5 Jan 2003 17:10:02 +0000 (17:10 +0000)]
* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (SINGLE_THREAD_P):

Fix for PIC.
(CENABLE): Likewise.
(CDISABLE): Likewise.

21 years ago(SINGLE_THREAD_P): Fix for PIC. (CENABLE): Likewise. (CDISABLE): Likewise.
Andreas Schwab [Sun, 5 Jan 2003 17:09:21 +0000 (17:09 +0000)]
(SINGLE_THREAD_P): Fix for PIC. (CENABLE): Likewise. (CDISABLE): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 11:26:28 +0000 (11:26 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/sh/clone.S (__clone): Use
SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/sh/pipe.S (__libc_pipe): Likewise.
* sysdeps/unix/sysv/linux/sh/socket.S (__socket): Likewise.
Add support for cancellation handling.
* sysdeps/unix/sysv/linux/sh/syscall.S (__syscall): Use
SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/sh/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Likewise.
Add support for cancellation handling.
(SYSCALL_ERROR_HANDLER): Define PIC variants.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 11:05:49 +0000 (11:05 +0000)]
Update.

2003-01-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Mark
__syscall_pread64 and __syscall_pwrite64 cancelable.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
(INTERNAL_SYSCALL): New macro.
(LOADARGS_0, LOADARGS_1): Fix.

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

* Makerules (build-shlip-helper): Unless told otherwise, add
-Wl,-z,defs to linker command line.
* rt/Makefile (librt.so): Link with ld.so.
* dlfcn/Makefile (libdl.so): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 10:55:15 +0000 (10:55 +0000)]
Update.

2003-01-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile: New file.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 10:21:08 +0000 (10:21 +0000)]
Update.

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

* internals.h (LIBC_THREAD_GETMEM, LIBC_THREAD_SETMEM): Define
even if NOT_IN_libc is defined.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 07:05:40 +0000 (07:05 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Add support for
cancellation handling.
* sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise.

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

* sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Correct
order of parameters passed to kill.

* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Add nanosecond fields.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 04:58:18 +0000 (04:58 +0000)]
Update.

* Makefile (tests): Add tst-cancel7.
(tst-cancel7-ARGS): New variable.

21 years ago(cancel_handler): Correct order of parameters passed to kill.
Ulrich Drepper [Sun, 5 Jan 2003 04:10:16 +0000 (04:10 +0000)]
(cancel_handler): Correct order of parameters passed to kill.

21 years agoinitializer syntax to C99.
Andreas Schwab [Sat, 4 Jan 2003 22:56:19 +0000 (22:56 +0000)]
initializer syntax to C99.

21 years ago* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Add nanosecond
Andreas Schwab [Sat, 4 Jan 2003 22:53:07 +0000 (22:53 +0000)]
* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Add nanosecond

fields.

21 years agoAdd nanosecond fields.
Andreas Schwab [Sat, 4 Jan 2003 22:51:16 +0000 (22:51 +0000)]
Add nanosecond fields.

21 years agoUpdate.
Ulrich Drepper [Sat, 4 Jan 2003 22:41:52 +0000 (22:41 +0000)]
Update.

* sysdeps/posix/system.c (do_system): Minor optimizations.  Remove
unnecessary code.
Correct reference counter in case SIGQUIT handler installation failed.

21 years ago(do_system): Minor optimizations. Remove unnecessary code.
Ulrich Drepper [Sat, 4 Jan 2003 22:37:17 +0000 (22:37 +0000)]
(do_system): Minor optimizations.  Remove unnecessary code.

21 years ago* malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to
Roland McGrath [Sat, 4 Jan 2003 21:42:58 +0000 (21:42 +0000)]
* malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to

(void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
when compiling Bison 1.875's `bitset bset = obstack_alloc
(bobstack, bytes);'.  Problem reported by Nelson H. F. Beebe.

21 years ago2002-01-03 Paul Eggert <eggert@twinsun.com>
Roland McGrath [Sat, 4 Jan 2003 21:42:30 +0000 (21:42 +0000)]
2002-01-03  Paul Eggert  <eggert@twinsun.com>

* malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to
(void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
when compiling Bison 1.875's `bitset bset = obstack_alloc
(bobstack, bytes);'.  Problem reported by Nelson H. F. Beebe.

21 years agoUpdate.
Ulrich Drepper [Sat, 4 Jan 2003 20:42:48 +0000 (20:42 +0000)]
Update.

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

* sysdeps/posix/system.c (do_system): Correct reference counter in
case SIGQUIT handler installation failed.

21 years agoUpdate.
Ulrich Drepper [Sat, 4 Jan 2003 09:45:01 +0000 (09:45 +0000)]
Update.

* old_pthread_cond_broadcast.c: Optimize initialization a bit to work
around gcc defficiencies.
* old_pthread_cond_signal.c: Likewise.
* old_pthread_cond_timedwait.c: Likewise.
* old_pthread_cond_wait.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 4 Jan 2003 08:01:29 +0000 (08:01 +0000)]
Update.

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

* pthreadP.h (pthread_cond_2_0_t): Remove unneeded lock element.

21 years agoUpdate.
Ulrich Drepper [Sat, 4 Jan 2003 02:52:17 +0000 (02:52 +0000)]
Update.

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

21 years agoUpdate.
Ulrich Drepper [Sat, 4 Jan 2003 02:12:26 +0000 (02:12 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S
(condvar_cleanup): Get condvar address from the right place.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 23:46:00 +0000 (23:46 +0000)]
Update.

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

* include/libc-symbols.h [HAVE_WEAK_SYMBOLS] (_weak_extern):
Define using _Pragma(weak ...).

21 years ago[HAVE_WEAK_SYMBOLS] (_weak_extern): Define using _Pragma(weak ...).
Ulrich Drepper [Fri, 3 Jan 2003 23:43:53 +0000 (23:43 +0000)]
[HAVE_WEAK_SYMBOLS] (_weak_extern): Define using _Pragma(weak ...).

21 years ago* td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK
Roland McGrath [Fri, 3 Jan 2003 23:15:04 +0000 (23:15 +0000)]
* td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK

* td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
* td_thr_get_info.c (td_thr_get_info): Likewise.
* td_thr_getgregs.c (td_thr_getgregs): Likewise.
* td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
* td_ta_thr_iter.c (iterate_thread_list): Likewise.

21 years ago2003-01-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 3 Jan 2003 23:14:49 +0000 (23:14 +0000)]
2003-01-03  Roland McGrath  <roland@redhat.com>

* td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK
* td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
* td_thr_get_info.c (td_thr_get_info): Likewise.
* td_thr_getgregs.c (td_thr_getgregs): Likewise.
* td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
* td_ta_thr_iter.c (iterate_thread_list): Likewise.

21 years agoCancellation support for syscalls on Linux/Alpha.
Ulrich Drepper [Fri, 3 Jan 2003 23:12:17 +0000 (23:12 +0000)]
Cancellation support for syscalls on Linux/Alpha.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 22:32:41 +0000 (22:32 +0000)]
Update.

2003-01-03  Andreas Jaeger  <aj@suse.de>, Jakub Jelinek <jakub@redhat.com>

* resolv/res_libc.c: Provide declaration for __res_init_weak and
reorder declarations.

2003-01-03  Art Haas  <ahaas@airmail.net>

* localedata/tests-mbwc/dat_iswalnum.c: Convert GCC extension
initiailzer syntax to C99.
* localedata/tests-mbwc/dat_iswalpha.c: Likewise.
* localedata/tests-mbwc/dat_iswcntrl.c: Likewise.
* localedata/tests-mbwc/dat_iswctype.c: Likewise.
* localedata/tests-mbwc/dat_iswdigit.c: Likewise.
* localedata/tests-mbwc/dat_iswgraph.c: Likewise.
* localedata/tests-mbwc/dat_iswlower.c: Likewise.
* localedata/tests-mbwc/dat_iswprint.c: Likewise.
* localedata/tests-mbwc/dat_iswpunct.c: Likewise.
* localedata/tests-mbwc/dat_iswspace.c: Likewise.
* localedata/tests-mbwc/dat_iswupper.c: Likewise.
* localedata/tests-mbwc/dat_iswxdigit.c: Likewise.
* localedata/tests-mbwc/dat_mblen.c: Likewise.
* localedata/tests-mbwc/dat_mbrlen.c: Likewise.
* localedata/tests-mbwc/dat_mbrtowc.c: Likewise.
* localedata/tests-mbwc/dat_mbsrtowcs.c: Likewise.
* localedata/tests-mbwc/dat_mbstowcs.c: Likewise.
* localedata/tests-mbwc/dat_mbtowc.c: Likewise.
* localedata/tests-mbwc/dat_strcoll.c: Likewise.
* localedata/tests-mbwc/dat_strfmon.c: Likewise.
* localedata/tests-mbwc/dat_strxfrm.c: Likewise.
* localedata/tests-mbwc/dat_swscanf.c: Likewise.
* localedata/tests-mbwc/dat_towctrans.c: Likewise.
* localedata/tests-mbwc/dat_towlower.c: Likewise.
* localedata/tests-mbwc/dat_towupper.c: Likewise.
* localedata/tests-mbwc/dat_wcrtomb.c: Likewise.
* localedata/tests-mbwc/dat_wcscat.c: Likewise.
* localedata/tests-mbwc/dat_wcschr.c: Likewise.
* localedata/tests-mbwc/dat_wcscmp.c: Likewise.
* localedata/tests-mbwc/dat_wcscoll.c: Likewise.
* localedata/tests-mbwc/dat_wcscpy.c: Likewise.
* localedata/tests-mbwc/dat_wcscspn.c: Likewise.
* localedata/tests-mbwc/dat_wcslen.c: Likewise.
* localedata/tests-mbwc/dat_wcsncat.c: Likewise.
* localedata/tests-mbwc/dat_wcsncmp.c: Likewise.
* localedata/tests-mbwc/dat_wcsncpy.c: Likewise.
* localedata/tests-mbwc/dat_wcspbrk.c: Likewise.
* localedata/tests-mbwc/dat_wcsrtombs.c: Likewise.
* localedata/tests-mbwc/dat_wcsspn.c: Likewise.
* localedata/tests-mbwc/dat_wcsstr.c: Likewise.
* localedata/tests-mbwc/dat_wcstod.c: Likewise.
* localedata/tests-mbwc/dat_wcstok.c: Likewise.
* localedata/tests-mbwc/dat_wcstombs.c: Likewise.
* localedata/tests-mbwc/dat_wcswidth.c: Likewise.
* localedata/tests-mbwc/dat_wcsxfrm.c: Likewise.
* localedata/tests-mbwc/dat_wctob.c: Likewise.
* localedata/tests-mbwc/dat_wctomb.c: Likewise.
* localedata/tests-mbwc/dat_wctrans.c: Likewise.
* localedata/tests-mbwc/dat_wctype.c: Likewise.
* localedata/tests-mbwc/dat_wcwidth.c: Likewise.

2003-01-03  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall_r0_asm): New.
(inline_syscall_r0_constraint): New.
(inline_syscall[0-6]): Use them.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 21:15:43 +0000 (21:15 +0000)]
Update.

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

* sysdeps/generic/ldsodefs.h (_dl_allocate_tls, _dl_deallocate_tls):
Add rtld_hidden_proto.
* sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Add rtld_hidden_def.
(_dl_allocate_tls): Likewise.  Remove INTDEF.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 20:44:14 +0000 (20:44 +0000)]
Update.

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

* Makefile ($(objpfx)libpthread.so): Depend on ld.so.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 19:13:49 +0000 (19:13 +0000)]
Update.

* pthreadP.h (pthread_cond_2_0_t): New type.
(struct pthread_functions): Use new type for 2.0 condvar callbacks.
Use new type for the 2.0 condvar function prototypes.
* forward.c: Use pthread_cond_2_0_t for 2.0 condvar functions.
* old_pthread_cond_init.c: Use pthread_cond_2_0_t for condvar
parameter.
* old_pthread_cond_destroy.c: Likewise.
* old_pthread_cond_broadcast.c: Likewise.  Lock appropriately.
* old_pthread_cond_signal.c: Likewise.
* old_pthread_cond_timedwait.c: Likewise.
* old_pthread_cond_wait.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 09:57:28 +0000 (09:57 +0000)]
Update.

2002-07-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/memcpy.S: Optimize.  Based on a patch by Toshiyasu
Morita <toshiyasu.morita@hsa.hitachi.com>.
* sysdeps/sh/memcpy.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 08:14:47 +0000 (08:14 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S
(__pthread_cond_wait): Don't save cancellation mode and seq value
in same location.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 08:11:20 +0000 (08:11 +0000)]
Update.

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

* herrno.c (__h_errno_location): Don't define as weak.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 06:51:18 +0000 (06:51 +0000)]
Update.

* sysdeps/pthread/aio_suspend.c (aio_suspend): Don't quite remove
any, but unify the test.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 06:46:11 +0000 (06:46 +0000)]
Update.

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

* sysdeps/pthread/aio_suspend.c (aio_suspend): Simplify by
removing 'any' variable.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 01:35:14 +0000 (01:35 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction,
sigaction): Protect weak_alias and libc_hidden_weak with
#ifndef LIBC_SIGACTION.
* sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction,
sigaction): Likewise.  Remove SIGCANCEL handling here.
* sysdeps/unix/sysv/linux/sigaction.c (__sigaction, sigaction):
Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Jan 2003 20:32:33 +0000 (20:32 +0000)]
Update.

2003-01-02  Art Haas  <ahaas@airmail.net>

* login/tst-utmp.c: Convert GCC extension initializer syntax to C99.

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

* posix/getconf.c: Update copyright year.
* nss/getent.c: Likewise.
* nscd/nscd_nischeck.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.

* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union
type to avoid strict aliasing problem.
(_nss_dns_gethostbyname2_r): Likewise.
* resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
(_nss_dns_getnetbyname_r): Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Jan 2003 11:01:30 +0000 (11:01 +0000)]
Update.

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

* sysdeps/pthread/bits/pthreadtypes.h (pthread_cond_t): Add padding.
* condvar.c: Add symbol versioning.  The compatibility versions
are the same as the change in the interface does not effect this
implementation.
* Versions [libpthread]: Add definitions for new pthread_cond_*
interfaces for version GLIBC_2.3.2.

21 years agoNot needed anymore.
Ulrich Drepper [Thu, 2 Jan 2003 10:13:48 +0000 (10:13 +0000)]
Not needed anymore.

21 years agoUpdate.
Andreas Jaeger [Thu, 2 Jan 2003 07:51:32 +0000 (07:51 +0000)]
Update.

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

* io/sys/stat.h: Include time.h with __need_timespec even if
__USE_MISC is defined but __USE_XOPEN is not.

21 years agoInclude time.h with __need_timespec even if __USE_MISC is defined but __USE_XOPEN...
Andreas Jaeger [Thu, 2 Jan 2003 07:51:18 +0000 (07:51 +0000)]
Include time.h with __need_timespec even if __USE_MISC is defined but __USE_XOPEN is not.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Jan 2003 07:12:51 +0000 (07:12 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Avoid
unnecessary zero offset when addressing MUTEX.

21 years agoPretty printing.
Ulrich Drepper [Thu, 2 Jan 2003 06:29:48 +0000 (06:29 +0000)]
Pretty printing.

21 years ago (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.
Andreas Jaeger [Wed, 1 Jan 2003 19:56:23 +0000 (19:56 +0000)]
    (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.

21 years ago2003-01-01 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Wed, 1 Jan 2003 16:29:49 +0000 (16:29 +0000)]
2003-01-01  Andreas Jaeger  <aj@suse.de>

        * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union
        type to avoid strict aliasing problem.
        (_nss_dns_gethostbyname2_r): Likewise.
        * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
        (_nss_dns_getnetbyname_r): Likewise.
* resolv/gethnamaddr.c (_gethtent): Likewise.
(gethostbyname2): Likewise.

21 years ago * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union ...
Andreas Jaeger [Wed, 1 Jan 2003 16:29:36 +0000 (16:29 +0000)]
    * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union         type to avoid strict aliasing problem.         (_nss_dns_gethostbyname2_r): Likewise.         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.         (_nss_dns_getnetbyname_r): Likewise.

* resolv/gethnamaddr.c (_gethtent): Likewise.
(gethostbyname2): Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 23:13:55 +0000 (23:13 +0000)]
Update.

2002-12-31  Ulrich Drepper  <drepper@redhat.com>

* string/string-inlines.c: Define __memcpy_g and __strchr_g macros
to avoid using the exported symbols.  Define aliases with the
original names separately.

* include/time.h: Add libc_hidden_proto for __strftime_l.
* include/wchar.h: Add libc_hidden_proto for __wcsftime_l.
* time/strftime.c: Always use libc_hidden_def if _LIBC.

* libio/libioP.h: Add libc_hidden_proto for _IO_file_open.
* libio/fileops.c: Add libc_hidden_def for _IO_file_open.

* malloc/mtrace.c: Add libc_hidden_proto and libc_hidden_def for
tr_break.

* csu/Makefile (routines): Add dso_handle.
* csu/dso_handle.c: New file.

21 years agoDefine our own dso_handle.
Ulrich Drepper [Tue, 31 Dec 2002 22:25:11 +0000 (22:25 +0000)]
Define our own dso_handle.

21 years ago* Makerules (compile.S, COMPILE.S): Remove -DASSEMBLER here.
Roland McGrath [Tue, 31 Dec 2002 21:15:05 +0000 (21:15 +0000)]
* Makerules (compile.S, COMPILE.S): Remove -DASSEMBLER here.

Use $(S-CPPFLAGS) in place of $(asm-CPPFLAGS).
(S-CPPFLAGS): Add -DASSEMBLER here instead.
(generate-md5, +make-deps): Fix magic to get $(S-CPPFLAGS).

21 years ago2002-12-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Dec 2002 21:14:21 +0000 (21:14 +0000)]
2002-12-31  Roland McGrath  <roland@redhat.com>

* Makerules (compile.S, COMPILE.S): Remove -DASSEMBLER here.
Use $(S-CPPFLAGS) in place of $(asm-CPPFLAGS).
(S-CPPFLAGS): Add -DASSEMBLER here instead.
(generate-md5, +make-deps): Fix magic to get $(S-CPPFLAGS).

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 21:10:07 +0000 (21:10 +0000)]
Update.

2002-12-31  Ulrich Drepper  <drepper@redhat.com>

* malloc/thread-m.h [SHARED] (thread_atfork): Assume __dso_handle
is available.

* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Re-add

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 20:46:11 +0000 (20:46 +0000)]
Update.

* io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat.
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for
nsec resolution changes.
(xstat64_conv): Likewise.
(xstat32_conv): Likewise.
* sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for
struct kernel_stat.
* sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for
structs stat and stat64.
* time/time.h (__timespec_defined): Define for __USE_MISC.

2002-12-31  Ulrich Drepper  <drepper@redhat.com>

* include/signal.h: Add libc_hidden_proto for __libc_current_sigrtmin
and __libc_current_sigrtmax.

2002-12-31  Jakub Jelinek  <jakub@redhat.com>

* include/errno.h (__errno_location): Add prototype.
Use libc_hidden_proto unconditionally.
* include/netdb.h (__h_errno_location): Use libc_hidden_proto
unconditionally.
* include/resolv.h (__res_state): Likewise.

* hurd/errno-loc.c (__errno_location): Add libc_hidden_def.
* include/sys/socket.h (accept): Add libc_hidden_proto.
* include/errno.h (__errno_location): Likewise.
* include/netdb.h (__h_errno_location): Likewise.
* include/resolv.h (__res_state): Likewise.
* include/unistd.h (__lseek): Likewise.
* sysdeps/generic/errno-loc.c (__errno_location): Add libc_hidden_def.
* sysdeps/generic/herrno-loc.c (__h_errno_location): Likewise.
* sysdeps/generic/res-state.c (__res_state): Likewise.
* sysdeps/generic/accept.c (accept): Likewise.
* sysdeps/generic/lseek.c (__lseek): Likewise.
* sysdeps/generic/allocrtsig.c (__libc_current_sigrtmin,
__libc_current_sigrtmax): Likewise.
* sysdeps/mach/hurd/accept.c (accept): Likewise.
* sysdeps/mach/hurd/lseek.c (__lseek): Likewise.
* sysdeps/unix/sysv/aix/accept.c (accept): Likewise.
* sysdeps/unix/sysv/aix/lseek.c (__lseek): Likewise.
* sysdeps/unix/sysv/linux/accept.S (accept): Likewise.
* sysdeps/unix/inet/syscalls.list (__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___lseek): New
alias to llseek.
(__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/mips/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___lseek):
New alias to llseek.
(__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__GI_accept):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI_accept):
Likewise.
* sysdeps/unix/syscalls.list (__GI___lseek): New alias to lseek.

* sysdeps/alpha/setjmp.S : Use libc_hidden_def(name) instead of
strong_alias (name, __GI_name).
* sysdeps/arm/bsd-_setjmp.S : Likewise.
* sysdeps/hppa/bsd-_setjmp.S : Likewise.
* sysdeps/i386/bsd-_setjmp.S : Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S : Likewise.
* sysdeps/mips/bsd-_setjmp.S : Likewise.
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S : Likewise.
* sysdeps/powerpc/powerpc64/setjmp.S : Likewise.
* sysdeps/s390/s390-32/elf/setjmp.S : Likewise.
* sysdeps/s390/s390-32/bsd-_setjmp.S : Likewise.
* sysdeps/s390/s390-64/elf/setjmp.S : Likewise.
* sysdeps/s390/s390-64/bsd-_setjmp.S : Likewise.
* sysdeps/sh/bsd-_setjmp.S : Likewise.
* sysdeps/sparc/sparc32/setjmp.S : Likewise.
* sysdeps/unix/arm/fork.S : Likewise.
* sysdeps/unix/bsd/hp/m68k/vfork.S : Likewise.
* sysdeps/unix/bsd/i386/vfork.S : Likewise.
* sysdeps/unix/bsd/osf/alpha/fork.S : Likewise.
* sysdeps/unix/bsd/sun/m68k/vfork.S : Likewise.
* sysdeps/unix/bsd/ultrix4/mips/vfork.S : Likewise.
* sysdeps/unix/bsd/vax/vfork.S : Likewise.
* sysdeps/unix/i386/fork.S : Likewise.
* sysdeps/unix/mips/fork.S : Likewise.
* sysdeps/unix/sparc/fork.S : Likewise.
* sysdeps/unix/sparc/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/arm/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/cris/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/i386/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/fork.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/m68k/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/sh/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/fork.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/x86_64/vfork.S : Likewise.
* sysdeps/unix/fork.S : Likewise.
* sysdeps/vax/bsd-_setjmp.S : Likewise.
* sysdeps/x86_64/bsd-_setjmp.S : Likewise.

* sysdeps/unix/sysv/linux/ia64/sysdep.h: Guard against multiple
inclusion.

21 years ago[libc] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get, __libc_internal_tsd_set,...
Ulrich Drepper [Tue, 31 Dec 2002 20:24:10 +0000 (20:24 +0000)]
[libc] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get, __libc_internal_tsd_set, __libc_internal_tsd_address, __libc_alloca_cutoff. [libpthread] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get, __libc_internal_tsd_set, __libc_internal_tsd_address.

21 years agoUpdate.
Andreas Jaeger [Tue, 31 Dec 2002 13:24:50 +0000 (13:24 +0000)]
Update.

2002-12-31  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
with Linux kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.

* sysdeps/unix/sysv/linux/kernel_stat.h
(_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.

* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Readd
__unused[1-3] since they're needed by some platforms.  Handle
_HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.

* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
for structs stat and stat64.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.

        * io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct
        stat.

        * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for
        nsec resolution changes.
        (xstat64_conv): Likewise.
        (xstat32_conv): Likewise.

        * sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for
        struct kernel_stat.

        * sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for
        structs stat and stat64.

        * time/time.h (__timespec_defined): Define for __USE_MISC.

21 years ago* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
Andreas Jaeger [Tue, 31 Dec 2002 13:24:35 +0000 (13:24 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync

with Linux kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/kernel_stat.h
(_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.

* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Readd
__unused[1-3] since they're needed by some platforms.  Handle
_HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.

* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
for structs stat and stat64.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 11:12:11 +0000 (11:12 +0000)]
Update.

* include/unistd.h: Add libc_hidden_proto for __fork and __vfork.
* sysdeps/generic/fork.c: Add libc_hidden_def for __fork.
* sysdeps/mach/hurd/fork.c: Likewise.
* sysdeps/unix/sysv/aix/fork.c: Likewise.
* sysdeps/unix/fork.S: Add __GI___fork alias.
* sysdeps/unix/arm/fork.S: Likewise.
* sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
* sysdeps/unix/i386/fork.S: Likewise.
* sysdeps/unix/mips/fork.S: Likewise.
* sysdeps/unix/sparc/fork.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/fork.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/generic/vfork.c: Add libc_hidden_def for __vfork.
* sysdeps/unix/bsd/hp/m68k/vfork.S: Add __GI___vfork alias.
* sysdeps/unix/bsd/i386/vfork.S: Likewise.
* sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
* sysdeps/unix/bsd/vax/vfork.S: Likewise.
* sysdeps/unix/sparc/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/cris/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 10:25:10 +0000 (10:25 +0000)]
Update.

* include/time.h: Add libc_hidden_proto for __nanosleep.
* sysdeps/generic/nanosleep.c: Add libc_hidden_def for __nanosleep.
* sysdeps/mach/nanosleep.c: Likewise.
* sysdeps/unix/sysv/aix/nanosleep.c: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Add __GI___nanosleep alias.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 10:06:16 +0000 (10:06 +0000)]
Update.

* libio/libioP.h: Add libc_hidden_proto for _IO_list_lock,
_IO_list_unlock, and _IO_list_resetlock.
* libio/genops.c: Add libc_hidden_def for _IO_list_lock,
_IO_list_unlock, and _IO_list_resetlock.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 09:56:50 +0000 (09:56 +0000)]
Update.

* libio/libioP.h: Add libc_hidden_proto for _IO_iter_begin,
_IO_iter_end, _IO_iter_next, and _IO_iter_file.
* libio/genops.c: Add libc_hidden_def for _IO_iter_begin,
_IO_iter_end, _IO_iter_next, and _IO_iter_file.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 09:46:42 +0000 (09:46 +0000)]
Update.

* include/setjmp.h: Add libc_hidden_proto for __libc_longjmp.
* sysdeps/generic/longjmp.c: Add libc_hidden_def for __longjmp.
* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
__GI___longjmp alias.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 09:36:52 +0000 (09:36 +0000)]
Update.

2002-12-31  Ulrich Drepper  <drepper@redhat.com>

* include/setjmp.h: Add libc_hidden_proto for _setjmp.
* sysdeps/alpha/setjmp.S: Add __GI__setjmp alias.
* sysdeps/arm/bsd-_setjmp.S: Likewise.
* sysdeps/generic/bsd-_setjmp.c: Likewise.
* sysdeps/hppa/bsd-_setjmp.S: Likewise.
* sysdeps/i386/bsd-_setjmp.S: Likewise.
* sysdeps/m68k/bsd-_setjmp.c: Likewise.
* sysdeps/mips/bsd-_setjmp.S: Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
* sysdeps/s390/s390-32/bsd-_setjmp.S: Likewise.
* sysdeps/s390/s390-32/elf/setjmp.S: Likewise.
* sysdeps/s390/s390-64/bsd-_setjmp.S: Likewise.
* sysdeps/s390/s390-64/elf/setjmp.S: Likewise.
* sysdeps/sh/bsd-_setjmp.S: Likewise.
* sysdeps/sparc/sparc32/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
* sysdeps/vax/bsd-_setjmp.S: Likewise.
* sysdeps/x86_64/bsd-_setjmp.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 08:00:19 +0000 (08:00 +0000)]
Update.

2002-12-30  Ulrich Drepper  <drepper@redhat.com>

* malloc/thread-m.h (thread_atfork): Define using __register_atfork.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 06:54:17 +0000 (06:54 +0000)]
Update.

2002-12-30  Ulrich Drepper  <drepper@redhat.com>

* init.c (__pthread_initialize_minimal_internal): Don't mark as
constructor.

2002-12-31  Jakub Jelinek  <jakub@redhat.com>

* Makefile ($(inst_libdir)/libpthread.so): Depend on
$(common-objpfx)format.lds, include that into the output script.
Fix comment.
(extra-B-pthread.so): Change linuxthreads/ into nptl/.

* io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat.

21 years ago($(inst_libdir)/libpthread.so): Depend on $(common-objpfx)format.lds, include that...
Ulrich Drepper [Tue, 31 Dec 2002 06:53:45 +0000 (06:53 +0000)]
($(inst_libdir)/libpthread.so): Depend on $(common-objpfx)format.lds, include that into the output script.  Fix comment. (extra-B-pthread.so): Change linuxthreads/ into nptl/.

21 years ago* Rules (generated): Target removed.
Roland McGrath [Tue, 31 Dec 2002 02:04:48 +0000 (02:04 +0000)]
* Rules (generated): Target removed.

* mach/Makefile (generated): Define it here instead.

21 years ago2002-12-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Dec 2002 02:04:37 +0000 (02:04 +0000)]
2002-12-30  Roland McGrath  <roland@redhat.com>

* Rules (generated): Target removed.
* mach/Makefile (generated): Define it here instead.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 01:46:45 +0000 (01:46 +0000)]
Update.

2002-12-30  Ulrich Drepper  <drepper@redhat.com>

* math/Makefile (generated): Remove definition.  Needs to be fixed.

might already be gone.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 00:06:24 +0000 (00:06 +0000)]
Update.

2002-12-30  Jakub Jelinek  <jakub@redhat.com>

* forward.c: Make all functions available by default again.  It
caused too much trouble.
* internals.h (struct pthread_functions): Rename ptr_pthread_exit
and ptr_pthread_attr_init_2_* to ptr___pthread_exit and
ptr___pthread_attr_init_2_*.
* pthread.c (pthread_functions): Adjust.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 23:45:39 +0000 (23:45 +0000)]
Update.

2002-12-30  Jakub Jelinek  <jakub@redhat.com>

* forward.c (FORWARD2): Renamed from FORWARD3.  Remove unused export
argument.
(pthread_attr_init_2_0, pthread_attr_init_2_1): Use FORWARD macro.
(pthread_exit): Use strong_alias to avoid warnings.
* pthreadP.h (struct pthread_functions): Rename ptr_pthread_exit
and ptr_pthread_attr_init_2_* to ptr___pthread_exit and
ptr___pthread_attr_init_2_*.
* init.c (pthread_functions): Adjust.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 21:24:18 +0000 (21:24 +0000)]
Update.

* elf/dl-close.c (_dl_close): Handle relocation dependencies among
the to-be-deleted objects right away instead of later separately.
The latter fails because the scope data structures of the DSO
might already have gone.

21 years ago* math/Makefile (generated): Add m_*l and m_*f variants too.
Roland McGrath [Mon, 30 Dec 2002 21:20:31 +0000 (21:20 +0000)]
* math/Makefile (generated): Add m_*l and m_*f variants too.

21 years ago2002-12-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Dec 2002 21:20:24 +0000 (21:20 +0000)]
2002-12-30  Roland McGrath  <roland@redhat.com>

* math/Makefile (generated): Add m_*l and m_*f variants too.

21 years ago(_dl_close): Handle relocation dependencies among the to-be-deleted objects right...
Ulrich Drepper [Mon, 30 Dec 2002 21:15:31 +0000 (21:15 +0000)]
(_dl_close): Handle relocation dependencies among the to-be-deleted objects right away instead of later separately.  The latter fails because the scope data structures of the DSO might already have gone.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 20:25:40 +0000 (20:25 +0000)]
Update.

2002-12-30  Ulrich Drepper  <drepper@redhat.com>

* elf/Makefile: Add rules to build and run reldep8 test.
* elf/reldep8.c: New file.
* elf/reldep8mod1.c: New file.
* elf/reldep8mod2.c: New file.
* elf/reldep8mod3.c: New file.
Contributed by Jakub Jelinek.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 02:31:19 +0000 (02:31 +0000)]
Update.

2002-12-24  GOTO Masanori  <gotom@debian.or.jp>

* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
checking of return value ENOSYS from getdents64.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 01:17:52 +0000 (01:17 +0000)]
Update.

* forward.c: Make all functions available by default again.  It
caused too much trouble.

21 years agoMake all functions available by default again. It caused too much trouble.
Ulrich Drepper [Mon, 30 Dec 2002 01:17:13 +0000 (01:17 +0000)]
Make all functions available by default again.  It caused too much trouble.

21 years ago* sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d.
Roland McGrath [Mon, 30 Dec 2002 00:12:56 +0000 (00:12 +0000)]
* sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d.

($(common-objpfx)s-%.d): Generalized from
$(common-objpfx)s-proto.d rule.
(common-generated): Add s-proto-cancel.d.
* sysdeps/unix/make-syscalls.sh: Use s-proto-cancel.d for
cancellable syscalls.
* sysdeps/unix/s-proto-cancel.S: New file.

21 years ago* resolv/res_libc.c: Move _res defn magic after res_init defn
Roland McGrath [Mon, 30 Dec 2002 00:10:07 +0000 (00:10 +0000)]
* resolv/res_libc.c: Move _res defn magic after res_init defn

so _res macro is in effect for that code.

21 years ago* Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed
Roland McGrath [Sun, 29 Dec 2002 21:01:00 +0000 (21:01 +0000)]
* Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed

pattern for prepending $(..) so it doesn't affect $(foo).

21 years ago* math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).
Roland McGrath [Sun, 29 Dec 2002 20:56:59 +0000 (20:56 +0000)]
* math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).

21 years ago2002-12-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 29 Dec 2002 20:56:54 +0000 (20:56 +0000)]
2002-12-29  Roland McGrath  <roland@redhat.com>

* math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Dec 2002 19:30:24 +0000 (19:30 +0000)]
Update.

2002-12-29  Jakub Jelinek  <jakub@redhat.com>

* elf/cache.c (add_to_cache): Don't loop forever with 1ULL << 63 set
in hwcap.

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Dec 2002 10:19:13 +0000 (10:19 +0000)]
Update.

2002-12-29  Ulrich Drepper  <drepper@redhat.com>

* pt-siglongjmp.c: Removed.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 22:19:04 +0000 (22:19 +0000)]
Update.

2002-12-28  Ulrich Drepper  <drepper@redhat.com>

* misc/sys/cdefs.h (__attribute_deprecated__): New #define.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 21:08:38 +0000 (21:08 +0000)]
Update.

2002-12-28  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/readelflib.c (process_elf_file): Cast value to
avoid warning.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 10:24:40 +0000 (10:24 +0000)]
Update.

* inet/herrno.c (__h_errno_location): Remove.
* inet/Makefile (routines): Add herrno-loc.
* resolv/res_libc.c (__res_state): Remove.
* resolv/Makefile (routines): Add res-state.
* sysdeps/generic/herrno-loc.c: New file.
* sysdeps/generic/res-state.c: New file.

2002-12-27  Jakub Jelinek  <jakub@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 09:58:41 +0000 (09:58 +0000)]
Update.

2002-12-27  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
Only define if USE_DL_SYSINFO is defined.

2002-12-22  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/ia64/sysdep.h (INLINE_SYSCALL,
INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERROR):
Define. Patch by Richard Henderson and Jes Sorensen.
(PSEUDO): Remove unnecessary ;;.
* elf/rtld.c (dl_main): Initialize TLS even if no PT_TLS segments
are found unless TLS_INIT_TP_EXPENSIVE.  Use NONTLS_INIT_TP.
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Use NONTLS_INIT_TP
if not initializing thread pointer.
[!USE_TLS && NONTLS_INIT_TP] (__pthread_initialize_minimal): New.
* sysdeps/generic/libc-start.c (__pthread_initialize_minimal): Don't
make it weak also if NONTLS_INIT_TP.
* sysdeps/unix/common/pause.c: Handle cancellation.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h [DONT_LOAD_G1]
(LOADSYSCALL): Remove.
(SYSCALL_ERROR_HANDLER_ENTRY): Define.
(SYSCALL_ERROR_HANDLER): Use it.
(PSEUDO): Don't jump around error handler.
* sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__libc_pipe): Don't
jump around error handler.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S (syscall): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Branch
to __syscall_error_handler on failure.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [DONT_LOAD_G1]
(LOADSYSCALL): Remove.
(SYSCALL_ERROR_HANDLER_ENTRY): Define.
(SYSCALL_ERROR_HANDLER): Use it.
(PSEUDO): Don't jump around error handler.
* sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__libc_pipe): Don't
jump around error handler.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S (syscall): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/socket.S (__socket): Branch
to __syscall_error_handler on failure.