kopensolaris-gnu/glibc.git
17 years ago(re_dfa_add_node): Remove the substitutions which became useless.
drepper [Sat, 12 Oct 2002 08:33:12 +0000 (08:33 +0000)]
(re_dfa_add_node): Remove the substitutions which became useless.
(create_ci_newstate): Remove the handling OP_CONTEXT_NODE.
(create_cd_newstate): Likewise.

17 years ago(re_compile_fastmap_iter): Remove the handling OP_CONTEXT_NODE.
drepper [Sat, 12 Oct 2002 08:32:40 +0000 (08:32 +0000)]
(re_compile_fastmap_iter): Remove the handling OP_CONTEXT_NODE.
(regfree): Likewise.
(create_initial_state): Likewise.
(analyze): Remove the substitutions which became useless.
(calc_first): Likewise.
(calc_epsdest): Use edests of OP_BACK_REF in case that it has
epsilon destination.
(duplicate_node_closure): New function.
(duplicate_node): Remove the handling OP_CONTEXT_NODE.
(calc_inveclosure): Likewise.
(calc_eclosure): Likewise.
(calc_eclosure_iter): Invoke duplicate_node_closure instead of
direct invocation of duplicate_node.
(parse): Don't use comma operator in the return to avoid compiler
warning.
(parse_reg_exp): Likewise.
(parse_branch): Likewise.
(parse_expression): Likewise.
(parse_sub_exp): Likewise.
(parse_dup_op): Likewise.

17 years ago(INLINE_SYSCALL): Use __builtin_expect.
drepper [Sat, 12 Oct 2002 08:31:30 +0000 (08:31 +0000)]
(INLINE_SYSCALL): Use __builtin_expect.

17 years agoUpdate.
drepper [Sat, 12 Oct 2002 06:34:56 +0000 (06:34 +0000)]
Update.

17 years ago(_dl_map_object_from_fd): Remove unnecessarily duplicated variable c.
drepper [Sat, 12 Oct 2002 06:34:23 +0000 (06:34 +0000)]
(_dl_map_object_from_fd): Remove unnecessarily duplicated variable c.

17 years ago(INTERNAL_SYSCALL_ERROR_P): Add cast for safety.
drepper [Sat, 12 Oct 2002 02:07:29 +0000 (02:07 +0000)]
(INTERNAL_SYSCALL_ERROR_P): Add cast for safety.

17 years agoUpdate.
drepper [Sat, 12 Oct 2002 00:49:44 +0000 (00:49 +0000)]
Update.

17 years ago(__sigwait): Use INTERNAL_SYSCALL is possible.
drepper [Sat, 12 Oct 2002 00:49:15 +0000 (00:49 +0000)]
(__sigwait): Use INTERNAL_SYSCALL is possible.

17 years ago(INTERNAL_SYSCALL_ERROR_P): New define.
drepper [Sat, 12 Oct 2002 00:48:39 +0000 (00:48 +0000)]
(INTERNAL_SYSCALL_ERROR_P): New define.
(INTERNAL_SYSCALL_ERRNO): Likewise.

17 years agoUpdate.
drepper [Fri, 11 Oct 2002 19:00:09 +0000 (19:00 +0000)]
Update.

17 years ago(profil_counter): Add hack to prevent the compiler from clobbering the
drepper [Fri, 11 Oct 2002 18:56:32 +0000 (18:56 +0000)]
(profil_counter): Add hack to prevent the compiler from clobbering the
signal context.

17 years ago.
roland [Fri, 11 Oct 2002 12:54:53 +0000 (12:54 +0000)]
.

17 years ago2002-10-11 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 12:54:41 +0000 (12:54 +0000)]
2002-10-11  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
Fix typos.

17 years ago.
roland [Fri, 11 Oct 2002 12:19:55 +0000 (12:19 +0000)]
.

17 years ago2002-10-11 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 12:19:49 +0000 (12:19 +0000)]
2002-10-11  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/dl-lookupcfg.h: Include <tls.h>.
* sysdeps/sh/dl-lookupcfg.h: File removed.
* sysdeps/i386/dl-lookupcfg.h: File removed.

