Commit Graph

10770 Commits

Author SHA1 Message Date
Ulrich Drepper
94c24227fc Update.
2003-04-16  Jakub Jelinek  <jakub@redhat.com>

	* elf/Makefile (distribute): Add tst-tlsmod{[7-9],1[0-2]}.c and
	tst-tls10.h.
	(tests): Add tst-tls1[0-2].
	(modules-names): Add tst-tlsmod{[7-8],1[0-2]}.
	($(objpfx)tst-tlsmod8.so): Depend on tst-tlsmod7.so.
	($(objpfx)tst-tlsmod10.so): Depend on tst-tlsmod9.so.
	($(objpfx)tst-tlsmod12.so): Depend on tst-tlsmod11.so.
	($(objpfx)tst-tls10): Depend on tst-tlsmod8.so.
	($(objpfx)tst-tls11): Depend on tst-tlsmod10.so.
	($(objpfx)tst-tls12): Depend on tst-tlsmod12.so.
	* elf/tst-tls10.c: New test.
	* elf/tst-tls11.c: New test.
	* elf/tst-tls12.c: New test.
	* elf/tst-tls10.h: New file.
	* elf/tst-tlsmod7.c: New file.
	* elf/tst-tlsmod8.c: New file.
	* elf/tst-tlsmod9.c: New file.
	* elf/tst-tlsmod10.c: New file.
	* elf/tst-tlsmod11.c: New file.
	* elf/tst-tlsmod12.c: New file.

2003-04-15  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/powerpc/bits/atomic.h: Moved ppc32/64 specific code to ...
	* sysdeps/powerpc/powerpc32/bits/atomic.h: New file.
	* sysdeps/powerpc/powerpc64/bits/atomic.h: New file.

	* posix/regex.h: Include <sys/types.h>.
2003-04-17 19:19:29 +00:00
Ulrich Drepper
66cd688c01 Update.
* signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset.
	The signal number must be checked.
2003-04-17 18:39:26 +00:00
Ulrich Drepper
89e28f65b3 Update.
* signal/sighold.c (sighold): Use sigaddset and not __sigaddset.
	The signal number must be checked [PR libc/5004].
2003-04-17 18:12:31 +00:00
Ulrich Drepper
c9df3df9d2 Update.
* string/test-memchr.c: Likewise.
	* string/test-memcmp.c: Likewise.
	* string/test-memcpy.c: Likewise.
	* string/test-memmove.c: Likewise.
	* string/test-memset.c: Likewise.
	* string/test-strcat.c: Likewise.
	* string/test-strchr.c: Likewise.
	* string/test-strcmp.c: Likewise.
	* string/test-strcpy.c: Likewise.
	* string/test-strlen.c: Likewise.
	* string/test-strncmp.c: Likewise.
	* string/test-strpbrk.c: Likewise.
	* string/test-strrchr.c: Likewise.
	* string/test-strspn.c: Likewise.
2003-04-17 17:38:38 +00:00
Ulrich Drepper
9e9f1f159b Update.
* sysdeps/unix/sysv/linux/system.c: If compiled without threads
	don't do anything fancy.

	* sysdeps/generic/bits/libc-lock.h: Define
	__rtld_lock_define_initialized_recursive.
2003-04-17 16:34:08 +00:00
Ulrich Drepper
ef4d5b32b3 Update.
2003-04-17  Ulrich Drepper  <drepper@redhat.com>

	* nss/getXXbyYY_r.c [USE_NSCD] (REENTRANT_NAME): Only retry
	contacting nscd if NOT_USENSCD_NAME > 0.
	* nss/nsswitch.c (__nss_disable_nscd): New function.
	* nss/nsswitch.h: Declare it.
	* nss/Versions [GLIBC_PRIVATE]: Export __nss_disable_nscd.
	* nscd/nscd.c (main): Call __nss_disable_nscd.
2003-04-17 08:42:06 +00:00
Ulrich Drepper
f542ba5b79 Update.
2003-04-16  Ulrich Drepper  <drepper@redhat.com>

	* uk_UA: Fix sorting.  Patch by Leonid Kanter <leon@geon.donetsk.ua>.
2003-04-17 05:44:31 +00:00
Ulrich Drepper
a4de377614 Update.
* stdio-common/perror.c (perror): We don't need to set the offset
	to _IO_pos_bad, this is how streams are initialized.
2003-04-17 04:01:04 +00:00
Ulrich Drepper
86d273076c Update.
* locale/programs/ld-time.c (TESTARR_ELEM): Make i unsigned.
	(time_output): If necessary, allocate new buffer for .name string if
	padding is required.
2003-04-17 02:55:45 +00:00
Ulrich Drepper
31dfab9e17 Update.
* sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Check lengths
	before copying.  This might leave holes in the list.  Adjust
	pointers if necessary.
	(netlink_receive): Allocate only one block.
	(free_netlink_handle): Adjust appropriately.
	(getifaddrs): Lots of cleanups.
