Commit Graph

7039 Commits

Author SHA1 Message Date
Ulrich Drepper 9d4f43ae50 Update.
* nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
	and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
	__niserr2nss_count.
	* nis/nss-nisplus.c: New file.
	(libnss_nisplus-routines): Add nss-nisplus.

	* nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
	* nss_nisplus/nisplus-ethers.c: Likewise.
	* nss_nisplus/nisplus-grp.c: Likewise.
	* nss_nisplus/nisplus-hosts.c: Likewise.
	* nss_nisplus/nisplus-network.c: Likewise.
	* nss_nisplus/nisplus-proto.c: Likewise.
	* nss_nisplus/nisplus-pwd.c: Likewise.
	* nss_nisplus/nisplus-rpc.c: Likewise.
	* nss_nisplus/nisplus-service.c: Likewise.
	* nss_nisplus/nisplus-spwd.c: Likewise.
2001-04-26 14:03:39 +00:00
Ulrich Drepper 1b20d937f3 Update.
* malloc/mcheck.c (mcheck): Call malloc once before setting the
	hooks to allow the internal check hooks to be set up if necessary.
2001-04-26 13:46:43 +00:00
Ulrich Drepper 48a92e9d2d Update.
2001-04-26  Ulrich Drepper  <drepper@redhat.com>

	* nis/nss-nis.h: Move yperr2nss_tab definition into separate file
	and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
	__yperr2nss_count.
	* nis/nss-nis.c: New file.
	* nis/Makefile (libnss_compat-routines): Add nss-nis.
	(libnss_nis-routines): Likewise.

	* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
	optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
2001-04-26 13:44:29 +00:00
Ulrich Drepper 7cc7c0f7e7 Some more optimizations. 2001-04-26 13:15:39 +00:00
Andreas Jaeger e1fff0e7bf Update.
2001-04-26  Andreas Jaeger  <aj@suse.de>

	* po/zh_TW.po: Update.
	Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2001-04-26 06:51:16 +00:00
Andreas Jaeger 736d48a0cc Update from taiwanese translation team. 2001-04-26 06:51:00 +00:00
Ulrich Drepper c3fa6e3dc7 Update.
2001-04-25  Ulrich Drepper  <drepper@redhat.com>

	* malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
	compiler command line.
	* sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
	command line for malloc.c.
2001-04-26 00:07:06 +00:00
Ulrich Drepper e0ea35832e Update.
2001-04-25  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
	* sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
	* sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
	struct msghdr for __WORDSIZE == 32.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
	* sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
	for __WORDSIZE == 32.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
	file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
	Rename from longjmp, make longjmp weak alias to it.

2001-04-24  David S. Miller  <davem@redhat.com>

	* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2001-04-25 20:50:21 +00:00
Ulrich Drepper c5e38fac45 Updatte.
2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>

	* sysdeps/hppa/stackinfo.h: New file.
	* sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
	* sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
	* sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
	* sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
	of PA kernel features.
2001-04-25 20:20:41 +00:00
Ulrich Drepper dcf56f4246 Update.
2001-04-25  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/localedef.c (main): Always set a file name for
	the initial locale.
	* locale/programs/locfile.c (locfile_read): filename is allowed to
	be NULL.
2001-04-25 19:18:43 +00:00
Ulrich Drepper 69d8605e84 Update.
2001-04-12  Paul Bame  <paul_bame@hp.com>

	* sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
	enable flags.
2001-04-25 18:29:10 +00:00
Ulrich Drepper d95f785397 Update.
* sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
	_XBS5_LPBIG_OFFBIG): Define to -1.
	Fix typos.
2001-04-25 06:10:50 +00:00
Ulrich Drepper fc2083cc45 Update.
* sysdeps/generic/bits/environments.h: Fix typos.
2001-04-25 01:31:54 +00:00
Ulrich Drepper 280f4add8a Update.
* sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
	* posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
	* posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
	* posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2001-04-25 01:11:30 +00:00