17 years ago.
roland [Fri, 11 Oct 2002 12:03:29 +0000 (12:03 +0000)]
.

17 years ago2002-10-11 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 12:03:16 +0000 (12:03 +0000)]
2002-10-11  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add
missing labels and ; from last change.

17 years ago.
roland [Fri, 11 Oct 2002 10:55:33 +0000 (10:55 +0000)]
.

17 years ago2002-10-11 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:55:27 +0000 (10:55 +0000)]
2002-10-11  Roland McGrath  <roland@redhat.com>

* stdio-common/tst-sscanf.c (val_double): Append .0 to large whole
number literals, so they are doubles instead of ints.

17 years ago.
roland [Fri, 11 Oct 2002 10:53:34 +0000 (10:53 +0000)]
.

17 years ago2002-10-09 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:53:17 +0000 (10:53 +0000)]
2002-10-09  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/bits/libc-lock.h (__libc_maybe_call): New macro.
Under [__PIC__], call the function via the pointer fetched for
comparison rather than a call by name that uses the PLT.
(__libc_lock_init, __libc_rwlock_init, __libc_lock_fini)
(__libc_rwlock_fini, __libc_lock_lock, __libc_rwlock_rdlock)
(__libc_rwlock_wrlock, __libc_lock_trylock, __libc_rwlock_tryrdlock)
(__libc_rwlock_trywrlock, __libc_lock_unlock, __libc_rwlock_unlock)
(__libc_key_create, __libc_getspecific, __libc_setspecific)
(__libc_atfork): Use it.

17 years ago2002-10-09 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:53:15 +0000 (10:53 +0000)]
2002-10-09  Roland McGrath  <roland@redhat.com>

* pthread.c [SHARED] (__libc_dl_error_tsd): New function.
(pthread_initialize) [SHARED]: Set _dl_error_catch_tsd to that.
* Versions (libc: GLIBC_PRIVATE): Add __libc_dl_error_tsd.
(ld: GLIBC_PRIVATE): Set removed.

17 years ago.
roland [Fri, 11 Oct 2002 10:52:20 +0000 (10:52 +0000)]
.

17 years ago2002-10-07 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:52:12 +0000 (10:52 +0000)]
2002-10-07  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/dl-sysdep.h: New file.
* sysdeps/mach/hurd/dl-sysdep.h: New file.
* sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
* include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
[RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
access it directly.
* elf/dl-minimal.c (__errno_location): Removed.
* sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
Use GOTOFF access for errno.
* sysdeps/unix/sysv/linux/i386/sysdep.h
[RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.

17 years ago2002-10-09 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:52:10 +0000 (10:52 +0000)]
2002-10-09  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional
changed from [USE_TLS && HAVE___THREAD].

17 years ago2002-10-09 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:52:09 +0000 (10:52 +0000)]
2002-10-09  Roland McGrath  <roland@redhat.com>

* include/link.h (struct link_map): Remove member l_tls_tp_initialized.
* elf/rtld.c (_dl_start_final, dl_main): Don't use it.
(_dl_start): Conditionalize PT_TLS check on [USE___THREAD].
* sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
_dl_error_catch_tsd.
* elf/rtld.c (startup_error_tsd): New function.
(dl_main): Point _dl_error_catch_tsd at that.
* elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
use new function pointer instead.
* elf/dl-tsd.c: New file.
* elf/Makefile (routines): Add it.

17 years ago2002-10-09 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:52:06 +0000 (10:52 +0000)]
2002-10-09  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
_dl_error_catch_tsd.
* elf/rtld.c (startup_error_tsd): New function.
(dl_main): Point _dl_error_catch_tsd at that.
* elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
use new function pointer instead.
* elf/dl-tsd.c: New file.
* elf/Makefile (routines): Add it.
2002-10-05  Roland McGrath  <roland@redhat.com>

