kopensolaris-gnu/glibc.git
17 years agoUpdate.
drepper [Tue, 14 Jan 2003 09:35:45 +0000 (09:35 +0000)]
Update.

17 years agoUpdate.
drepper [Tue, 14 Jan 2003 09:35:01 +0000 (09:35 +0000)]
Update.

17 years agoCharmap for IBM866NAV.
drepper [Tue, 14 Jan 2003 09:21:51 +0000 (09:21 +0000)]
Charmap for IBM866NAV.

17 years agoUpdate.
drepper [Tue, 14 Jan 2003 07:52:31 +0000 (07:52 +0000)]
Update.

17 years ago(test_strcpy): Use the previously #if 0'ed code to test void* parameters.
drepper [Tue, 14 Jan 2003 07:48:50 +0000 (07:48 +0000)]
(test_strcpy): Use the previously #if 0'ed code to test void* parameters.

17 years agoFix typo in last patch.
drepper [Tue, 14 Jan 2003 07:44:02 +0000 (07:44 +0000)]
Fix typo in last patch.

17 years ago(__STRING_SMALLL_GET16): Cast source pointer before dereferencing.
drepper [Tue, 14 Jan 2003 06:42:08 +0000 (06:42 +0000)]
(__STRING_SMALLL_GET16): Cast source pointer before dereferencing.
(__STRING_SMALLL_GET32): Likewise.
(__memset_gc): Add missing parenthesis around macro arguments.

17 years ago(__strspn_cg): Tell the compiler that %eax is modified.
drepper [Tue, 14 Jan 2003 06:14:42 +0000 (06:14 +0000)]
(__strspn_cg): Tell the compiler that %eax is modified.

17 years agoUpdate.
drepper [Tue, 14 Jan 2003 04:10:53 +0000 (04:10 +0000)]
Update.

17 years agoDon't export ll_unlock_wake_cb.
drepper [Tue, 14 Jan 2003 04:09:34 +0000 (04:09 +0000)]
Don't export ll_unlock_wake_cb.

17 years agoUpdate.
drepper [Tue, 14 Jan 2003 04:04:05 +0000 (04:04 +0000)]
Update.

17 years ago(libpthread-routines): Add version.
drepper [Tue, 14 Jan 2003 04:02:51 +0000 (04:02 +0000)]
(libpthread-routines): Add version.
Add rules to build version.os and banner.h.

17 years agoMain function of DSO to print version information.
drepper [Tue, 14 Jan 2003 04:01:46 +0000 (04:01 +0000)]
Main function of DSO to print version information.

17 years agoBump to 0.16.
drepper [Tue, 14 Jan 2003 03:47:59 +0000 (03:47 +0000)]
Bump to 0.16.

17 years agoUpdate.
drepper [Tue, 14 Jan 2003 01:31:26 +0000 (01:31 +0000)]
Update.

17 years agoUpdate.
drepper [Tue, 14 Jan 2003 01:29:21 +0000 (01:29 +0000)]
Update.

17 years ago(INLINE_SYSCALL): Undefined before defining.
drepper [Tue, 14 Jan 2003 01:23:59 +0000 (01:23 +0000)]
(INLINE_SYSCALL): Undefined before defining.

17 years ago(JUMPTARGET): Remove.
drepper [Tue, 14 Jan 2003 01:23:24 +0000 (01:23 +0000)]
(JUMPTARGET): Remove.

17 years agoUpdate.
drepper [Tue, 14 Jan 2003 01:20:41 +0000 (01:20 +0000)]
Update.

17 years agoAvoid unterminated string literals.
drepper [Tue, 14 Jan 2003 01:15:05 +0000 (01:15 +0000)]
Avoid unterminated string literals.

17 years ago(L): Don't define it here.
drepper [Tue, 14 Jan 2003 01:13:46 +0000 (01:13 +0000)]
(L): Don't define it here.

17 years agoAvoid unterminated string literals.
drepper [Tue, 14 Jan 2003 01:13:07 +0000 (01:13 +0000)]
Avoid unterminated string literals.

17 years ago(PSEUDO): Code reordering.
drepper [Tue, 14 Jan 2003 01:09:49 +0000 (01:09 +0000)]
(PSEUDO): Code reordering.

17 years ago(__vfork): Add missing parameter to SINGLE_THREAD_P call.
drepper [Tue, 14 Jan 2003 01:05:55 +0000 (01:05 +0000)]
(__vfork): Add missing parameter to SINGLE_THREAD_P call.