Ulrich Drepper 216c24b76d Update.
2001-04-24  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2001-04-24 22:48:59 +00:00
Ulrich Drepper 1921e93466 Update.
2001-03-21  Alan Modra  <alan@one.net.au>

	* sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
	value from application so that constructors in non-PIC libs work.

2000-12-13  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
	function pointer, hence load the jump address and gp from the
	function pointer before jumping.
2001-04-24 19:40:16 +00:00
Ulrich Drepper 2ee403d414 Fix typos in last patch. 2001-04-24 14:18:02 +00:00
Andreas Jaeger c2063191c3 send returns ssize_t. 2001-04-24 13:36:50 +00:00
Andreas Jaeger dcea709aac Update.
2001-04-24  Andreas Jaeger  <aj@suse.de>

	* sysdeps/generic/send.c (__send): Return ssize_t.
	* sysdeps/mach/hurd/send.c (__send): Likewise.
	* sysdeps/mach/hurd/recv.c (recv): Likewise.
	* sysdeps/mach/hurd/sendto.c (sendto): Likewise.
	* sysdeps/generic/sendto.c (sendto): Likewise.
	* sysdeps/generic/recvmsg.c (recvmsg): Likewise.
	* sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
	* sysdeps/generic/recvfrom.c (recvfrom): Likewise.
	* sysdeps/generic/sendmsg.c (sendmsg): Likewise.

	* socket/sys/socket.h: send* and recv* return ssize_t.

	* include/sys/socket.h: send returns ssize_t.

	* sysdeps/i386/fpu_control.h: Fix comments.
2001-04-24 13:33:26 +00:00
Andreas Jaeger f97589713c Fix comments. 2001-04-24 13:26:10 +00:00
Ulrich Drepper 9c83a5ec79 Update.
2001-04-24  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/ia64/Dist: Add hp-timing.c.
	* sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
	* posix/Makefile (distribute): Add tst-getconf.sh.
	* po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2001-04-24 08:01:09 +00:00
Ulrich Drepper 44c51e9ab0 Update.
* sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2001-04-24 05:40:23 +00:00
Ulrich Drepper 295125c542 Update.
* sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
	* sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
	* sysdeps/ia64/hp-timing.c: New file.
	* sysdeps/ia64/hp-timing.h: New file.
	* sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
	CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.

	* sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
	using #ifdef whether the clock is available.
	* sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.

	* sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
	it into data section.
2001-04-24 05:18:27 +00:00
Ulrich Drepper 7e9463020b Update.
* sysdeps/unix/sysv/linux/ia64/pt-initfini.c (_init): We don't
	have to call __gmon_start__ in the libpthread DSO.
	* sysdeps/pthread/pt-initfini.c (_init): Likewise.
2001-04-24 04:40:38 +00:00
Ulrich Drepper b5edfe6131 Update.
* sysdeps/pthread/pt-initfini.c (_init): We don't have to call
	__gmon_start__ in the libpthread DSO.
2001-04-24 04:12:51 +00:00
Ulrich Drepper 18ac1129d1 Update.
* internals.h: Fix parameter type for __pthread_clock_gettime and
	__pthread_clock_settime.
2001-04-23 20:03:56 +00:00
Ulrich Drepper 3b5c1b57d3 Update.
* sysdeps/unix/i386/i586/clock_getres.c: Removed.
	* sysdeps/unix/i386/i586/clock_gettime.c: Removed.
	* sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
	* sysdeps/unix/i386/i586/clock_settime.c: Removed.
	* sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
	* sysdeps/generic/cpuclock-init.h: Removed.
	* sysdeps/unix/i386/i686/Implies: Removed.
	* sysdeps/unix/i386/i686/tempname.c: Removed.
	* sysdeps/i386/i686/Versions: New file.
	* sysdeps/unix/i386/i586/Versions: Removed.

	* sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
	CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
	* sysdeps/unix/clock_gettime.c: Likewise.
	* sysdeps/unix/clock_nanosleep.c: Likewise.
	* sysdeps/unix/clock_settime.c: Likewise.
	* sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
	RANDOM_BITS use CPU clock.

	* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
	* sysdeps/sparc/Versions: New file.

	* elf/dl-support.c: Don't use cpuclock-init.h definitions, use
	hp-timing.h definitions.
	* sysdeps/generic/dl-sysdep.c: Likewise.

	* include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
	__get_clockfreq prototype.

	* sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
	Use hp_timing_t type.

	* sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2001-04-23 19:01:10 +00:00