* elf/dl-fxstat64.c: File removed.
* elf/dl-xstat64.c: File removed.
* elf/Makefile (rtld-routines): Remove them.
* sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals.
Instead, use strong_alias instead of versioned_symbol in the
!SHLIB_COMPAT case.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
* include/shlib-compat.h
(SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero.
[! NOT_IN_libc] (IS_IN_libc): Define it.
* cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx.
* elf/Makefile (CPPFLAGS-.os): Likewise.
2002-09-30  Roland McGrath  <roland@redhat.com>

* elf/rtld-Rules: New file.
* elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
$(objpfx)rtld-libc.a): New targets.
(generated): Add them.
(reloc-link): Remove -o $@ from the variable.
($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
(distribute): Add rtld-Rules.
(CPPFLAGS-.os): Define this instead of CFLAGS-.os.
* Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
(common-mostlyclean, common-clean): Clean up rtld-* files.
* sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.

17 years ago2002-10-07 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:52:03 +0000 (10:52 +0000)]
2002-10-07  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
Use PC-relative access for errno.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h
[RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
* include/tls.h: New file.
(USE___THREAD): New macro.
Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
libc or libpthread.
* sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
changed from [USE_TLS && HAVE___THREAD].
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/x86_64/sysdep.S: Likewise.
* include/errno.h: Likewise.
* include/netdb.h: Likewise.
* include/resolv.h: Likewise.

17 years ago2002-10-07 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:52:01 +0000 (10:52 +0000)]
2002-10-07  Roland McGrath  <roland@redhat.com>

* include/tls.h: New file.
(USE___THREAD): New macro.
Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
libc or libpthread.
* sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
changed from [USE_TLS && HAVE___THREAD].
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/x86_64/sysdep.S: Likewise.
* include/errno.h: Likewise.
* include/netdb.h: Likewise.
* include/resolv.h: Likewise.

17 years ago2002-10-07 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:51:59 +0000 (10:51 +0000)]
2002-10-07  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro.
(INLINE_SYSCALL): Use that.
* sysdeps/generic/dl-sysdep.h: New file.
* sysdeps/mach/hurd/dl-sysdep.h: New file.
* sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
* include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
[RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
access it directly.
* elf/dl-minimal.c (__errno_location): Removed.
* sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
Use GOTOFF access for errno.
* sysdeps/unix/sysv/linux/i386/sysdep.h
[RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
* include/tls.h: New file.
(USE___THREAD): New macro.
Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
libc or libpthread.
* sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
changed from [USE_TLS && HAVE___THREAD].
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/x86_64/sysdep.S: Likewise.
* include/errno.h: Likewise.
* include/netdb.h: Likewise.
* include/resolv.h: Likewise.

17 years ago2002-10-05 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:51:57 +0000 (10:51 +0000)]
2002-10-05  Roland McGrath  <roland@redhat.com>

* sunrpc/rpc_main.c (main): Don't declare with noreturn attribute.
Return the status instead of calling exit.

17 years ago2002-10-05 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:51:55 +0000 (10:51 +0000)]
2002-10-05  Roland McGrath  <roland@redhat.com>

* include/stubs-prologue.h: New file.  Give #error under #ifdef _LIBC.
* Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it.
Use that file's contents instead of literal echo's for the prologue.
* include/features.h: Include <gnu/stubs.h> unconditionally.
* include/gnu/stubs.h: New file.

17 years ago2002-10-09 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:51:53 +0000 (10:51 +0000)]
2002-10-09  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
_dl_error_catch_tsd.
* elf/rtld.c (startup_error_tsd): New function.
(dl_main): Point _dl_error_catch_tsd at that.
* elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
use new function pointer instead.
* elf/dl-tsd.c: New file.
* elf/Makefile (routines): Add it.
2002-10-07  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/dl-sysdep.h: New file.
* sysdeps/mach/hurd/dl-sysdep.h: New file.
* sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
* include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
[RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
access it directly.
* elf/dl-minimal.c (__errno_location): Removed.
* sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
Use GOTOFF access for errno.
* sysdeps/unix/sysv/linux/i386/sysdep.h
[RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.

17 years ago2002-10-09 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:51:50 +0000 (10:51 +0000)]
2002-10-09  Roland McGrath  <roland@redhat.com>

* include/link.h (struct link_map): Remove member l_tls_tp_initialized.
* elf/rtld.c (_dl_start_final, dl_main): Don't use it.
(_dl_start): Conditionalize PT_TLS check on [USE___THREAD].

17 years ago2002-10-09 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:51:47 +0000 (10:51 +0000)]
2002-10-09  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel):
Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD].
* sysdeps/x86_64/dl-machine.h
(elf_machine_type_class, elf_machine_rela): Likewise.
* sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela):
Likewise.

