Commit Graph

2942 Commits

Author SHA1 Message Date
Andreas Jaeger 4791a9303c Update.
* sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
	* sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
	* sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
	* sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
	* sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
2001-07-31 07:46:22 +00:00
Andreas Jaeger dd98116c60 Update.
* sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by
	Stephen L Moshier.
2001-07-30 09:08:38 +00:00
Mark Kettenis 5301af2d6d * sysdeps/mach/hurd/recvmsg.c: New file. * sysdeps/mach/hurd/sendmsg.c: New file.
2001-07-29  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/recvmsg.c: New file.
	* sysdeps/mach/hurd/sendmsg.c: New file.
2001-07-29 12:26:40 +00:00
Ulrich Drepper 7748f4b5d5 Update.
* sysdeps/mips/Dist: Remove non-existing files.
	* sysdeps/mips/mips64/Dist: Likewise.
	* sysdeps/mips/mipsel/Dist: Removed.
	* iconv/Makefile (distribute): Add strtab.c and iconvconfig.h.
	* sysdeps/generic/Dist: Add bits/link.h.
	* sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h.
	* sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and
	dl-error.c.
	* sysdeps/ia64/Dist: Add bits/link.h.
2001-07-28 06:10:44 +00:00
Andreas Jaeger 52d38e0e40 Update.
2001-07-27  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
	value following change from 2001-05-30.

	* sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
	rename change from 2001-07-12 for __jmp_buf.
	Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
2001-07-27 04:36:09 +00:00
Andreas Jaeger ddf541a286 (SC_GPRS): Fix value following change from 2001-05-30. 2001-07-27 04:35:37 +00:00
Roland McGrath 15c64502ab 2001-07-26 Roland McGrath <roland@frob.com>
* sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
	on __USE_MISC rather than __USE_BSD.
	(B57600, B115200, B230400, B460800, B500000, B576000, B921600,
	B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
	B3500000, B4000000): New macros.
	* sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
	* termios/cfsetspeed.c (speeds): Likewise.