Ulrich Drepper bc183edc4e Update.
2001-04-23  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
	whether named file is a regular file or a block device.
	* sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2001-04-23 09:06:27 +00:00
Ulrich Drepper 92c2e46b96 (__pathconf): For _PC_ASYNC_IO test whether named file is a regular file or a block device. 2001-04-23 09:04:59 +00:00
Andreas Jaeger 77e4dc62b0 Update.
2001-04-23  Andreas Jaeger  <aj@suse.de>

	* nscd/nscd.h: Add noreturn attribute for start_threads.
2001-04-23 06:04:31 +00:00
Andreas Jaeger 8f11d6f9bf Add noreturn attribute for start_threads. 2001-04-23 06:04:16 +00:00
Ulrich Drepper a3bbce5b68 Update.
2001-04-22  Ulrich Drepper  <drepper@redhat.com>

	* posix/getconf.c: Fix names of XBS5 LFS test variables.
	Add missing configuration variables from XPG6.
	* posix/tst-getconf.c: New file.
	* posix/Makefile (generated): Add tst-getconf.out.
	(tests): Add ($objpfx)tst-getconf.out.
	Add rule to run tst-getconf.sh.
	* sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
	from XPG6.
	* sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
	_PC_SYMLINK_MAX.
	* sysdeps/posix/pathconf.c: Likewise.
	* sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
	and _SC_SYMLOOP_MAX.
2001-04-22 17:37:40 +00:00
Ulrich Drepper e17e51b4da Update.
* sysdeps/arm/fpu/feenablxcpt.c: New file.
	* sysdeps/arm/fpu/fedisablxcpt.c: New file.
	* sysdeps/arm/fpu/fegetexcpt.c: New file.

2001-04-22  Philip Blundell  <philb@gnu.org>
2001-04-22 14:33:16 +00:00
Ulrich Drepper e661fdf267 Update.
2001-04-22  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
	Renamed from struct user_fp.
	(struct user_regs): New.
	(struct user): Use struct user_regs rather than struct pt_regs to
	avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
	of struct user_fp and struct user_fp_struct.
	* sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
	not sys/elf.h.