17 years ago2002-10-07 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:51:43 +0000 (10:51 +0000)]
2002-10-07  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/dl-sysdep.h: New file.
* sysdeps/mach/hurd/dl-sysdep.h: New file.
* sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
* include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
[RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
access it directly.
* elf/dl-minimal.c (__errno_location): Removed.
* sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
Use GOTOFF access for errno.
* sysdeps/unix/sysv/linux/i386/sysdep.h
[RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
* include/tls.h: New file.
(USE___THREAD): New macro.
Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
libc or libpthread.
* sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
changed from [USE_TLS && HAVE___THREAD].
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/x86_64/sysdep.S: Likewise.
* include/errno.h: Likewise.
* include/netdb.h: Likewise.
* include/resolv.h: Likewise.

17 years ago2002-10-07 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:51:40 +0000 (10:51 +0000)]
2002-10-07  Roland McGrath  <roland@redhat.com>

* elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for
writev if it's available.  Otherwise if [RTLD_PRIVATE_ERRNO] then
take _dl_load_lock around calling __writev.

17 years ago2002-10-05 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:51:37 +0000 (10:51 +0000)]
2002-10-05  Roland McGrath  <roland@redhat.com>

* Makeconfig (CFLAGS): Prepend -std=gnu99.
* Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
Remove superfluous rm command, whose @ plus make bugs hid
all these commands from the make output.

17 years ago2002-10-07 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:51:12 +0000 (10:51 +0000)]
2002-10-07  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/errno.c: New file.
* csu/Makefile (aux): New variable, list errno.
* sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
* sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
* sysdeps/unix/alpha/sysdep.S: Likewise.
* sysdeps/generic/start.c: Likewise.
* sysdeps/unix/start.c: Likewise.
* sysdeps/unix/arm/start.c: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
* sysdeps/unix/sparc/start.c: Likewise.
* sysdeps/unix/sysv/irix4/start.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.

17 years ago2002-10-09 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:51:05 +0000 (10:51 +0000)]
2002-10-09  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
_dl_error_catch_tsd.
* elf/rtld.c (startup_error_tsd): New function.
(dl_main): Point _dl_error_catch_tsd at that.
* elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
use new function pointer instead.
* elf/dl-tsd.c: New file.
* elf/Makefile (routines): Add it.

17 years ago2002-09-30 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:51:01 +0000 (10:51 +0000)]
2002-09-30  Roland McGrath  <roland@redhat.com>

* elf/rtld-Rules: New file.
* elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
$(objpfx)rtld-libc.a): New targets.
(generated): Add them.
(reloc-link): Remove -o $@ from the variable.
($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
(distribute): Add rtld-Rules.
(CPPFLAGS-.os): Define this instead of CFLAGS-.os.
* Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
(common-mostlyclean, common-clean): Clean up rtld-* files.
* sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.

17 years ago2002-10-05 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:50:58 +0000 (10:50 +0000)]
2002-10-05  Roland McGrath  <roland@redhat.com>

* elf/dl-fxstat64.c: File removed.
* elf/dl-xstat64.c: File removed.
* elf/Makefile (rtld-routines): Remove them.
* sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals.
Instead, use strong_alias instead of versioned_symbol in the
!SHLIB_COMPAT case.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.

17 years ago2002-10-09 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:50:56 +0000 (10:50 +0000)]
2002-10-09  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal
instead of ___tls_get_addr.
(___tls_get_addr_internal): Add attribute_hidden to decl.

17 years ago2002-10-07 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:50:55 +0000 (10:50 +0000)]
2002-10-07  Roland McGrath  <roland@redhat.com>

* manual/search.texi (Tree Search Function, Hash Search Function):
Mention search.h clearly.

17 years ago2002-10-05 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:50:52 +0000 (10:50 +0000)]
2002-10-05  Roland McGrath  <roland@redhat.com>

