Commit Graph

10253 Commits

Author SHA1 Message Date
Ulrich Drepper d15a8404ef Update.
2003-03-03  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry.
	* misc/sys/mman.h: Add prototype for remap_file_pages.
	* sysdeps/generic/remap_file_pages.c: New file.

	* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE
	and MAP_NONBLOCK.
	* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise
	* sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.

	* sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.
2003-03-03 10:05:49 +00:00
Ulrich Drepper 0ddc17ba4b Add prototype for remap_file_pages. 2003-03-03 09:45:34 +00:00
Roland McGrath a49f57629f * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
* sysdeps/ia64/dl-machine.h: Likewise.
	* sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
	argument type.
	* sysdeps/ia64/dl-lookupcfg.h: Update decl.

	* sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias.
	* sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias.
	* locale/Versions (libc: GLIBC_2.3): Move those to ...
	* sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file.
	* sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise.
	* Versions.def (libc): Add GLIBC_2.3.3 set.
2003-03-03 09:45:25 +00:00
Roland McGrath 958528b013 2003-03-03 Roland McGrath <roland@redhat.com>
* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
	* sysdeps/ia64/dl-machine.h: Likewise.
	* sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
	argument type.
	* sysdeps/ia64/dl-lookupcfg.h: Update decl.
2003-03-03 09:45:09 +00:00
Ulrich Drepper e9104e5530 Stub implementation of remap_file_pages. 2003-03-03 09:44:55 +00:00
Roland McGrath ea6a015bd7 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
* sysdeps/ia64/dl-machine.h: Update decl.
2003-03-03 08:44:46 +00:00
Roland McGrath 83f2fcbe7b 2003-03-03 Roland McGrath <roland@redhat.com>
* forward.c: Fix typo in __pthread_attr_init_2_0 compat_symbol decl.
2003-03-03 08:43:31 +00:00
Andreas Jaeger 625845408e Update.
2003-03-03  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing
	brace.
2003-03-03 08:23:47 +00:00
Andreas Jaeger a46fde6e38 * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing
brace.
2003-03-03 08:23:37 +00:00
Roland McGrath 78c3fb45c1 * scripts/abilist.awk: Reject data items with apparent 0 size.
* scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar
	after foo.* as if it were a duplicate.

	* sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.

	__ASSUME_POSIX_TIMERS for Linux 2.5.63 and up.
2003-03-03 07:43:09 +00:00
Ulrich Drepper 1be3d6642e Update.
* elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.
2003-03-03 07:31:25 +00:00
Ulrich Drepper 5324b81cb3 (timer_create): Return correct error for CPU clocks. 2003-03-03 07:29:24 +00:00
Roland McGrath f5d3159377 2003-03-02 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.
2003-03-03 07:11:46 +00:00
Roland McGrath 620656a3ff 2003-03-02 Roland McGrath <roland@redhat.com>
* scripts/abilist.awk: Reject data items with apparent 0 size.
2003-03-03 07:11:42 +00:00
Ulrich Drepper 7d9952c196 (struct filebuf): Reduce buf array to 512 bytes. 2003-03-03 07:07:44 +00:00
Ulrich Drepper 885bafa14a Update.
2003-03-02  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC.
	* sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only
	if not already defined.  Use SYSDEP_GETRES to allow other files to
	provide alternative implementations.
	* sysdeps/unix/sysv/linux/clock_getres.c: New file
	* sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only
	if not already defined.  Use SYSDEP_GETTIME to allow other files to
	provide alternative implementations.
	* sysdeps/unix/sysv/linux/clock_gettime.c: New file.
	* sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only
	if not already defined.  Use SYSDEP_GETTIME to allow other files to
	provide alternative implementations.
	* sysdeps/unix/sysv/linux/clock_settime.c: New file.
	* sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow
	other files to provide alternative implementations.  Rearrange
	tests for invalid parameters.
	* sysdeps/unix/sysv/linux/clock_nanosleep.c: New file.
	* sysdeps/unix/sysv/linux/sysconf.c: New file.
	* sysdeps/unix/sysv/linux/kernel-features.h: Define
	__ASSUME_POSIX_TIMERS for Linux 2.4.63 and up.
	* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
	_POSIX_MONOTONIC_CLOCK.