2001-07-26 21:23:31 +00:00
Ulrich Drepper 045fcd2621 Update.
2001-07-26  kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
	multi-line strings.
	(FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
	(elf_machine_rela): Handle unaligned relocation.
2001-07-26 01:39:53 +00:00
Ulrich Drepper 370f00c3a7 Update.
2001-06-07  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
	__ia64_make_fptr() for new interface.
	(_dl_function_address): Remove.

	* sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
	from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
	(struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
	pointer.  Rename member "func" to "ip".
	(struct ia64_fdesc_table): New type.
	(__ia64_make_fptr): Change prototype.
	(__ia64_init_bootstrap_fdesc_table): New function.
	(ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
	(__boot_ldso_fptr): Removed.
	(__fptr_next): Removed.
	(__fptr_root): Removed.
	(__fptr_count): Removed.
	(TRAMPOLINE_TEMPLATE): Fix typo in comment.  Don't use multi-line
	strings to avoid warning from gcc3.
	(RTLD_START): Don't use multi-line strings.
	(ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
	(elf_machine_fixup_plt): Update the code entry point in the
	function descriptor through a "volatile" pointer to ensure proper
	write ordering.
	(elf_machine_rela): Simplify handling of FPTR relocs: always call
	__ia64_make_fptr().

	* sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
	(DL_STATIC_FUNCTION_ADDRESS): Likewise.
	(DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
	(DL_DT_FINI_ADDRESS): Likewise.

	* sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
	avoid deadlocks.

	* include/link.h: Add member machine specific "l_mach" member to
	link_map.

	* sysdeps/generic/bits/link.h: New file.
	* sysdeps/ia64/bits/link.h: Likewise.

	* elf/rtld.c (_dl_start): Fix typo in comment.
	(_dl_start_final): Copy new "l_mach" member from temporary to
	final bootstrap map.
2001-07-26 00:27:15 +00:00
Ulrich Drepper ca13ce66be Update.
2001-07-25  Ulrich Drepper  <drepper@redhat.com>

	* csu/gmon-start.c: Use ENTRY_POINT_DECL is defined instead of a
	declaration using ENTRY_POINT.
	* sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.

2001-07-25  H.J. Lu  <hjl@gnu.org>

	* csu/gmon-start.c: Include <entry.h>
	(_start): Replaced with ENTRY_POINT.
2001-07-25 22:15:17 +00:00
Mark Kettenis ff1099a9ee * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
2001-07-25  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
2001-07-25 21:42:24 +00:00
Ulrich Drepper 48ab1c2ff5 Update.
2001-07-25  Jakub Jelinek  <jakub@redhat.com>

	* elf/Makefile (routines): Add dl-iteratephdr and
	dl-iteratephdr-static.
	(elide-routines.os): Add dl-iteratephdr-static.
	* elf/dl-iteratephdr.c: New file.
	* elf/link.h (struct dl_phdr_info): New definition.
	(dl_iterate_phdr): New prototype.
	* elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
	* include/link.h (struct dl_phdr_info): New definition.
	(dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
	* sysdeps/generic/dl-iteratephdr-static.c: New file.
	* sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.

	* hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
	of pending signals.
2001-07-25 20:47:02 +00:00
Andreas Jaeger 78d16d09d8 (__elf_preferred_address): Prefer gaps below main executable. 2001-07-25 06:36:52 +00:00
Ulrich Drepper 188356b8cc Initialize %fs, %gs, and floating-point status as well. 2001-07-24 06:48:43 +00:00
Ulrich Drepper 3afd949152 Update.
* libio/genops.c (_IO_list_all_stamp): New variable.
	(_IO_un_link): Bump _IO_list_all_stamp after removing from list.
	(_IO_link): Likewise for insertion.
	(flush_cleanup): New function.
	(_IO_flush_all): Get list_all_lock and all individual locks for the
	streams.  Detect and handle changes to the _IO_list_all list.
	(_IO_flush_all_linebuffered): Likewise.
	* sysdeps/generic/bits/stdio-lock.h: Define
	_IO_cleanup_region_start_noarg.
	* sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
2001-07-24 01:33:57 +00:00
Andreas Jaeger bdce812bdb Update.
2001-07-23  Stephen L Moshier <moshier@mediaone.net>

	* sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
	sign for 0 input and set divide by zero exception for -1 input.
	Return argument if NaN or infinity.
2001-07-23 13:23:30 +00:00
Andreas Jaeger 9091981e8f Add some deltas. 2001-07-23 09:17:33 +00:00
Andreas Jaeger 514abd20fe Update.
2001-07-23  Stephen L Moshier <moshier@mediaone.net>

	* sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
	sign for 0 input.  Return NaN with no exception for NaN input.
2001-07-23 08:54:31 +00:00
Roland McGrath 393aec5244 * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
and SA_NODEFER options.  Spurred to action by Igor Khavkine.

	* sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
	(SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
	[__USE_MISC] (SA_INTERRUPT): New macro, value 0.
	[__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
	as in other sysdeps versions of this file.

        * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
	and provide sa_handler and sa_sigaction member names as macros, as
	done in other sysdeps versions of this file.
	Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
2001-07-23 07:20:28 +00:00
Andreas Schwab 5bb17da079 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
mark asm input operand as clobbered.
	* sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
2001-07-22 18:18:58 +00:00
Andreas Schwab 3cb0c69c68 (INLINE_SYSCALL): Don't mark asm input operand as clobbered. 2001-07-22 18:18:34 +00:00
Roland McGrath 2abe0b543f 2001-07-20 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/device-nrs.h: Comment fix, typo fix.
2001-07-21 06:02:09 +00:00
Roland McGrath 11c0b1e39b * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
from `dev_t' (st_rdev value) `const struct stat *'.
	* sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
	* libio/filedoalloc.c (_IO_file_doallocate): Change caller.
	* sysdeps/mach/hurd/device-nrs.h: New file.
2001-07-21 05:13:40 +00:00
Andreas Jaeger 980258f275 Synch with kernel. 2001-07-20 06:05:16 +00:00
Ulrich Drepper f2ebcef262 Define DEV_TTY_P. 2001-07-18 20:31:08 +00:00
Andreas Schwab 6769c6a1b5 Fix last change. 2001-07-17 17:12:10 +00:00
Ulrich Drepper 2706ee3823 Update.
2001-07-17  Ulrich Drepper  <drepper@redhat.com>

	* inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
	* inet/ruserpass.c (ruserpass): Likewise.
	* nss/nsswitch.c (nss_parse_file): Likewise.
	* resolv/res_hconf.c (_res_hconf_init): Likewise.
	* resolv/res_init.c (__res_vinit): Likewise.
	* gmon/bb_exit_func.c (__bb_exit_func): Likewise.
	* misc/getpass.c (getpass): Likewise.
	* misc/getusershell.c (initshells): Likewise.
	* misc/getttyent.c (setttyent): Likewise.
	* misc/mntent_r.c (__setmntent): Likewise.
	* time/getdate.c (__getdate_r): Likewise.
	* time/tzfile.c (__tzfile_read): Likewise.
	* iconv/gconv_conf.c (read_conf_file): Likewise.
	* intl/localealias.c (read_alias_file): Disable implicit locking
	for the stream.  Use _unlocked functions for glibc.
	* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
	implicit locking for the stream.
	(__get_nprocs_conf): Likewise.
	(phys_pages_info): Likewise.
2001-07-17 08:32:35 +00:00
Ulrich Drepper 774a8fe8b4 Update.
2001-07-13  H.J. Lu  <hjl@gnu.org>

	* sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
	(elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
	(RESOLVE_GOTSYM): Rewrite to use RESOLVE.

	* sysdeps/mips/rtld-ldscript.in: Removed.
	* sysdeps/mips/rtld-parms: Likewise.
	* sysdeps/mips/mips64/rtld-parms: Likewise.
	* sysdeps/mips/mipsel/rtld-parms: Likewise.
2001-07-16 22:33:08 +00:00
Ulrich Drepper ba3752d532 Update.
2001-07-16  Andreas Schwab  <schwab@suse.de>

	* sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.

2001-07-16  Andreas Schwab  <schwab@suse.de>

	* math/libm-test.inc (check_float_internal): Fix sign bit test of
	infinities.

2001-07-16  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
2001-07-16 21:31:43 +00:00
Ulrich Drepper 778e0ef71d Update.
2001-07-15  Ulrich Drepper  <drepper@redhat.com>

	* malloc/obstack.c: Define __attribute__ for non-gcc compilers.
	Patch by Jim Meyering <jim@meyering.net>.

2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
	fields in the sigaction struct to match the definition in the kernel.

2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
	test for ENOSYS.

2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
	to the entries in the __jmp_buf structure.
	* sysdeps/s390/s390-64/bits/setjmp.h: Likewise.

2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
	(> 64K) and a mvc loop for small blocks.
	* sysdeps/s390/s390-32/memcpy.S: Likewise.
	* sysdeps/s390/s390-64/bcopy.S: Likewise.
	* sysdeps/s390/s390-64/memcpy.S: Likewise.
2001-07-16 07:32:48 +00:00
Ulrich Drepper 3c204435e9 Use mvcle for big blocks (> 64K) and a mvc loop for small blocks. 2001-07-16 06:29:42 +00:00
Andreas Schwab a6d214835f * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
* sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
2001-07-15 15:31:34 +00:00
Andreas Schwab b20895bd7f * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
first.  Default to 4096, not EXEC_PAGESIZE.
2001-07-15 15:25:23 +00:00
Andreas Jaeger 567f6a473a Update.
2001-07-09  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.

	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
	HWCAP_I386_XMM2 to enum.
2001-07-14 08:03:37 +00:00
Ulrich Drepper 96b58136e3 Update.
2001-07-12  H.J. Lu  <hjl@gnu.org>

	* sysdeps/generic/segfault.c: Include <errno.h>.
2001-07-12 18:30:11 +00:00
Ulrich Drepper 8c35c0da02 Update.
2001-07-01  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
	sbrk.  Closes PR libc/2312.

2001-07-01  Andreas Jaeger  <aj@suse.de>

	* sysdeps/generic/segfault.c (install_handler): Handle case that
	the output file does not exists.  Closes PR libc/2345.

2001-07-11  Ulrich Drepper  <drepper@redhat.com>

	* intl/locale.alias: Use he language code for hebrew, not il
	[PR libc/2382].

2001-07-11  Jakub Jelinek  <jakub@redhat.com>

	* iconv/gconv_int.h: Fix comment typo.

	* hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
	backwards conditional in test for x == 1.0.
2001-07-12 06:32:02 +00:00
Andreas Jaeger 0e2bd6fdac Update.
2001-07-10  Stephen L Moshier  <moshier@mediaone.net>

	* sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
          backwards conditional in test for x == 1.0.
2001-07-11 07:30:36 +00:00
Andreas Jaeger 0eeba576ea Update.
2001-07-10  Andreas Jaeger  <aj@suse.de>

	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
	(-0.7).
2001-07-10 08:28:10 +00:00
Andreas Jaeger 772596083f * sysdeps/unix/sysv/linux/configure.in: Revert patch from
2001-07-05 for sysconfdir handling. 
* config.make.in (sysconfdir): Likewise. 
* configure.in: Likewise.
	* configure.in: Always assign libc_cv_sysconfdir.
2001-07-09  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/configure.in: Revert patch from
	2001-07-05 for sysconfdir handling.
	* config.make.in (sysconfdir): Likewise.
	* configure.in: Likewise.

	* configure.in: Always assign libc_cv_sysconfdir.
2001-07-09 11:51:53 +00:00
Ulrich Drepper 5f6b4f1db0 Update.
* sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
	what we define in <stdio.h>.
2001-07-08 09:47:01 +00:00
Ulrich Drepper 73c342ebcc Update.
2001-07-08  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
	* sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.

	* sysdeps/unix/sysv/aix/recv.c: New file.

	* sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.

	* sysdeps/generic/recv.c: Fix return type.

	* sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.

	* sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
	declarations for asm functions.
2001-07-08 07:17:00 +00:00
Ulrich Drepper 9f2bedd02f Update.
2001-07-07  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
2001-07-08 05:57:47 +00:00
Ulrich Drepper 4dbb64174c Update.
2001-07-06  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
	explicitly into .text section.

2001-04-16  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
	Add 16 longwords reserved for future use to match changes in the
	kernel.

2001-07-03  Jes Sorensen  <jes@trained-monkey.org>

	* sysdeps/ia64/strncpy.S: Call strnlen() when determining the
	string length rather than strlen(). Solves the performance problem
	of doing strlen on a 5MB string when strncpy was called with a
	length argument of 5 bytes.

2001-07-02  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
	R_SPARC_UA16 and R_SPARC_UA32.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.

2001-07-01  Stephen L Moshier  <moshier@mediaone.net>

	* sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
	acosh(x) = ln(2x) if x > 2^30.
	* sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
	acosh(x) = ln(2x) if x > 2^54.

	* sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
2001-07-07 22:59:32 +00:00
Ulrich Drepper 6c112c15ad (__ieee754_acoshl): acosh(x) = ln(2x) if x > 2^30. 2001-07-07 22:47:57 +00:00
Mark Kettenis 43c6b44414 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and KERN_WRITE_PROTECTION_FAILURE.
2001-07-07  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
	Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
	KERN_WRITE_PROTECTION_FAILURE.
2001-07-07 20:34:28 +00:00
Ulrich Drepper 22af13de45 Update.
* posix/regex.c: Limit string length printed in debug messages to
	100 chars.
2001-07-07 19:24:57 +00:00
Andreas Jaeger 6d84f89a88 Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
Andreas Jaeger 05d9898010 Update.
* sysdeps/unix/sysv/linux/configure.in: Fix handling of
	sysconfdir.
2001-07-06 16:14:46 +00:00
Andreas Jaeger 7f2826c836 Update.
* manual/libc-texinfo.sh: Add note for the FDL.

	* manual/argp.texi (Argp Example 4): Fix texinfo warning.

	* manual/libc.texinfo: Regenerated.

	* manual/fdl.texi: Fix node.
2001-07-06 09:21:36 +00:00
Andreas Jaeger 513eb02f81 Update.
* config.make.in (sysconfdir): Replace correctly.
	Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.

	* sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
	longer needed.

	* sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
	case for alpha.
	Rework handling of missing linuxthreads add-on.

	* configure.in: Remove unused sysconfdir substitution.
2001-07-06 07:16:51 +00:00