2001-04-22  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
	sys/procfs.h, and tell the user to include that file instead.
	* sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
	surrounded with #if 0.
	(elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
	from sys/elf.h.
	(prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
	elf_fpregset_t respectively.

2001-04-22  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
	address that faulted.
2001-04-22 14:12:27 +00:00
Ulrich Drepper d20f21a215 Update.
* sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
	values.
	* sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
	* posix/confstr.c: Handle _CS_POSIX_V6_* values.
	* posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
	* sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2001-04-22 06:21:54 +00:00
Ulrich Drepper d290c57b5f Update.
* sysdeps/s390/fpu/libm-test-ulps: Likewise.
	* sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
	* sysdeps/mips/fpu/libm-test-ulps: Likewise.
2001-04-22 04:57:01 +00:00
Ulrich Drepper d8cbcd7d34 Update.
2001-04-21  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2001-04-22 03:36:36 +00:00
Ulrich Drepper 463468350f Update.
2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
	offset.

2001-04-21  Ulrich Drepper  <drepper@redhat.com>

	* posix/getopt.h: Treat __cplusplus like __STDC__.

2001-04-20  John S. Marvin  <jsm@fc.hp.com>

	* sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
	entry point stub.

2001-04-20  Richard Hirst  <rhirst@linuxcare.com>

	* elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
	and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.

	* sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
	entry so the ptrace.c wrapper is used.

2001-04-20  Alan Modra  <amodra@one.net.au>

	* sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
	(DL_FUNCTION_ADDRESS): Define.
	(DL_DT_INIT_ADDRESS): Define.
	(DL_DT_FINI_ADDRESS): Define.
	* sysdeps/hppa/Versions: Add _dl_function_address.
	* sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
	* sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
	_dl_function_address.
2001-04-22 03:33:47 +00:00
Ulrich Drepper 5a74e68a52 (Formatted Output Functions): Fix description of snprintf. 2001-04-22 03:20:24 +00:00
Andreas Jaeger d6f8608514 (thread_func): Fix comment as suggested by Jakub Jelinek.
(thread_func): Fix comment as suggested by Jakub Jelinek.
2001-04-21 20:42:42 +00:00
Andreas Jaeger d8a60a1577 (thread_func): Remove mutex_unlock call since it's never executed.
(thread_func): Remove mutex_unlock call since it's never executed.
2001-04-21 20:17:26 +00:00
Andreas Jaeger 36c96ccd87 Update.
* rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
	* resolv/gai_misc.c (handle_requests): Likewise.
	* malloc/obstack.c (print_and_abort): Likewise.
	* malloc/mcheck.c (mabort): Likewise.
2001-04-21 18:46:32 +00:00
Andreas Jaeger f9e1d149b3 * sysdeps/pthread/timer_routines.c (thread_func): Add
noreturn attribute, remove statements that will never be executed.
	* sysdeps/pthread/timer_routines.c (thread_func): Add noreturn
	attribute, remove statements that will never be executed.
2001-04-21 18:45:05 +00:00
Andreas Jaeger 159a2e1a65 Update.
* manager.c (__pthread_manager): Add noreturn
	attribute.
	(pthread_start_thread): Likewise, remove return statement.
	(pthread_start_thread_event): Likewise.
	Add noreturn attribute for pthread_handle_exit.
	* weaks.c: Add noreturn attribute for pthread_exit.
2001-04-21 18:41:05 +00:00
Andreas Jaeger e6dcf35202 Add __pthread_clock_gettime and __pthread_clock_settime prototypes.
2001-04-21  Andreas Jaeger  <aj@suse.de>

	* internals.h: Add __pthread_clock_gettime and
	__pthread_clock_settime prototypes.
2001-04-21 18:38:24 +00:00
Andreas Jaeger e94dd73359 Update.
2001-04-21  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/i386/i586/clock_settime.c: Include
	"libc-internal.h" for __get_clockfreq declaration.
2001-04-21 16:29:05 +00:00
Andreas Jaeger e03b8b00fc Include "libc-internal.h" for __get_clockfreq declaration. 2001-04-21 16:22:05 +00:00
Ulrich Drepper 5fc48cd78f Update.
2001-04-21  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
	CPUCLOCK_INIT if defined.
	* sysdeps/generic/dl-sysdep.c: Likewise.
	* sysdeps/generic/cpuclock-init.h: New file.
	* sysdeps/unix/i386/i586/cpuclock-init.h: New file.
	* sysdeps/unix/i386/i586/Versions: New file.
	* sysdeps/unix/i386/i586/clock_settime.c: New file.
	* sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
	separately by calling __pthread_clock_gettime if this function is
	available.  Subtract offset from tsc value before computing time value.
2001-04-21 07:55:01 +00:00
Ulrich Drepper b17c0a8e31 Update.
* iconv/iconv_prog.c (print_known_names): If printing goes not to
	a tty print in a more machine-friendly way.
2001-04-20 17:33:29 +00:00
Ulrich Drepper b8750342aa Update.
2001-04-20  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
	Contributed by Stephen L Moshier <moshier@mediaone.net>.

	* intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2001-04-20 16:00:24 +00:00