* include/shlib-compat.h
(SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero.
[! NOT_IN_libc] (IS_IN_libc): Define it.
* cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx.
* elf/Makefile (CPPFLAGS-.os): Likewise.

17 years ago2002-10-05 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 10:50:51 +0000 (10:50 +0000)]
2002-10-05  Roland McGrath  <roland@redhat.com>

* Makeconfig (CFLAGS): Prepend -std=gnu99.
* Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
Remove superfluous rm command, whose @ plus make bugs hid
all these commands from the make output.
2002-09-30  Roland McGrath  <roland@redhat.com>

* elf/rtld-Rules: New file.
* elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
$(objpfx)rtld-libc.a): New targets.
(generated): Add them.
(reloc-link): Remove -o $@ from the variable.
($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
(distribute): Add rtld-Rules.
(CPPFLAGS-.os): Define this instead of CFLAGS-.os.
* Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
(common-mostlyclean, common-clean): Clean up rtld-* files.
* sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.

17 years agoUpdate.
drepper [Fri, 11 Oct 2002 10:01:36 +0000 (10:01 +0000)]
Update.

17 years ago.
roland [Fri, 11 Oct 2002 09:18:04 +0000 (09:18 +0000)]
.

17 years ago2002-10-11 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 09:17:53 +0000 (09:17 +0000)]
2002-10-11  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in
now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED.

17 years ago2002-10-11 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 09:17:51 +0000 (09:17 +0000)]
2002-10-11  Roland McGrath  <roland@redhat.com>

* elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members.

17 years ago2002-10-11 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 09:17:49 +0000 (09:17 +0000)]
2002-10-11  Roland McGrath  <roland@redhat.com>

* elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
proper set of no-op insn prefixes.

17 years agoDon't try calling __pthread_kill_other_threads_np.
drepper [Fri, 11 Oct 2002 07:59:08 +0000 (07:59 +0000)]
Don't try calling __pthread_kill_other_threads_np.

17 years agoUpdate.
drepper [Fri, 11 Oct 2002 07:58:32 +0000 (07:58 +0000)]
Update.

17 years agoexecve implementation for Linux w/ linuxthreads.
drepper [Fri, 11 Oct 2002 07:57:13 +0000 (07:57 +0000)]
execve implementation for Linux w/ linuxthreads.

17 years agoUpdate.
drepper [Fri, 11 Oct 2002 07:38:19 +0000 (07:38 +0000)]
Update.

17 years ago.
roland [Fri, 11 Oct 2002 07:22:18 +0000 (07:22 +0000)]
.

17 years ago2002-10-07 Roland McGrath <roland@frob.com>
roland [Fri, 11 Oct 2002 07:21:46 +0000 (07:21 +0000)]
2002-10-07  Roland McGrath  <roland@frob.com>

* config.h.in (HAVE_I386_SET_GDT): New #undef.
* sysdeps/mach/configure.in: Define it with new check for i386_set_gdt.
* sysdeps/mach/configure: Regenerated.

17 years ago2002-10-08 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Oct 2002 07:21:16 +0000 (07:21 +0000)]
2002-10-08  Roland McGrath  <roland@redhat.com>

* locale/newlocale.c (__newlocale): If setting all categories to "C",
just return &_nl_C_locobj instead of copying it.
* locale/freelocale.c (__freelocale): Check for &_nl_C_locobj.
* locale/duplocale.c (__duplocale): Likewise.

17 years ago2002-10-03 Roland McGrath <roland@frob.com>
roland [Fri, 11 Oct 2002 07:21:06 +0000 (07:21 +0000)]
2002-10-03  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add
clobbers to asm.

17 years ago2002-10-02 David Mosberger <davidm@hpl.hp.com>
roland [Fri, 11 Oct 2002 07:20:56 +0000 (07:20 +0000)]
2002-10-02  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for
Itanium 2 (and Itanium).
Fix unwind directives and make it fit in 80 columns.
* sysdeps/ia64/memset.S: Ditto.
* sysdeps/ia64/memcpy.S: Ditto.
Move jump table to .rodata section.