17 years ago(PSEUDO): Code reordering. Move CENABLE and CDISABLE literals from
drepper [Tue, 14 Jan 2003 01:05:30 +0000 (01:05 +0000)]
(PSEUDO): Code reordering. Move CENABLE and CDISABLE literals from
PSEUDO_END to PSEUDO.
(PSEUDO_END): Remove.
(SINGLE_THREAD_P): Save an instruction.

17 years ago(JUMPTARGET): Move branch instructions from here...
drepper [Tue, 14 Jan 2003 01:04:45 +0000 (01:04 +0000)]
(JUMPTARGET): Move branch instructions from here...
(PSEUDO): ... to here.

17 years agoUpdate.
drepper [Tue, 14 Jan 2003 00:59:14 +0000 (00:59 +0000)]
Update.

17 years agoMake the alias unconditional.
drepper [Tue, 14 Jan 2003 00:58:42 +0000 (00:58 +0000)]
Make the alias unconditional.

17 years ago(CFLAGS-pthread_self.c): New definition.
drepper [Tue, 14 Jan 2003 00:34:21 +0000 (00:34 +0000)]
(CFLAGS-pthread_self.c): New definition.

17 years ago.
schwab [Mon, 13 Jan 2003 09:55:29 +0000 (09:55 +0000)]
.

17 years agoUpdate.
drepper [Mon, 13 Jan 2003 09:28:02 +0000 (09:28 +0000)]
Update.

17 years agoUpdate.
drepper [Mon, 13 Jan 2003 09:00:04 +0000 (09:00 +0000)]
Update.

17 years ago(charmap_readdir): Use struct dirent64 instead of struct dirent for
drepper [Mon, 13 Jan 2003 08:58:54 +0000 (08:58 +0000)]
(charmap_readdir): Use struct dirent64 instead of struct dirent for
dirent.
Call readdir64 instead of readdir.

17 years ago(siblings_uncached): Use struct dirent64 instead of struct dirent for
drepper [Mon, 13 Jan 2003 08:56:25 +0000 (08:56 +0000)]
(siblings_uncached): Use struct dirent64 instead of struct dirent for
other_dentry.
Call readdir64 instead of readdir.

17 years ago(direntry): Change type to struct dirent64.
drepper [Mon, 13 Jan 2003 08:53:14 +0000 (08:53 +0000)]
(direntry): Change type to struct dirent64.
(search_dir): Use readdir64 instead of readdir.

17 years ago.
roland [Mon, 13 Jan 2003 03:45:38 +0000 (03:45 +0000)]
.

17 years ago2003-01-12 Roland McGrath <roland@redhat.com>
roland [Mon, 13 Jan 2003 03:45:30 +0000 (03:45 +0000)]
2003-01-12  Roland McGrath  <roland@redhat.com>

* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,
not strtol.  The former is usable in ld.so, the latter not.

17 years ago.
roland [Mon, 13 Jan 2003 03:42:27 +0000 (03:42 +0000)]
.

17 years ago2003-01-12 Roland McGrath <roland@redhat.com>
roland [Mon, 13 Jan 2003 03:42:18 +0000 (03:42 +0000)]
2003-01-12  Roland McGrath  <roland@redhat.com>

* sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs,
libhurduser-link.so-no-z-defs): New variables.

17 years ago2003-01-12 Roland McGrath <roland@redhat.com>
roland [Mon, 13 Jan 2003 03:42:16 +0000 (03:42 +0000)]
2003-01-12  Roland McGrath  <roland@redhat.com>

* malloc/malloc.c: Revert last change.
* malloc/malloc.h (_int_*): Move these decls to ...
* include/malloc.h: ... here.  Add attribute_hidden.
(_int_valloc): Declare it too.

17 years ago2003-01-12 Roland McGrath <roland@redhat.com>
roland [Mon, 13 Jan 2003 03:42:08 +0000 (03:42 +0000)]
2003-01-12  Roland McGrath  <roland@redhat.com>

* include/fcntl.h: Declare __libc_creat.

17 years agoUpdate.
drepper [Mon, 13 Jan 2003 02:10:09 +0000 (02:10 +0000)]
Update.

17 years ago(_dl_close): Type typo, must be == not = in search for removed searchlist.
drepper [Mon, 13 Jan 2003 02:06:25 +0000 (02:06 +0000)]
(_dl_close): Type typo, must be == not = in search for removed searchlist.

17 years agoUpdate.
drepper [Sun, 12 Jan 2003 23:44:14 +0000 (23:44 +0000)]
Update.

17 years agoAdd test for case of symlink to nonexisting file given as start file.
drepper [Sun, 12 Jan 2003 23:42:32 +0000 (23:42 +0000)]
Add test for case of symlink to nonexisting file given as start file.