2003-04-17 01:08:57 +00:00
Ulrich Drepper
5bdd77cb60 (netlink_receive): Allocate only one block. (free_netlink_handle): Adjust appropriately. (getifaddrs): Lots of cleanups. 2003-04-16 22:50:37 +00:00
Jakub Jelinek
dd9d65384e * tst-cancel4.c (do_test): Use %zd instead of %d when printing cnt. 2003-04-16 21:59:43 +00:00
Jakub Jelinek
f7016882e9 (do_test): Use %zd instead of %d when printing cnt. 2003-04-16 21:59:32 +00:00
Ulrich Drepper
1dd42dfc72 Update.
* string/test-strncpy.c (do_one_test): Mark start and stop as
2003-04-16 17:22:45 +00:00
Ulrich Drepper
81641068cd Update.
2003-04-16  Ulrich Drepper  <drepper@redhat.com>

	* string/test-strncpy.c (do_one_test): Makr start and stop as
	possibly unused.
2003-04-16 17:15:30 +00:00
Ulrich Drepper
0aa72cf1b5 (do_one_test): Makr start and stop as possibly unused. 2003-04-16 17:10:51 +00:00
Roland McGrath
4ab6f47ce3 * libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning.
* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for
	INTUSE(__register_frame_info_bases).
2003-04-16 03:12:34 +00:00
Roland McGrath
21e6610756 2003-04-15 Roland McGrath <roland@redhat.com>
* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for
	INTUSE(__register_frame_info_bases).
2003-04-16 03:06:31 +00:00
Ulrich Drepper
dce3db5635 Update.
AT_SYSINFO_EH_FRAME.  Adjust string width.
2003-04-15 23:56:32 +00:00
Ulrich Drepper
162434a682 Update.
2003-04-15  Ulrich Drepper  <drepper@redhat.com>

	* elf/elf.h: Define AT_SYSINFO_EH_FRAME.
	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle
	AT_SYSINFO_EH_FRAME.
	(_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value.
	* sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global):
	Add _dl_sysinfo_eh_frame field.
	* elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame.
	* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj
	variable.
	[NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases
	if _dl_sysinfo_eh_frame is non-NULL.

	* Makeconfig (gnulib): Add -lgcc_eh.

	* config.h.in: Define HAVE_FORCED_UNWIND.
2003-04-15 22:46:40 +00:00
Ulrich Drepper
482eb33c43 Update.
2003-04-15  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/powerpc/powerpc64/strcmp.S: Convert to full 64-bit.
	* sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2003-04-15 19:45:39 +00:00
Ulrich Drepper
aa3f24108d Update.
2003-04-15  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Avoid
	checking R_PPC_RELATIVE, R_PPC_NONE and whether relocation is
	against local symbol in conflict processing.
2003-04-15 19:42:49 +00:00
Ulrich Drepper
6087c4851c Update.
2003-04-15  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/powerpc/bits/atomic.h
	[__powerpc64] (__arch_compare_and_exchange_val_64_acq): Define.
	[! __powerpc64] (__arch_compare_and_exchange_val_64_acq): Defined
	as abort stub.
	(__arch_compare_and_exchange_val_32_acq): Define.
	(atomic_compare_and_exchange_val_acq): Define.
2003-04-15 18:39:09 +00:00
Ulrich Drepper
a1b5424f50 Update.
2003-04-15  Ulrich Drepper  <drepper@redhat.com>

	* include/atomic.h: Pretty printing.
2003-04-15 18:29:40 +00:00
Ulrich Drepper
8e854030c0 Fix typo.
Confirmed LC_PAPER and LC_MEASUREMENT settings.
2003-04-15 07:10:39 +00:00
Ulrich Drepper
d40e724265 Update.
2003-04-05  Petter Reinholdtsen  <pere@hungry.com>

	* locales/sr_YU [LC_MONETARY]: Change int_curr_symbol from 'YUN'
	to 'YUM' to match changes commited to ISO-4217 2002-02-13 and get
	the locale building again.
	* locales/sr_YU@cyrillic: Likewise.
2003-04-15 04:40:00 +00:00
Ulrich Drepper
52a7f7c0c1 Update.
2003-04-14  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/vfscanf.c: Add casts to avoid warnings.
2003-04-15 02:36:10 +00:00
Ulrich Drepper
18ddd3aa66 Update.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Don't
2003-04-14 21:55:10 +00:00
Ulrich Drepper
359091616d Update.
2003-04-14  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Don't
	overflow CFA advance instructions.
	* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
2003-04-14 21:38:45 +00:00
Ulrich Drepper
bd4f43b462 Update.
2003-04-14  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/i486/bits/atomic.h: Rename LOCK to LOCK_PREFIX.
	* sysdeps/x86_64/bits/atomic.h: Likewise.

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

	* sysdeps/unix/sysv/linux/i386/sysdep.h: Change PUSHARGS_1 and
	POPARGS_1 to emit labels for the mov instructions.

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

	* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO): Define.
2003-04-14 17:30:34 +00:00
Ulrich Drepper
18a8e730da Update.
2003-04-14  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Use
	DW_CFA_advance_loc2 for .Laddl-.Lsubl.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Use
	DW_CFA_advance_loc for .Laddl-.Lsubl.

	* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Don't use
	position-independent unwind data for static libraries.
	Add missing unwind info.  Add comments.