17 years ago2002-10-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
roland [Fri, 11 Oct 2002 07:20:46 +0000 (07:20 +0000)]
2002-10-06  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
Add all necessary register outputs for syscall-clobbered registers.

17 years agoAvoid unnecessary sigprocmask calls.
drepper [Fri, 11 Oct 2002 07:14:39 +0000 (07:14 +0000)]
Avoid unnecessary sigprocmask calls.

17 years ago(Setting Modes): Fix typos in example code. glibc-2-3-1
drepper [Thu, 10 Oct 2002 17:50:16 +0000 (17:50 +0000)]
(Setting Modes): Fix typos in example code.

17 years ago.
aj [Thu, 10 Oct 2002 12:20:26 +0000 (12:20 +0000)]
.

17 years agoRestore correct registers.
aj [Thu, 10 Oct 2002 12:20:18 +0000 (12:20 +0000)]
Restore correct registers.

17 years agoUpdate.
drepper [Thu, 10 Oct 2002 07:27:56 +0000 (07:27 +0000)]
Update.

17 years ago(libc) [GLIBC_PRIVATE]: Add __pselect.
drepper [Thu, 10 Oct 2002 07:27:30 +0000 (07:27 +0000)]
(libc) [GLIBC_PRIVATE]: Add __pselect.

17 years agoUpdate.
drepper [Thu, 10 Oct 2002 06:47:09 +0000 (06:47 +0000)]
Update.