17 years ago(ftw_startup): Use correct name in check for symlink without existing target.
drepper [Sun, 12 Jan 2003 23:41:18 +0000 (23:41 +0000)]
(ftw_startup): Use correct name in check for symlink without existing target.

17 years agoUpdate.
drepper [Sun, 12 Jan 2003 23:13:14 +0000 (23:13 +0000)]
Update.

17 years ago(build-shlib-helper): Don't use -z defs linker option if no-z-defs is
drepper [Sun, 12 Jan 2003 23:08:56 +0000 (23:08 +0000)]
(build-shlib-helper): Don't use -z defs linker option if no-z-defs is
defined either.

17 years agoUpdate.
drepper [Sun, 12 Jan 2003 23:04:38 +0000 (23:04 +0000)]
Update.

17 years ago(PSEUDO): Setup backchain in pseudo_cancel. Minor code improvements.
drepper [Sun, 12 Jan 2003 23:02:55 +0000 (23:02 +0000)]
(PSEUDO): Setup backchain in pseudo_cancel.  Minor code improvements.

17 years agoNot needed anymore.
drepper [Sun, 12 Jan 2003 23:01:10 +0000 (23:01 +0000)]
Not needed anymore.

17 years agoAdd vfork.
drepper [Sun, 12 Jan 2003 22:59:39 +0000 (22:59 +0000)]
Add vfork.

17 years agovfork implementation for LinuxThreads/s390-64.
drepper [Sun, 12 Jan 2003 22:58:37 +0000 (22:58 +0000)]
vfork implementation for LinuxThreads/s390-64.

17 years agovfork implementation for LinuxThreads/S390-32.
drepper [Sun, 12 Jan 2003 22:58:12 +0000 (22:58 +0000)]
vfork implementation for LinuxThreads/S390-32.

17 years agoUpdate.
drepper [Sun, 12 Jan 2003 22:54:47 +0000 (22:54 +0000)]
Update.

17 years agoAdd test case for relative path with /. at the end.
drepper [Sun, 12 Jan 2003 22:50:42 +0000 (22:50 +0000)]
Add test case for relative path with /. at the end.

17 years ago(ftw_startup): When trying to stat the starting directory, use the
drepper [Sun, 12 Jan 2003 22:49:12 +0000 (22:49 +0000)]
(ftw_startup): When trying to stat the starting directory, use the
basename if we've already chdir'd into its parent directory.

17 years ago(process_entry): Fix typo in last change.
drepper [Sun, 12 Jan 2003 21:07:19 +0000 (21:07 +0000)]
(process_entry): Fix typo in last change.

17 years agoUpdate.
drepper [Sun, 12 Jan 2003 20:44:20 +0000 (20:44 +0000)]
Update.

17 years agoAdd test for relative path argument to nftw() with FTW_CHDIR option.
drepper [Sun, 12 Jan 2003 20:38:48 +0000 (20:38 +0000)]
Add test for relative path argument to nftw() with FTW_CHDIR option.

17 years ago(process_entry): Use relative path when using chdir() to change
drepper [Sun, 12 Jan 2003 20:36:55 +0000 (20:36 +0000)]
(process_entry): Use relative path when using chdir() to change
direcoty after call to ftw_dir.

17 years agoUpdate.
drepper [Sun, 12 Jan 2003 19:40:05 +0000 (19:40 +0000)]
Update.

17 years agovfork implementation for Linux/PPC32.
drepper [Sun, 12 Jan 2003 19:39:00 +0000 (19:39 +0000)]
vfork implementation for Linux/PPC32.

