glibc/string
Ulrich Drepper aff4519d38 Update.
2003-01-11  Jim Meyering  <jim@meyering.net>

	* io/ftw.c [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.

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

	* string/tester.c (test_strcpy): Disable last added strcpy until
	it is fixed.

2003-01-11  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support.

2003-01-11  Andreas Schwab  <schwab@suse.de>

	* Makerules: Add vpath for %.dynsym and %.so so that the
	implicit rule chaining for check-abi works.

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

	* sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
	Add non-PIC case.

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

	* elf/tls-macros.h [__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.
	* elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so):
	Ensure libc.so in DT_NEEDED.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Move
	CHECK_STATIC_TLS before l_tls_offset use.
	* sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
	Likewise.
	* sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/generic/dl-tls.c (_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.
	* sysdeps/generic/libc-tls.c (__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.
	* sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype.
	* sysdeps/ia64/dl-machine.h: 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.
	* sysdeps/ia64/libc-tls.c: New file.

2003-01-10  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit.
	* sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX):
	Fix type.  Move definition out of #if.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation
	support.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove
	ftruncate64, pread64, pwrite64, truncate64 entries.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
	(INLINE_SYSCALL): New version that supports function call like
	syscalls.  Add __builtin_expect.
	(LOADARGS_n): Add argument size safety checks.
	(INTERNAL_SYSCALL): New Macro.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid
	redefinition of elf_fpreg_t and elf_fpregset_t.

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

	* elf/dl-close.c (_dl_close): Add several asserts.  Correct and
	simplify test for unloading.  If loader of a DSO is unloaded do not
	use its scope anymore.  Fall back to own scope and adjust opencounts.
	Fix several comments.
	* elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for
	the l_searchlist, not only for l_initfini.

	* elf/dl-lookup.c (add_dependencies): Avoid creating relocation
	dependencies if objects cannot be removed.  Remove object with the
	definition as not unloadable if necessary.

	* elf/reldep6.c: Create relocation dependency before closing the first
	module.

2003-01-10  Guido Günther  <agx@sigxcpu.org>
	* elf/Makefile: Add rules to build and run reldep9 test.
	* elf/reldep9.c: New file.
	* elf/reldep9mod1.c: New file.
	* elf/reldep9mod2.c: New file.
	* elf/reldep9mod3.c: New file.

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

	* elf/Makefile: Add rules to build and run nodelete2 test.
	* elf/nodelete2.c: New file.
	* elf/nodel2mod1.c: New file.
	* elf/nodel2mod2.c: New file.
	* elf/nodel2mod3.c: New file.

2003-01-09  Jakub Jelinek  <jakub@redhat.com>
2003-01-12 10:11:16 +00:00
..
bits Update. 2002-05-28 05:26:16 +00:00
.cvsignore Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
argz-addsep.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
argz-append.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
argz-count.c Update. 2002-04-09 20:36:24 +00:00
argz-create.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
argz-ctsep.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
argz-delete.c 2002-08-03 Roland McGrath <roland@redhat.com> 2002-08-04 01:28:06 +00:00
argz-extract.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
argz-insert.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
argz-next.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
argz-replace.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
argz-stringify.c Update. 2002-04-09 20:36:24 +00:00
argz.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
basename.c * sunrpc/svc_authux.c (_svcauth_unix): Remove spurious printf (ugh!). 2002-08-12 02:02:20 +00:00
bug-strcoll1.c Update. 2001-04-26 20:45:18 +00:00
bug-strncat1.c * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
bug-strpbrk1.c * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
bug-strspn1.c * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
byteswap.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Depend Update. 2001-03-19 21:40:15 +00:00
endian.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
envz.c * include/rpc/auth.h: Use libc_hidden_proto for getnetname, 2002-08-06 06:09:28 +00:00
envz.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
inl-tester.c Update. 1997-09-11 12:09:10 +00:00
Makefile * string/test-string.h: New file. 2002-11-07 19:15:01 +00:00
memfrob.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
memory.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
noinl-tester.c Update. 1997-09-16 00:42:43 +00:00
stratcliff.c Some more strncpy checks. 2002-09-10 00:25:47 +00:00
strcoll_l.c * locale/Versions (libc: GLIBC_2.3): Add all the *_l functions 2002-08-06 08:40:20 +00:00
strcoll.c Update. 2002-10-09 09:42:48 +00:00
strdup.c Update. 2002-08-03 21:19:56 +00:00
strerror.c * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): 2002-11-01 20:44:15 +00:00
strfry.c Update. 2002-03-12 00:38:37 +00:00
string-inlines.c Update. 2002-12-31 23:13:55 +00:00
string.h Prepare headers for use in ISO C++ compliant implementations. 2002-08-28 08:01:11 +00:00
strings.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
strndup.c Update. 2002-08-03 21:19:56 +00:00
strsignal.c Update. 2002-08-04 23:32:14 +00:00
strverscmp.c Update. 2002-08-04 09:27:27 +00:00
strxfrm_l.c * locale/Versions (libc: GLIBC_2.3): Add all the *_l functions 2002-08-06 08:40:20 +00:00
strxfrm.c Update. 2002-10-09 09:42:48 +00:00
swab.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-ffs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-memchr.c * string/test-string.h: New file. 2002-11-07 19:15:01 +00:00
test-memcmp.c * string/test-string.h: New file. 2002-11-07 19:15:01 +00:00
test-memcpy.c * string/test-string.h: New file. 2002-11-07 19:15:01 +00:00
test-memmove.c * string/test-string.h: New file. 2002-11-07 19:15:01 +00:00
test-mempcpy.c * string/test-string.h: New file. 2002-11-07 19:15:01 +00:00
test-memset.c * string/test-string.h: New file. 2002-11-07 19:15:01 +00:00
test-stpcpy.c * string/test-string.h: New file. 2002-11-07 19:15:01 +00:00
test-stpncpy.c * string/test-strspn.c (do_test): Ensure zero termination. 2002-11-09 00:36:21 +00:00
test-strcat.c * string/test-string.h: New file. 2002-11-07 19:15:01 +00:00
test-strchr.c * string/test-strchr.c (stupid_strchr): New function. 2002-11-08 22:10:01 +00:00
test-strcmp.c * string/test-strchr.c (stupid_strchr): New function. 2002-11-08 22:10:01 +00:00
test-strcpy.c * string/test-string.h: New file. 2002-11-07 19:15:01 +00:00
test-strcspn.c * string/test-strchr.c (stupid_strchr): New function. 2002-11-08 22:10:01 +00:00
test-string.h * string/test-strspn.c (do_test): Ensure zero termination. 2002-11-09 00:36:21 +00:00
test-strlen.c * string/test-string.h: New file. 2002-11-07 19:15:01 +00:00
test-strncmp.c * string/test-strspn.c (do_test): Ensure zero termination. 2002-11-09 00:36:21 +00:00
test-strncpy.c Update. 2002-12-07 09:03:23 +00:00
test-strpbrk.c * string/test-strspn.c (do_test): Ensure zero termination. 2002-11-09 00:36:21 +00:00
test-strrchr.c * string/test-string.h: New file. 2002-11-07 19:15:01 +00:00
test-strspn.c * string/test-strspn.c (do_test): Ensure zero termination. 2002-11-09 00:36:21 +00:00
testcopy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tester.c Update. 2003-01-12 10:11:16 +00:00
tst-bswap.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-inlcall.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-strlen.c Update. 2001-08-28 04:52:25 +00:00
tst-strtok.c Update. 2001-02-22 13:46:25 +00:00
tst-strxfrm.c 2002-08-29 Roland McGrath <roland@redhat.com> 2002-08-29 09:26:30 +00:00
tst-svc.c * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
tst-svc.expect Update. 2001-02-02 08:24:56 +00:00
tst-svc.input Update. 2001-02-02 08:24:56 +00:00
Versions Update. 2001-10-07 20:26:31 +00:00