17 years ago(ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.
drepper [Thu, 10 Oct 2002 06:44:25 +0000 (06:44 +0000)]
(ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.

17 years agoRemove attribute_hidden from _dl_allocate_tls_init. Add rtld_hidden_proto.
drepper [Thu, 10 Oct 2002 06:44:05 +0000 (06:44 +0000)]
Remove attribute_hidden from _dl_allocate_tls_init.  Add rtld_hidden_proto.

17 years ago(_dl_allocate_tls_init): Add rtld_hidden_def.
drepper [Thu, 10 Oct 2002 06:43:48 +0000 (06:43 +0000)]
(_dl_allocate_tls_init): Add rtld_hidden_def.

17 years agoUpdate.
drepper [Thu, 10 Oct 2002 00:42:24 +0000 (00:42 +0000)]
Update.

17 years ago(dist.tar): Add back one of the tar invocations removed before.
drepper [Thu, 10 Oct 2002 00:41:58 +0000 (00:41 +0000)]
(dist.tar): Add back one of the tar invocations removed before.

17 years ago(distribute): Add allocalim.h.
drepper [Thu, 10 Oct 2002 00:40:14 +0000 (00:40 +0000)]
(distribute): Add allocalim.h.

17 years agoRemade for stable-2.3.1
drepper [Thu, 10 Oct 2002 00:07:22 +0000 (00:07 +0000)]
Remade for stable-2.3.1

17 years agoUpdate.
drepper [Wed, 9 Oct 2002 23:39:33 +0000 (23:39 +0000)]
Update.

17 years ago(VERSION): Bump to 2.3.1.
drepper [Wed, 9 Oct 2002 23:38:47 +0000 (23:38 +0000)]
(VERSION): Bump to 2.3.1.

17 years agoUpdate.
drepper [Wed, 9 Oct 2002 18:21:41 +0000 (18:21 +0000)]
Update.

17 years ago[!(USE_TLS && HAVE___THREAD)] (__libc_tsd_address): Use correct variable name.
drepper [Wed, 9 Oct 2002 18:20:08 +0000 (18:20 +0000)]
[!(USE_TLS && HAVE___THREAD)] (__libc_tsd_address): Use correct variable name.

17 years agoUpdate.
drepper [Wed, 9 Oct 2002 17:00:06 +0000 (17:00 +0000)]
Update.

17 years agoInclude stdlib.h.
drepper [Wed, 9 Oct 2002 16:58:08 +0000 (16:58 +0000)]
Include stdlib.h.

17 years agoUpdate.
drepper [Wed, 9 Oct 2002 09:58:30 +0000 (09:58 +0000)]
Update.

17 years agoAdd missing ;;.
drepper [Wed, 9 Oct 2002 09:57:46 +0000 (09:57 +0000)]
Add missing ;;.

17 years agoUpdate.
drepper [Wed, 9 Oct 2002 09:42:48 +0000 (09:42 +0000)]
Update.

17 years ago(libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and __libc_msgsnd.
drepper [Wed, 9 Oct 2002 09:42:32 +0000 (09:42 +0000)]
(libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and __libc_msgsnd.

17 years agoAdd creat syscall.
drepper [Wed, 9 Oct 2002 09:41:49 +0000 (09:41 +0000)]
Add creat syscall.

17 years ago(__sigwaitinfo): Add libc_hidden_def.
drepper [Wed, 9 Oct 2002 09:41:15 +0000 (09:41 +0000)]
(__sigwaitinfo): Add libc_hidden_def.

17 years ago(__sigwait): Add libc_hidden_def.
drepper [Wed, 9 Oct 2002 09:40:49 +0000 (09:40 +0000)]
(__sigwait): Add libc_hidden_def.

17 years ago(__sigtimedwait): Add libc_hidden_def.
drepper [Wed, 9 Oct 2002 09:40:14 +0000 (09:40 +0000)]
(__sigtimedwait): Add libc_hidden_def.

17 years ago(__msgsnd): Rename to __libc_msgsnd and make old name an alias.
drepper [Wed, 9 Oct 2002 09:38:49 +0000 (09:38 +0000)]
(__msgsnd): Rename to __libc_msgsnd and make old name an alias.

17 years ago(__msgrcv): Rename to __libc_msgrcv and make old name an alias.
drepper [Wed, 9 Oct 2002 09:38:14 +0000 (09:38 +0000)]
(__msgrcv): Rename to __libc_msgrcv and make old name an alias.

17 years ago(__writev): Use __libc_use_alloca instead of hardcoded constants.
drepper [Wed, 9 Oct 2002 09:37:09 +0000 (09:37 +0000)]
(__writev): Use __libc_use_alloca instead of hardcoded constants.
(__writev): Rename to __libc_writev and make old name an alias.

17 years ago(__writev): Rename to __libc_writev and make old name an alias.
drepper [Wed, 9 Oct 2002 09:34:59 +0000 (09:34 +0000)]
(__writev): Rename to __libc_writev and make old name an alias.

17 years ago(waitid): Rename to __waitid and make old name an alias.
drepper [Wed, 9 Oct 2002 09:28:57 +0000 (09:28 +0000)]
(waitid): Rename to __waitid and make old name an alias.

17 years ago(__readv): Use __libc_use_alloca instead of hardcoded constants.
drepper [Wed, 9 Oct 2002 09:25:53 +0000 (09:25 +0000)]
(__readv): Use __libc_use_alloca instead of hardcoded constants.
(__readv): Rename to __libc_readv and make old name an alias.

17 years ago(__readv): Rename to __libc_readv and make old name an alias.
drepper [Wed, 9 Oct 2002 09:25:28 +0000 (09:25 +0000)]
(__readv): Rename to __libc_readv and make old name an alias.

17 years agoCheck whether block of given size can be allocated on the stack.
drepper [Wed, 9 Oct 2002 09:19:59 +0000 (09:19 +0000)]
Check whether block of given size can be allocated on the stack.

17 years ago(strxfrm): Use __libc_use_alloca instead of hardcoded constants.
drepper [Wed, 9 Oct 2002 09:19:25 +0000 (09:19 +0000)]
(strxfrm): Use __libc_use_alloca instead of hardcoded constants.

17 years ago(strcoll): Use __libc_use_alloca instead of hardcoded constants.
drepper [Wed, 9 Oct 2002 09:19:15 +0000 (09:19 +0000)]
(strcoll): Use __libc_use_alloca instead of hardcoded constants.

17 years ago(vfprintf): Use __libc_use_alloca instead of hardcoded constants.
drepper [Wed, 9 Oct 2002 09:18:51 +0000 (09:18 +0000)]
(vfprintf): Use __libc_use_alloca instead of hardcoded constants.
Pass proper size argument to alloca and compute end for wide char version.