2003-03-03 05:29:09 +00:00
Ulrich Drepper e5497892bb Update.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
2003-03-03 05:00:33 +00:00
Ulrich Drepper ad0e8eb0a5 Update.
2003-03-02  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
	_POSIX_MONOTONIC_CLOCK.
	* linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
2003-03-03 04:57:09 +00:00
Ulrich Drepper 1e543c0cc6 Define CLOCK_MONOTONIC. 2003-03-03 04:42:14 +00:00
Roland McGrath 8f3846a978 * scripts/merge-abilist.awk: More checks for bogus input.
Uniquify duplicate config names.

	* scripts/abilist.awk: Don't distinguish weak symbols in normal output.
2003-03-03 02:38:36 +00:00
Roland McGrath 44aeb4868c 2003-03-02 Roland McGrath <roland@redhat.com>
* scripts/abilist.awk: Don't distinguish weak symbols in normal output.
2003-03-03 02:38:21 +00:00
Ulrich Drepper 4adacf579f Update.
2003-03-02  Ulrich Drepper  <drepper@redhat.com>

	* tst-cancel4.c (tf_sleep): Lower sleep time a bit to not upset
	recent kernels.
2003-03-03 01:20:35 +00:00
Ulrich Drepper f6fbf49230 (tf_sleep): Lower sleep time a bit to not upset recent kernels. 2003-03-03 01:19:01 +00:00
Roland McGrath 7551556fa1 * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed
from dl_reloc_overflow, make global.
	(__process_machine_rela): Update callers.
	* sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow.
	Add attribute_hidden to __process_machine_rela decl.
	(elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs.
2003-03-03 01:05:12 +00:00
Roland McGrath 3a601d31b6 * sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const
variable.
2003-03-03 00:20:51 +00:00
Roland McGrath bb0ddc2f1e * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
Don't use weak_extern for dl_rtld_map.  Instead check only if [SHARED].
	(elf_machine_rela): Clean up.

	* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up.

	PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>.
	* sysdeps/powerpc/powerpc32/elf/configure.in: New file.
	* sysdeps/powerpc/powerpc32/elf/configure: New generated file.
	* elf/tls-macros.h [__powerpc__ && !__powerpc64__]
	(TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them.
	* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support
	new relocs for TLS.

	* sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these
	macros out of [SHARED].
	(TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.

	* elf/elf.h: Define R_PPC_* relocs for TLS support.
	Clean up R_PPC64_* macro definition comments.
2003-03-02 11:45:12 +00:00
Roland McGrath 3093b1c70c 2003-03-02 Roland McGrath <roland@redhat.com>
* sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these
	macros out of [SHARED].
	(TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.
2003-03-02 11:41:46 +00:00
Ulrich Drepper 816a5a6a69 Typo in comment. 2003-03-02 08:44:23 +00:00
Ulrich Drepper 86bfff4d52 Update.
2003-03-01  Ulrich Drepper  <drepper@redhat.com>

	* descr.h (struct pthread): Move cleanup field to the front.
2003-03-02 07:54:30 +00:00
Ulrich Drepper 748bec0865 Update.
* sysdeps/i386/tcb-offsets.sym: Add CLEANUP and CLEANUP_PREV.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Inline
	__pthread_cleanup_pop functionality.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
2003-03-02 07:52:31 +00:00
Ulrich Drepper 78429f1231 Add CLEANUP and CLEANUP_PREV. 2003-03-02 07:49:51 +00:00
Roland McGrath d114938564 * configure.in: In "running configure fragment for" message,
omit $srcdir from the name if we prepended it.
	* configure: Regenerated.
2003-03-01 22:40:30 +00:00
Roland McGrath 7ed33cba81 * elf/dl-reloc.c (allocate_static_tls): Fix calculations.
From Jakub Jelinek <jakub@redhat.com>.

	* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change,
	which duplicated the O_DIRECT defn.

2003-03-01  GOTO Masanori  <gotom@debian.or.jp>

	* stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived
	random functions.

	* resolv/Makefile (tests): Don't depend on
	$(objpfx)mtrace-tst-leaks when cross compiling.
2003-03-01 22:32:04 +00:00
Roland McGrath f88658e9b9 2003-03-01 Andreas Schwab <schwab@suse.de>
* resolv/Makefile (tests): Don't depend on
	$(objpfx)mtrace-tst-leaks when cross compiling.
2003-03-01 22:15:00 +00:00
Andreas Schwab 4191f43dd2 * sysdeps/m68k/dl-machine.h (_dl_start_user): Access
__libc_stack_end through GOT since it is a global symbol.
2003-03-01 15:33:19 +00:00
Andreas Schwab 3d5c082124 (_dl_start_user): Access __libc_stack_end through GOT since it is a global symbol. 2003-03-01 15:33:11 +00:00
Ulrich Drepper bd8bb78ba2 Update.
2003-03-01  Ulrich Drepper  <drepper@redhat.com>

	* descr.h (struct pthread): Move tid field to the front now that
	it is often used.

	* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S
	(__lll_mutex_timedlock_wait): Remove.
	(__lll_mutex_unlock_wake): Don't save, load, and restore %esi.
	* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S
	(__lll_mutex_unlock_wake): Don't save, load, and restore %esi.
	* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
	(lll_unlock_wake_cb): Don't save and restore %esi.
	(__lll_unlock_wake): Add alignment.  Don't save, load, and restore
	%esi.
	(__lll_timedwait_tid): Add alignment.
	* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S
	(__lll_unlock_wake): Add alignment.  Don't save, load, and restore
	%esi.
	(__lll_timedwait_tid): Removed.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S
	(__pthread_cond_broadcast): Don't save, load, and restore %esi.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
	(pthread_barrier_wait): Don't save, load, and restore %esi for
	last thread.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
	(__pthread_cond_signal): Don't save, load, and restore %esi.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S
	(__pthread_rwlock_unlock): Don't save, load, and restore %esi.
	* sysdeps/unix/sysv/linux/i386/i486/sem_post.S (__new_sem_post):
	Don't save, load, and restore %esi.
2003-03-01 09:45:23 +00:00
Ulrich Drepper 85c54a327d Update.
* argp/argp.h: Fix a typo.
	Reported by H.S.Teoh <hsteoh@quickfur.ath.cx>.

	* manual/terminal.texi: Fix cfmakeraw() definition from int to void.

2003-02-27  Pat Rankin  <rankin@pactechdata.com>

	* posix/regexec.c (proceed_next_node): Cast re_string_get_buffer to
	char *.
	(get_subexp): Likewise.

2003-03-01  GOTO Masanori  <gotom@debian.or.jp>
2003-03-01 01:14:31 +00:00
Ulrich Drepper a6861e64bc Update.
2003-03-01  GOTO Masanori  <gotom@debian.or.jp>

	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECT): Define.

2003-02-26  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT): Define.
2003-03-01 00:11:19 +00:00
Ulrich Drepper c340cedafc (O_DIRECT): Define. 2003-03-01 00:09:52 +00:00
Roland McGrath a6963e69b5 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove
special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to
	repeat it and avoids the test for the common case.
	Clean up and fix calculations for TLS relocs.

	* sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ...
	* sysdeps/powerpc/dl-tls.h: ... here.
	(TLS_TP_OFFSET): New macro.

	* sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.
2003-02-28 04:55:04 +00:00
Roland McGrath 63c9fb5c4b 2003-02-27 Roland McGrath <roland@redhat.com>
* sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.
2003-02-28 04:54:49 +00:00
Ulrich Drepper 206a5cdea2 Update. 2003-02-28 03:47:32 +00:00
Ulrich Drepper 567fb22ae3 Update.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
	Release lock before waking up the waiters.
2003-02-27 23:45:12 +00:00
Ulrich Drepper 427f5fa1a4 Update.
2003-02-27  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to
	code generation changes in recent gcc.
2003-02-27 22:29:25 +00:00
Ulrich Drepper abeb300799 (do_test): Don't start more than one thread in parallel. 2003-02-27 21:48:41 +00:00
Roland McGrath 73a061bbe9 * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW):
Rename argument to avoid symbol conflict.

	* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
	[__USE_GNU] (O_DIRECT): New macro.
2003-02-27 20:57:19 +00:00
Roland McGrath f4038ed763 2003-02-27 Roland McGrath <roland@redhat.com>
* sysdeps/powerpc/tls.h [HAVE_TLS_SUPPORT]: Define USE_TLS and all
	related macros.
2003-02-27 20:47:12 +00:00
Ulrich Drepper a2d83cfb21 Update.
* tst-rwlock9.c (writer_thread): Correct adding TIMEOUT.
	(reader_thread): Likewise.
2003-02-27 19:49:35 +00:00
Ulrich Drepper d2637c7053 Update.
2003-02-24  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix
	unwind info.
2003-02-27 10:32:38 +00:00