2003-04-14 16:43:20 +00:00
Ulrich Drepper
11cb564e58 Use DW_CFA_advance_loc2 for .Laddl-.Lsubl. 2003-04-14 16:42:09 +00:00
Roland McGrath
8133a3fd77 * sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence
compiler warning.

	* sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge.
2003-04-14 08:52:37 +00:00
Roland McGrath
06c1509610 2003-04-14 Roland McGrath <roland@redhat.com>
* sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge.
2003-04-14 08:52:21 +00:00
Ulrich Drepper
39a46c42f5 Update.
2003-04-14  Ulrich Drepper  <drepper@redhat.com>

	* string/strxfrm.c (STRXFRM): Terminate rulearr at correct
	position.  Reported by jreiser@BitWagon.com.
2003-04-14 07:03:40 +00:00
Ulrich Drepper
4ae7142df2 Add missing unwind info. Add comments. 2003-04-14 02:52:46 +00:00
Roland McGrath
657a543b42 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Rename macros to
match changes in NPTL sysdep-cancel.h.
2003-04-13 22:57:52 +00:00
Roland McGrath
4578e3e7dc 2003-04-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Rename macros to
	match changes in NPTL sysdep-cancel.h.
2003-04-13 22:57:45 +00:00
Ulrich Drepper
a1fb9649b2 Update.
2003-04-13  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/unwind-dw2-fde.c: Update from recent gcc version.
	* sysdeps/generic/unwind-dw2-fde.h: Likewise.
	* sysdeps/generic/unwind-dw2.c: Likewise.
	* sysdeps/generic/unwind-pe.h: Likewise.
2003-04-13 16:47:36 +00:00
Ulrich Drepper
6180ac2f06 Update from recent gcc version. 2003-04-13 16:45:10 +00:00
Alexandre Oliva
6a1aff6912 * sysdeps/unix/sysv/linux/mips/profil-counter: New. * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64. * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64. (mcontext_t): Make it match the 32-bit mips kernel in o32. * sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from the mips and mips64 headers. (struct user): Port to n32/n64.
2003-04-13  Alexandre Oliva  <aoliva@redhat.com>

	* sysdeps/unix/sysv/linux/mips/profil-counter: New.
	* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64.
	* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New.
	* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64.
	(mcontext_t): Make it match the 32-bit mips kernel in o32.
	* sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from
	the mips and mips64 headers.
	(struct user): Port to n32/n64.
2003-04-13 11:36:32 +00:00
Ulrich Drepper
ad2be8527a Update.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Add unwind info.
	* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
2003-04-13 08:36:19 +00:00
Ulrich Drepper
08c765fa6e Update.
2003-04-13  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Add
	unwind info.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.

	* Makefile: Make sure all cancellation points are compiled with
	exception and asynchronous unwind tables.
2003-04-13 08:04:46 +00:00
Ulrich Drepper
7cc1894ca8 Update.
2003-04-12  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add cast to
	avoid warning.

	* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): If
	__ASSUME_VSYSCALL is defined don't add restorer.
	* sysdeps/unix/sysv/linux/kernel-features.h: Define
	__ASSUME_VSYSCALL for 2.5.53.
2003-04-13 02:05:36 +00:00
Ulrich Drepper
177d1ad3ac Update.
2003-04-12  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/x86_64/tls.h (THREAD_SETMEM): Word around compiler bug
	which mishandles loading of global object addresses in PIC.
	(THREAD_SETMEM_NC): Likewise.
2003-04-12 20:32:01 +00:00
Ulrich Drepper
68107ec092 Update.
* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2003-04-12 08:38:14 +00:00
Ulrich Drepper
09d65ff393 Update.
2003-04-11  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling.
	Remove HAVE_CANCELBUF code.  Replace with code using the new
	initializers for unwind-based cleanup handling.
	* sysdeps/generic/unwind.h: Update from latest gcc version.
	* sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few
	places to allow unwind data generation.
	* sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times.
	* sysdeps/x86_64/bits/setjmp.h: Likewise.
	* sysdeps/sh/bits/setjmp.h: Likewise.
	* sysdeps/powerpc/bits/setjmp.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
	* sysdeps/alpha/bits/setjmp.h: Likewise.
2003-04-12 00:58:26 +00:00
Ulrich Drepper
877e51b20f (deallocate_tsd): Don't take parameter. Adjust caller. Optimize to avoid often unecessary local variable.
(start_thread): Initialize cleanup_jmp_buf element if own thread descriptor.
2003-04-12 00:25:27 +00:00
Roland McGrath
0dc44b51cd * csu/tst-empty.c: New file.
* csu/Makefile (tests, tests-static): Add it.
2003-04-12 00:17:14 +00:00
Roland McGrath
78c9da10d2 2003-04-11 Roland McGrath <roland@redhat.com>
* csu/tst-empty.c: New file.
	* csu/Makefile (tests, tests-static): Add it.
2003-04-12 00:16:59 +00:00