17 years ago(INTERNAL_SYSCALL): Make use of ERR parameter.
drepper [Sun, 12 Jan 2003 19:38:14 +0000 (19:38 +0000)]
(INTERNAL_SYSCALL): Make use of ERR parameter.
(INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
(INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.

17 years agoTake register alignment into account.
drepper [Sun, 12 Jan 2003 19:37:36 +0000 (19:37 +0000)]
Take register alignment into account.

17 years ago(__ASSUME_VFORK_SYSCALL): Define for powerpc.
drepper [Sun, 12 Jan 2003 19:37:12 +0000 (19:37 +0000)]
(__ASSUME_VFORK_SYSCALL): Define for powerpc.

17 years agoUpdate.
drepper [Sun, 12 Jan 2003 19:36:01 +0000 (19:36 +0000)]
Update.

17 years agovfork implementation for Linuxthreads/PPC32.
drepper [Sun, 12 Jan 2003 19:31:17 +0000 (19:31 +0000)]
vfork implementation for Linuxthreads/PPC32.

17 years agoUpdate.
drepper [Sun, 12 Jan 2003 19:29:11 +0000 (19:29 +0000)]
Update.

17 years agoAssume only ret follows pseudo, and thus avoid branch-to-branch in cancel
drepper [Sun, 12 Jan 2003 19:26:41 +0000 (19:26 +0000)]
Assume only ret follows pseudo, and thus avoid branch-to-branch in cancel
case.  Use SYSCALL_ERROR_LABEL.

17 years agoAdd inline syscall definitions.
drepper [Sun, 12 Jan 2003 19:25:52 +0000 (19:25 +0000)]
Add inline syscall definitions.
(PSEUDO_LOADGP): Remove.
(PSEUDO_PROLOGUE): Load GP in non-pic case.
(SYSCALL_ERROR_LABEL): New.
(PSEUDO): Use it in error branch.
(PSEUDO_END): Add $syscall_error label.

17 years agoMove inline syscall bits to sysdeps/unix/alpha/sysdep.h.
drepper [Sun, 12 Jan 2003 19:23:41 +0000 (19:23 +0000)]
Move inline syscall bits to sysdeps/unix/alpha/sysdep.h.

17 years agoUse correct definition of errno for NOT_IN_libc.
drepper [Sun, 12 Jan 2003 19:23:03 +0000 (19:23 +0000)]
Use correct definition of errno for NOT_IN_libc.

17 years ago(elf_machine_rela): Compute DTPREL64 and TPREL64 without loadbase applied.
drepper [Sun, 12 Jan 2003 19:22:32 +0000 (19:22 +0000)]
(elf_machine_rela): Compute DTPREL64 and TPREL64 without loadbase applied.

17 years agoUpdate.
aj [Sun, 12 Jan 2003 19:10:22 +0000 (19:10 +0000)]
Update.

17 years agoRound is a const function.
aj [Sun, 12 Jan 2003 19:10:08 +0000 (19:10 +0000)]
Round is a const function.

17 years agoUpdate.
drepper [Sun, 12 Jan 2003 10:11:16 +0000 (10:11 +0000)]
Update.

17 years ago[HAVE_CONFIG_H]: Include <config.h>.
drepper [Sun, 12 Jan 2003 10:09:15 +0000 (10:09 +0000)]
[HAVE_CONFIG_H]: Include <config.h>.
[HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>.
Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC.
[!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define.
[!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define.
[!_LIBC] (internal_function, dirent64, MAX): Define.
(__set_errno): Define if not already defined.
(open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on
the basename, not the entire file name.
(process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on
the basename, not the entire file name.

17 years ago(test_strcpy): Disable last added strcpy until it is fixed.
drepper [Sun, 12 Jan 2003 10:08:02 +0000 (10:08 +0000)]
(test_strcpy): Disable last added strcpy until it is fixed.

17 years agoUpdate.
drepper [Sun, 12 Jan 2003 09:19:43 +0000 (09:19 +0000)]
Update.

17 years agovfork implementation for LinuxThreads/Arm.
drepper [Sun, 12 Jan 2003 09:16:06 +0000 (09:16 +0000)]
vfork implementation for LinuxThreads/Arm.

17 years ago(PSEUDO_RET): Correctly unstack lr.
drepper [Sun, 12 Jan 2003 09:14:25 +0000 (09:14 +0000)]
(PSEUDO_RET): Correctly unstack lr.
(UNDOARGS_5): Fix ordering of pushes and pops.
(SINGLE_THREAD_P_PIC): New.
(SINGLE_THREAD_P_INT): Likewise.
(SINGLE_THREAD_P): Implement in terms of above.  Restore lr if it was stacked.
(PSEUDO): Use SINGLE_THREAD_P_INT.

17 years agoAdd cancellation support.
drepper [Sun, 12 Jan 2003 09:06:28 +0000 (09:06 +0000)]
Add cancellation support.

17 years agoAdd vpath for %.dynsym and %.so so that the implicit rule chaining for
drepper [Sun, 12 Jan 2003 09:04:02 +0000 (09:04 +0000)]
Add vpath for %.dynsym and %.so so that the implicit rule chaining for
check-abi works.

17 years ago(SYSCALL_ERROR_HANDLER): Add non-PIC case.
drepper [Sun, 12 Jan 2003 09:00:49 +0000 (09:00 +0000)]
(SYSCALL_ERROR_HANDLER): Add non-PIC case.

17 years agovfork implementation for LinuxThreads/SH.
drepper [Sun, 12 Jan 2003 08:59:57 +0000 (08:59 +0000)]
vfork implementation for LinuxThreads/SH.

17 years agoThread-local storage handling in the ELF dynamic linker. IA-64 version.
drepper [Sun, 12 Jan 2003 08:54:39 +0000 (08:54 +0000)]
Thread-local storage handling in the ELF dynamic linker.  IA-64 version.

17 years agoInclude tls.h.
drepper [Sun, 12 Jan 2003 08:54:00 +0000 (08:54 +0000)]
Include tls.h.
(elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs too.
(elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too.
Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations.

17 years ago(__tls_get_addr): New prototype.
drepper [Sun, 12 Jan 2003 08:53:13 +0000 (08:53 +0000)]
(__tls_get_addr): New prototype.

17 years ago(__libc_setup_tls): If TLS_INIT_TP_EXPENSIVE is not defined, allocate even if
drepper [Sun, 12 Jan 2003 08:52:47 +0000 (08:52 +0000)]
(__libc_setup_tls): If TLS_INIT_TP_EXPENSIVE is not defined, allocate even if
no PT_TLS segment has been found.  If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE
bytes below result and add tcb_offset to memsz.

17 years ago(_dl_allocate_tls_storage) [TLS_DTV_AT_TP]: Allocate TLS_PRE_TCB_SIZE bytes
drepper [Sun, 12 Jan 2003 08:51:54 +0000 (08:51 +0000)]
(_dl_allocate_tls_storage) [TLS_DTV_AT_TP]: Allocate TLS_PRE_TCB_SIZE bytes
below result.
(_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing.

17 years ago(elf_machine_rela): Move CHECK_STATIC_TLS before l_tls_offset use.
drepper [Sun, 12 Jan 2003 08:50:51 +0000 (08:50 +0000)]
(elf_machine_rela): Move CHECK_STATIC_TLS before l_tls_offset use.

17 years ago(elf_machine_rela): Move CHECK_STATIC_TLS before l_tls_offset use.
drepper [Sun, 12 Jan 2003 08:50:09 +0000 (08:50 +0000)]
(elf_machine_rela): Move CHECK_STATIC_TLS before l_tls_offset use.
(elf_machine_rel): Likewise.

17 years ago(elf_machine_rela): Move CHECK_STATIC_TLS before l_tls_offset use.
drepper [Sun, 12 Jan 2003 08:47:37 +0000 (08:47 +0000)]
(elf_machine_rela): Move CHECK_STATIC_TLS before l_tls_offset use.

17 years ago($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so): Ensure libc.so in DT_NEEDED.
drepper [Sun, 12 Jan 2003 08:46:35 +0000 (08:46 +0000)]
($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so): Ensure libc.so in DT_NEEDED.

17 years ago [__ia64__] (__TLS_CALL_CLOBBERS): Define.
drepper [Sun, 12 Jan 2003 08:45:42 +0000 (08:45 +0000)]
 [__ia64__] (__TLS_CALL_CLOBBERS): Define.
[__ia64__] (TLS_LE, TLS_IE): Fix typos.  Add ;; at start of asm if
gp is used early.
[__ia64__] (TLS_LD, TLS_GD): Likewise.  Use __TLS_CALL_CLOBBERS.

17 years ago(pthread_handle_create): If TLS_DTV_AT_TP, set
drepper [Sun, 12 Jan 2003 08:42:38 +0000 (08:42 +0000)]
(pthread_handle_create): If TLS_DTV_AT_TP, set
new_thread to be below _dl_allocate_tls ().  Adjust new_thread back
before freeing.  Fix clone arguments if report_events and USE_TLS.
(pthread_free): Adjust th back before freeing.

17 years ago(__pthread_initialize_minimal): Use tcbp, not self for TCB pointer.
drepper [Sun, 12 Jan 2003 08:41:24 +0000 (08:41 +0000)]
(__pthread_initialize_minimal): Use tcbp, not self for TCB pointer.
(__pthread_initialize_manager): Rename tcb to mgr.
Use tcbp for TCB pointer, if TLS_DTV_AT_TP set mgr to sizeof (struct
_pthread_descr) below tcbp, otherwise to tcbp.

17 years ago(MULTIPLE_THREADS_OFFSET): Adjust computation.
drepper [Sun, 12 Jan 2003 08:39:41 +0000 (08:39 +0000)]
(MULTIPLE_THREADS_OFFSET): Adjust computation.

17 years ago(THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Define
drepper [Sun, 12 Jan 2003 08:39:10 +0000 (08:39 +0000)]
(THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Define
using THREAD_SELF, not __thread_self.