Commit Graph

5672 Commits

Author SHA1 Message Date
Ulrich Drepper c96873d780 Update.
2001-07-17  Ulrich Drepper  <drepper@redhat.com>

	* elf/ldconfig.c (parse_conf): Disable implicit locking for the
	stream.  Remove some unnecessary initializers.
2001-07-17 21:56:59 +00:00
Ulrich Drepper 0cfbb8c6ed Update.
2001-07-17  Andreas Jaeger  <aj@suse.de>

	* elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
	(is_hwcap_platform): Use it.
	(set_hwcap): New function to set hwcap_mask.
	(main): Call set_hwcap.

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

	* time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
	tm_zone before calling strptime.
2001-07-17 19:47:50 +00:00
Andreas Schwab 8081cd9cd3 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change. 2001-07-17 17:12:38 +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 2370003639 Update.
only if debug_level > 0.  Add little performance improvements.
	Use TEMP_FAILURE_RETRY around write calls.
2001-07-17 02:38:34 +00:00
Ulrich Drepper 98e75a1c9c Update.
2001-07-16  Ulrich Drepper  <drepper@redhat.com>

	* nscd/connections.c: Print messages caused by user application
	only if debug_level > 0.
	* nscd/grpcache.c: Likewise.
	* nscd/hstcache.c: Likewise.
	* nscd/pwdcache.c: Likewise.
2001-07-17 01:37:42 +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 a68edba551 Update.
2001-07-16  Ulrich Drepper  <drepper@redhat.com>

	* catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
	substitution in here document.
2001-07-16 22:19:00 +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
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 Schwab 09e57bdf01 * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
Fix index.
2001-07-15 15:18:51 +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
Andreas Jaeger 57cda26834 Update.
2001-07-13  Andreas Jaeger  <aj@suse.de>

	* libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
	PR libc/2372.
2001-07-13 13:20:51 +00:00
Ulrich Drepper 0a3b7e6a27 Update.
2001-07-12  Ulrich Drepper  <drepper@redhat.com>

	* Makeconfig: Add some more changes to handle AIX linker better.
2001-07-13 06:40:25 +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
Roland McGrath 958c2666c6 2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>
* hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.

2001-07-07  Roland McGrath  <roland@frob.com>

	* hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
2001-07-11 21:16:48 +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 994431ed53 Update.
* Makerules [AIX] (build-shlib-helper): Precede linker options
	with -Wl.

	* Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
2001-07-08 15:07:16 +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 d3f8be6d13 Update.
* iconv/iconv_prog.c (main): Don't unconditionally define
	variables only use if _POSIX_MAPPED_FILES is defined.
2001-07-08 07:32:45 +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 a2a89dd6ce Update.
* include/libc-symbols.h: Provide more dummy definitions for the
	case if GNU ld isn't used.
2001-07-08 06:23:55 +00:00
Ulrich Drepper 1a35b7fd42 Update.
* libio/freopen.c: Include <stdlib.h> for free declaration.
	* libio/freopen64.c: Likewise.
2001-07-08 06:18:45 +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
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
Ulrich Drepper 6cab95babf Update.
2001-07-07  Ulrich Drepper  <drepper@redhat.com>

	* configure.in: Don't warn about versioning if not on ELF system.
2001-07-07 19:06:33 +00:00
Andreas Jaeger 084909e80d Update.
2001-07-07  Andreas Jaeger  <aj@suse.de>

	* sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
2001-07-07 10:39:52 +00:00
Ulrich Drepper 96f06a9b43 Update.
2001-07-06  Ulrich Drepper  <drepper@redhat.com>

	* po/gl.po: Update from translation team.
2001-07-06 16:46:27 +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
Andreas Jaeger e2cb5c1d3f Update.
2001-07-06  Andreas Jaeger  <aj@suse.de>

	* manual/Makefile (texis): Add fdl.texi.
	* manual/fdl.texi: New.
	* manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
	* manual/libc.texinfo: Add fdl, update titlepage.
	Patches by Brian Youmans <3diff@gnu.org>.

	* sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
	generated file.
2001-07-06 06:58:28 +00:00
Andreas Jaeger a1b36134f6 * COPYING: Fix Y2k bug in sample copyright notices.
* manual/lesser.texi: Renamed from manual/lgpl.texinfo,
        as fsf.org uses the name "lesser.texi".
	* manual/Makefile (texis): Follow rename.
2001-07-06 05:37:16 +00:00
Andreas Jaeger 41bdb6e20c Update to LGPL v2.1.
2001-07-06  Paul Eggert  <eggert@twinsun.com>

	* manual/argp.texi: Remove ignored LGPL copyright notice; it's
	not appropriate for documentation anyway.
	* manual/libc-texinfo.sh: "Library General Public License" ->
	"Lesser General Public License".

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

	* All files under GPL/LGPL version 2: Place under LGPL version
	2.1.
2001-07-06 04:58:11 +00:00
Andreas Jaeger e2008c38b4 Update.
Synch with Linux 2.4.6:
2001-07-05 08:48:49 +00:00
Andreas Jaeger 752a1deb39 Update.
2001-07-05  Andreas Jaeger  <aj@suse.de>

	Synch with Linux 2.4.5:
	* sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
	New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
	(PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
	(PF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
	(PF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.

	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.

	* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.

	* sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
2001-07-05 08:47:15 +00:00
Roland McGrath 90f9eba7d2 * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
	rather than doing a mach_port_insert_right call first.
2001-07-04 23:07:03 +00:00
Roland McGrath bc68392b1f * hurd/hurdioctl.c: Include <string.h> for memcpy decl. 2001-07-04 22:58:42 +00:00
Andreas Jaeger bb10cf19e1 Update.
2001-07-03  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
	crypt add-on.
2001-07-03 16:50:55 +00:00
Mark Kettenis 5bd5e35748 * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in the Hurd pfinet server, using equivalent code from the Linux version in sysdeps/unix/sysv/linux/if_index.c. In detail: Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h> anymore. (if_nametoindex): New implementation using SIOCGIFINDEX. (if_freenameindex): Straight copy of the Linux version. (if_nameindex): New implementation based on pfinet_siocgifconf and SIOCGIFINDEX. (if_indextoname): New implementation using SIOCGIFNAME. (map_interfaces): Function removed. From Marcus Brinkmann <marcus@gnu.org>.
2001-07-01  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
	the Hurd pfinet server, using equivalent code from the Linux
	version in sysdeps/unix/sysv/linux/if_index.c. In detail:
	Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
	<hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
	anymore.
	(if_nametoindex): New implementation using SIOCGIFINDEX.
	(if_freenameindex): Straight copy of the Linux version.
	(if_nameindex): New implementation based on pfinet_siocgifconf and
	SIOCGIFINDEX.
	(if_indextoname): New implementation using SIOCGIFNAME.
	(map_interfaces): Function removed.
	From Marcus Brinkmann <marcus@gnu.org>.
2001-07-01 12:06:11 +00:00
Ulrich Drepper f669de74ea Update.
2001-06-30  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
	gaps below main executable.
2001-06-30 21:23:03 +00:00
Andreas Jaeger 33e25d26e7 Update.
2001-06-19  Andreas Jaeger  <aj@suse.de>

	* sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
	Handle profiling.
2001-06-29 17:51:27 +00:00
Andreas Jaeger 2995f70ed7 Update.
2001-06-29  Andreas Jaeger  <aj@suse.de>

	* sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
	Patch by Stephen L Moshier <moshier@mediaone.net>.
2001-06-29 15:16:08 +00:00
Ulrich Drepper da1375be0e Update.
(_nl_locale_file_list): This.  Make it extern.
	(re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
	(write_locale_data): Use xmalloc.  Compare the file with the locale
	(BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
	conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
	* sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
	* sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
	* sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
	* sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
	* sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
	* sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
	* sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
	* sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
	* sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
	(main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
	UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
	(ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
	to s_sigsuspend.  Add s_mmap2.
	* iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
	the next step.  In the second case, clear the state without calling
	paths are the same or not.  Free entry->path for duplicates.
	* sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
	Save uc_link around trap.  Copy __uc_sigmask into first word of
	uc_sigmask, clear the rest.  Make sure setcontext to the created
	Correct the values.
	(pSx, qSx): Replace by shorter approximation.
	changing it in the state.  After incrementing 'inptr', store it back.
	greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
	(exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
	(yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
	(plural_eval): Recognize comparison and '!' operators.  Optimize for
	* intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
	* sysdeps/unix/sysv/aix/restf.S: Removed.
	* sysdeps/unix/sysv/aix/savef.S: Removed.
	(SIGCONTEXT): Likewise.  Add 2nd arg _code.
	(_dl_aux_init): Here.  New function.  Defined only if
	'domainname'.  Remove 'plindex' field.  Add 'domain' and
	found.  Remove plindex from cache key.  Add 'translation_length' and
	* intl/plural.y: Include config.h.  Needed to define 'inline' away for
2001-06-29 02:03:36 +00:00
Ulrich Drepper f7364247e7 Update.
2001-06-28  Ulrich Drepper  <drepper@redhat.com>

	* manual/argp.texi: Tons of cleanups.
	Patch by Clifford U. Smith <cuel@swbell.net>.
2001-06-29 01:19:02 +00:00
Ulrich Drepper 90e5b29e14 Update.
* manual/users.texi (Setting Groups): Correct initgroups
	documentation.  Add documentation for getgrouplist.

2001-06-28  H.J. Lu  <hjl@gnu.org>

	* locale/findlocale.c (locale_file_list): Renamed to ...
	(_nl_locale_file_list): This. Make it extern.
	(free_mem): Move to ...
	* locale/setlocale.c (free_mem): Here.

2001-06-28  Mark Kettenis  <kettenis@gnu.org>

2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
	* posix/regex.c (count_mbs_length): Use binary search for optimization.
2001-06-29 00:17:44 +00:00
Mark Kettenis 59a3de2d4e * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>. (__libc_read): Don't call __pread. Use _hurd_fd_read directly instead. * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>. (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly instead.
* sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
	(__libc_read): Don't call __pread.  Use _hurd_fd_read directly
	instead.
	* sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
	(__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
	instead.
2001-06-27 23:35:23 +00:00
Mark Kettenis e17f38594f * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back -Wl,-soname option lost in 2001-06-16 change.
2001-06-28  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
	-Wl,-soname option lost in 2001-06-16 change.
2001-06-27 23:29:39 +00:00
Ulrich Drepper 2f07975de1 Update.
* posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
	Restrict printing of string in debug mode to 100 characters to make
	the output useful for long input texts.
2001-06-27 22:27:03 +00:00
Ulrich Drepper 64333c6623 Update.
* posix/Makefile: Add rules to build and run tst-regex.

2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>

	* posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
	(re_search_2): invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
	(wcs_re_match_2_internal): Check whether the wcs buffers need
	seting up or not, and skip seting up routin if not needed.

2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>

	* posix/regex.c (count_mbs_length): Use binary search for
	optimization.

2001-06-27  Ulrich Drepper  <drepper@redhat.com>
2001-06-27 16:15:39 +00:00
Ulrich Drepper 7bcad28063 Update.
2001-06-27  Ulrich Drepper  <drepper@redhat.com>

	* posix/tst-regex.c: Fix several bugs.  Add more tests.
2001-06-27 07:59:20 +00:00
Mark Kettenis 7facfddd0d * hurd/Makefile (user-interfaces): Add pfinet. * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and <netinet/in.h>. (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL as the handler for SIOCGIFCONF. * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and SIOCGIFNAME. From Marcus Brunkmann <marcus@gnu.org>.
2001-06-26  Mark Kettenis  <kettenis@gnu.org>

	* hurd/Makefile (user-interfaces): Add pfinet.
	* hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
	<netinet/in.h>.
	(siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
	as the handler for SIOCGIFCONF.
	* sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
	SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
	and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
	definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
	SIOCGIFNAME.
	From Marcus Brunkmann <marcus@gnu.org>.
2001-06-26 10:21:56 +00:00
Ulrich Drepper da0debaa44 Update.
* sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
	and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
2001-06-26 04:59:41 +00:00
Ulrich Drepper 505d4b248b Update.
2001-06-25  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
	_dl_catch_error calls.
2001-06-26 04:17:42 +00:00
Ulrich Drepper d8f00d4669 Update.
2001-06-22  Jakub Jelinek  <jakub@redhat.com>

	* posix/regex.c (regex_compile, re_match_2_internal): Fix comment
	typos.

2001-06-01  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
	ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
	when malloc_atfork is in use.
2001-06-26 03:14:04 +00:00
Andreas Jaeger 37695e8f0f Update.
* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
	to avoid warnings.

	* sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
	variable.
	Add unused attributes to avoid warnings.
2001-06-22 15:03:32 +00:00
Andreas Jaeger e15df0bbd7 Update.
* elf/reldep4mod4.c: Add prototype to avoid warning.
	* elf/reldep4mod2.c: Likewise.
2001-06-22 13:50:51 +00:00
Andreas Jaeger 36e3e2d4bf Update.
2001-06-22  Andreas Jaeger  <aj@suse.de>

	* sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
	prototypes.
2001-06-22 13:49:08 +00:00
Roland McGrath cb18901b31 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int. 2001-06-22 08:40:31 +00:00
Ulrich Drepper fec3cf8165 Update.
2001-06-20  Alexandre Oliva  <aoliva@redhat.com>

	* sysdeps/unix/sysv/settimeofday.c: Include time.h.
2001-06-21 16:46:17 +00:00
Ulrich Drepper 74b9818803 Update.
2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
2001-06-20 07:17:04 +00:00
Ulrich Drepper ad10cac8a4 Update.
2001-05-09  Michael Keezer  <mkeezer@redhat.com>

	* Makeconfig: Added AIX-ld support for DSO.
	* Makerules: Likewise.
	* dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
	(defaultmod2.so): Likewise.
	* debug/Makefile: Conditionalize use of elf/ld.so.
	* iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.

	* sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
	* sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
	(f/g)prrest(0/1) static only.
	* sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
	* sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
	shared.
	* sysdeps/unix/sysv/aix/setitimer.c: New file.
	* sysdeps/unix/sysv/aix/sleep.c: New file.
	* sysdeps/unix/sysv/aix/usleep.c: New file.
	* sysdeps/unix/sysv/aix/dl-addr.c: New file.
	* sysdeps/unix/sysv/aix/dl-error.c: New file.
	* sysdeps/unix/sysv/aix/dl-support.c: New file.
	* sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.

	(BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. I f "ja",
	prefer conversion to Japanese character sets.  If "zh", prefer
	conversion to GB2312. I f "ko", prefer conversion to KSC5601.  Small
2001-06-20 07:10:50 +00:00
Ulrich Drepper 874e557059 Update.
2001-06-19  Ulrich Drepper  <drepper@redhat.com>

	* po/es.po: Update from translation team.
2001-06-19 16:05:21 +00:00
Andreas Jaeger 20f421e1a1 Update
2001-06-19  Andreas Jaeger  <aj@suse.de>

	* sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.

	* math/libm-test.inc (tanh_test): Test for 2^-56.

	* sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
	equals argument when x < 2^-55.
	Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2001-06-19 12:41:02 +00:00
Ulrich Drepper d7d64cdb3d Update.
2001-06-17  Alan Modra  <amodra@bigpond.net.au>

	* sysdeps/hppa/dl-machine.h (elf_machine_rela): handle relocs
	at unaligned address.
2001-06-19 00:43:55 +00:00
Ulrich Drepper c4be6664d5 Update.
* posix/regex.c: Reorganize code to build code twice, once for single
	byte, once for multi-byte charsets.  Choose function set adequate for
	locale at runtime.
	Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2001-06-19 00:37:35 +00:00
Ulrich Drepper 9e05f72f87 Update..
2001-06-18  Ulrich Drepper  <drepper@redhat.com>

	* po/nl.po: Update from translation team.
2001-06-18 20:25:33 +00:00
Ulrich Drepper 86621b49b2 Update.
2001-06-09  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
	(ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
	* iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.

2001-05-26  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
	* manual/charset.texi: Write Shift_JIS, not Shift-JIS.
2001-06-18 04:46:52 +00:00
Roland McGrath b8744bea9b * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
not LIO_READ + 1 (which is the value of LIO_WRITE!).
2001-06-18 01:47:39 +00:00
Roland McGrath c7414a8e30 * sysdeps/unix/sysv/linux/i386/sigaction.c (restore, restore_rt):
Declare these without `static', to avoid warning that we haven't
	defined them.

	* Makerules (build-module-helper-objlist): New variable,
	broken out of build-module.  Insert --whole-archive/--no-whole-archive
	immediately each *_pic.a file in the link object list.
	(whole-archive): New variable, used by that.
	(build-module-objlist): New variable using build-module-helper-objlist.
	(build-module, build-module-helper): Use it.
	(build-shlib-objlist): New variable using build-module-helper-objlist.
	(build-shlib): Use that.
	* sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
2001-06-18 01:09:45 +00:00
Roland McGrath 986ad61e9c * posix/spawni.c: Moved to ...
* sysdeps/posix/spawni.c: ... here.
	* sysdeps/generic/spawni.c: New file.
2001-06-17 22:18:08 +00:00
Roland McGrath 5fe915ee12 * hurd/Makefile (routines): Add lookup-retry.
* hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
	* hurd/lookup-retry.c: ... into here, new file.
	* sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
	using of duplicate code here.

	* hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.

	* posix/regex.c: Avoid an access violation if malloc fails.
2001-06-17 21:09:28 +00:00
Ulrich Drepper 5b60c9fcea Update.
2001-06-17  Ulrich Drepper  <drepper@redhat.com>

	* po/ja.po: Update from translation team.
2001-06-17 16:52:21 +00:00
Ulrich Drepper aac0e8c4e8 Update.
2001-06-04  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/locfile.c (siblings_uncached, siblings, full_read,
	compare_files): New functions.
	(write_locale_data): Use xmalloc. Compare the file with the locale
	data files for the same category in other locales, and reuse it if
	possible and safe.
2001-06-17 00:43:42 +00:00
Ulrich Drepper 8fee1bb0b2 Update.
2001-06-07  Mark Kettenis  <kettenis@gnu.org>

	* grp/initgroups.c (initgroups): Factor out re-usable code into...
	(internal_getgrouplist): ... new function.
	(getgrouplist): New function.
	* grp/grp.h (getgrouplist): New prototype.
	* grp/Versions [2.2.4]: Add getgrouplist.

2001-06-16  Ulrich Drepper  <drepper@redhat.com>

	* inet/netinet/ip6.h: Fix comments in ip6_hdr.
	Patch by Pekka Savola <pekkas@netcore.fi>.
2001-06-16 19:50:36 +00:00
Roland McGrath 81dacf8ac4 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
variables, broken out of librt-routines.
	(librt-routines): Set using those.
	(extra-libs, extra-libc-others, tests): Set these unconditionally.
	(distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
	* sysdeps/generic/aio_fsync.c: New file.
	* sysdeps/generic/aio_misc.c: New file.
	* sysdeps/generic/aio_write.c: New file.
	* sysdeps/generic/aio_write64.c: New file.
	* sysdeps/generic/aio_read64.c: New file.
	* sysdeps/generic/aio_read.c: New file.
	* sysdeps/generic/aio_notify.c: New file.
	* sysdeps/generic/lio_listio64.c: New file.
	* sysdeps/generic/lio_listio.c: New file.
	* sysdeps/generic/aio_cancel.c: New file.
	* sysdeps/generic/aio_misc.h: New file.
	* sysdeps/generic/aio_suspend.c: New file.
	* rt/aio_cancel.c: Moved to ...
	* sysdeps/pthread/aio_cancel.c: ... here.
	* rt/aio_fsync.c: Moved to ...
	* sysdeps/pthread/aio_fsync.c: ... here.
	* rt/aio_misc.c: Moved to ...
	* sysdeps/pthread/aio_misc.c: ... here.
	* rt/aio_misc.h: Moved to ...
	* sysdeps/pthread/aio_misc.h: ... here.
	* rt/aio_notify.c: Moved to ...
	* sysdeps/pthread/aio_notify.c: ... here.
	* rt/aio_read.c: Moved to ...
	* sysdeps/pthread/aio_read.c: ... here.
	* rt/aio_read64.c: Moved to ...
	* sysdeps/pthread/aio_read64.c: ... here.
	* rt/aio_suspend.c: Moved to ...
	* sysdeps/pthread/aio_suspend.c: ... here.
	* rt/aio_write.c: Moved to ...
	* sysdeps/pthread/aio_write.c: ... here.
	* rt/aio_write64.c: Moved to ...
	* sysdeps/pthread/aio_write64.c: ... here.
	* rt/lio_listio.c: Moved to ...
	* sysdeps/pthread/lio_listio.c: ... here.
	* rt/lio_listio64.c: Moved to ...
	* sysdeps/pthread/lio_listio64.c: ... here.
2001-06-16 04:48:42 +00:00
Ulrich Drepper 636ccfc8fb Update.
2001-06-14  Roland McGrath  <roland@frob.com>

	* configure.in: Let sysdeps Implies files in add-ons bring in
	sysdeps directories from the main source and other add-ons too.

2001-06-15  Jakub Jelinek  <jakub@redhat.com>

	* math/test-misc.c (main): Add tests for nextafter and nexttoward
	with +-Inf as second argument.

	* sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
	NaN, not Inf.
	* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
	* sysdeps/i386/fpu/s_nexttoward.c: New.
	* sysdeps/i386/fpu/s_nexttowardf.c: New.
	* sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
	check for NaN, optimize x==+-0 handling.
	* sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
	* sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
	check for NaN, fix sign in x==+-0 case.
	* sysdeps/ia64/fpu/s_nexttoward.c: New.
	* sysdeps/ia64/fpu/s_nexttowardf.c: New.

2001-06-15  H.J. Lu  <hjl@gnu.org>

	* rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
	* rt/tst-aio3.c (do_test): Likewise.
	* rt/tst-aio4.c (do_test): Likewise.
	* rt/tst-aio5.c (do_test): Likewise.
	* rt/tst-aio6.c (do_test): Likewise.
2001-06-16 04:34:51 +00:00
Andreas Schwab 08003272b8 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
* sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
2001-06-15 13:59:57 +00:00
Andreas Jaeger 6a9a03d69c * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning. 2001-06-15 08:56:36 +00:00
Andreas Schwab 0f843f8938 * elf/ldconfig.c (search_dir): Fix check for regular file. 2001-06-14 14:43:23 +00:00
Andreas Schwab 53483036b9 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
* sysdeps/m68k/fpu/e_log2l.c: Fix typo.

	* sysdeps/m68k/fpu/s_log2.c: Move...
	* sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
	* sysdeps/m68k/fpu/s_log2f.c: Move...
	* sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
	* sysdeps/m68k/fpu/s_log2l.c: Move...
	* sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
2001-06-14 14:18:56 +00:00
Roland McGrath eeeeed6a56 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
(O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
2001-06-14 10:06:07 +00:00
Roland McGrath 3de5235f0f * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS. 2001-06-14 05:37:03 +00:00
Roland McGrath 221dc560bb * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
so the label is not considered unused.

	* sysdeps/mach/hurd/pwrite64.c: New file.
	* sysdeps/mach/hurd/pread64.c: New file.

	* sysdeps/mach/hurd/pread.c
	(__libc_pread): Define this name, with __pread as an alias.
	* sysdeps/mach/hurd/pwrite.c
	(__libc_pwrite): Define this name, with __pwrite as an alias.

	Implement POSIX "shared memory objects" as regular
	files residing in the /var/run/shm/ directory.
	This works on any system that supports _POSIX_MAPPED_FILES,
	to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
	* sysdeps/posix/shm_open.c: New file.
	* sysdeps/posix/shm_unlink.c: New file.
	* sysdeps/mach/hurd/bits/posix_opt.h
	(_POSIX_SHARED_MEMORY_OBJECTS): Define it.

	* rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
	Use raise instead of __aio_sigqueue.
2001-06-14 05:32:26 +00:00
Roland McGrath c0c71388a7 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
* sysdeps/mach/hurd/pwrite.c: Likewise.

	* shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
	[USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
	as default version set.

	(test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
2001-06-14 03:02:30 +00:00
Ulrich Drepper 6999d70e2f Update.
* libio/iolibio.h (_IO_freopen): Correct last parameter to
	_IO_file_open.
	(_IO_freopen64): Likewise.
	Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].

	* elf/elf.h: Add a few more EM_* constants.

2001-06-12  Bruno Haible  <haible@clisp.cons.org>

	* intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.

2001-06-09  Ben Collins  <bcollins@debian.org>

	* sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
	* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
	hardcoded B400000.

2001-06-13  Ulrich Drepper  <drepper@redhat.com>
2001-06-14 00:45:57 +00:00
Ulrich Drepper d002205fd2 Update.
2001-06-13  Ulrich Drepper  <drepper@redhat.com>

	* time/sys/time.h: Don't use enum __itimer_which ever for
	__itimer_which_t for C++.
	Reported by Martin Buchholz <martin@xemacs.org>.

	* po/fr.po: Update from translation team.

2001-06-12  H.J. Lu  <hjl@gnu.org>
2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
	    Michael Deutschmann  <michael@talamasca.ocis.net>
2001-06-13 23:21:54 +00:00
Andreas Jaeger 6b4e880fc5 * configure.in: Fix typos in missing program names.
* configure: Regenerated.
2001-06-12  H.J. Lu <hjl@gnu.org>

	* configure.in: Fix typos in missing program names.
	* configure: Regenerated.
2001-06-13 08:05:28 +00:00
Andreas Jaeger a29a3e1a80 Update.
* iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
2001-06-12 14:46:25 +00:00
Andreas Jaeger f280b985f2 Update.
2001-06-12  Andreas Jaeger  <aj@suse.de>

	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).

	* sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
2001-06-11  Andreas Jaeger  <aj@suse.de>,
2001-06-12 09:15:39 +00:00
Andreas Jaeger 92ec5b31c6 Update.
2001-06-11  Andreas Jaeger  <aj@suse.de>

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

	* aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.

	* sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
	* sysdeps/s390/fpu/libm-test-ulps: Likewise.
2001-06-11 12:32:56 +00:00
Andreas Jaeger 207390f763 Update.
2001-06-11  Michael Deutschmann <michael@talamasca.ocis.net>

	* rt/tst-aio4.c (do_test): Test whether rt signals are supported.
	Use my_signo instead of MY_SIGNO and initialize it so that the
	used signal is always available.

2001-06-11  Andreas Jaeger  <aj@suse.de>, 
	    Michael Deutschmann <michael@talamasca.ocis.net>

	* io/test-lfs.c (do_prepare): Clean up error messages.
	(test_ftello): Check for EFBIG and ENOSP, clean up error messages.
	(do_test): Likewise.

2001-06-11  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
	IMAXBEL): Make always visible since they're needed by POSIX.
	Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.

2001-06-10  Ben Collins  <bcollins@debian.org>

	* sysdeps/arm/elf/start.S: Use #function, not @function, for
	.type of _start.

	* sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
	INT_MAX.

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

	* sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
2001-06-11 08:43:24 +00:00
Roland McGrath 0aaa9c6a74 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
* elf/reldep4mod4.c: Likewise.
2001-06-10 23:07:15 +00:00
Mark Kettenis fecb794f59 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
2001-06-10  Mark Kettenis  <kettenis@gnu.org>

	* hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
2001-06-10 21:05:36 +00:00
Ulrich Drepper e10a9ebaa6 Update.
2001-06-08  Andreas Schwab  <schwab@suse.de>

	* posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
	Don't dereference at end of string.
2001-06-10 06:51:02 +00:00
Roland McGrath b381189e67 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
From Robert Bihlmeyer <robbe@orcus.priv.at>.
2001-06-07 03:36:34 +00:00
Ulrich Drepper eb12749a92 Update.
2001-06-06  Ulrich Drepper  <drepper@redhat.com>

	* po/ko.po: Update from translation team.
2001-06-07 00:00:29 +00:00
Andreas Jaeger b73147d0eb Update.
2001-06-06  Andreas Jaeger  <aj@suse.de>

	* manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
	offset+length-1.
	Reported by Robert Bernecky <bernecky@acm.org>.
2001-06-06 19:02:01 +00:00
Andreas Jaeger d1cf3e7172 Update.
2001-06-06  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
	* sysdeps/ia64/elf/start.S: Likewise.
	* sysdeps/sh/elf/start.S: Likewise.
	* sysdeps/s390/s390-32/elf/start.S: Likewise.
	* sysdeps/s390/s390-64/elf/start.S: Likewise.
2001-06-06 18:02:19 +00:00
Andreas Jaeger 2ecb820e24 Update
2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>

	* sysdeps/hppa/bsd-_setjmp.S: New.
	* sysdeps/hppa/bsd-setjmp.S: New.

	* sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
	gcc warnings about multi-line strings.

	* sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
	* sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.

	* sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
	setrlimit directly instead of using wrappers.

2001-05-01  Richard Hirst  <rhirst@linuxcare.com>

	* sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
	* sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.

2001-06-05  Philipp Thomas  <pthomas@suse.de>

	* nis/nis_call.c (__nisbind_connect): Don't mark for translation
	what can't be translated.
2001-06-06 16:28:42 +00:00
Ulrich Drepper 289ac9ddb4 Update.
2001-06-06  Ulrich Drepper  <drepper@redhat.com>

	* timezone/zic.c: Update from tzcode2001c.
	* timezone/private.h: Likewise.
	* timezone/africa: Update from tzdata2001c.
	* timezone/asia: Likewise.
	* timezone/europe: Likewise.
	* timezone/northamerica: Likewise.
	* timezone/southamerica: Likewise.
	* timezone/zone.tab: Likewise.
2001-06-06 14:01:54 +00:00
Ulrich Drepper 601d294296 Update.
2001-06-04  Bruno Haible  <haible@clisp.cons.org>

	* iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
	* iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
	UNICODE_TAG_HANDLER.
	(__gconv_transform_internal_ucs2): Likewise.
	(__gconv_transform_internal_ucs2reverse): Likewise.
	* iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
	* iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
	* iconvdata/big5.c (BODY for TO_LOOP): Likewise.
	* iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
	* iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
	* iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
	* iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
	* iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
	* iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
	* iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
	* iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
	* iconvdata/johab.c (BODY for TO_LOOP): Likewise.
	* iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
	* iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
	* iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
	* iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
	TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
	TAG_language_zh, CURRENT_TAG_MASK): New enum values.
	(EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
	is already selected but set2 or tag are set.
	(conversion): New enum type.
	(cvlist_t): New type.
	(CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
	(conversion_lists): New array.
	(BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
	prefer conversion to Japanese character sets. If "zh", prefer
	conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
	optimizations.
	(INIT_PARAMS): Add tag.
	(UPDATE_PARAMS): Add tag.

2001-06-04  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/locfile.c (write_locale_data): Before creat(),
	unlink the file, to avoid crashing the processes that mmap it.  Change
	a double slash to a single slash.  Free fname in case of error return.

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

	* sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
	changes, do the special handling for denormal numbers, not for
	normalized numbers (patch by <trevin@xmission.com>).

	* math/test-misc.c (main): Test frexpl with denormal arguments.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* math/libm-test.inc (llround_test): Add two new llround tests.
	* sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
	overflow when rounding away from zero.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
	* math/math_private.h (__ieee754_log2, __ieee754_log2f,
	__ieee754_log2l): New prototypes.
	* sysdeps/generic/w_log2.c: New file.
	* sysdeps/generic/w_log2f.c: New file.
	* sysdeps/generic/w_log2l.c: New file.
	* sysdeps/generic/s_log2l.c: Move...
	* sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
	* sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
	and log2(x < 0).
	* sysdeps/i386/fpu/s_log2.S: Move...
	* sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
	* sysdeps/i386/fpu/s_log2f.S: Move...
	* sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
	* sysdeps/i386/fpu/s_log2l.S: Move...
	* sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
	* sysdeps/m68k/fpu/s_log2.S: Move...
	* sysdeps/m68k/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
	* sysdeps/m68k/fpu/s_log2f.S: Move...
	* sysdeps/m68k/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
	* sysdeps/m68k/fpu/s_log2l.S: Move...
	* sysdeps/m68k/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
	* sysdeps/ieee754/dbl-64/s_log2.c: Move...
	* sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
	__ieee754_log2.
	* sysdeps/ieee754/flt-32/s_log2f.c: Move...
	* sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
	__ieee754_log2f.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
	even arguments which result in denormalized exp2 are accepted.
	(__exp2): Arguments equal to u_threshold already result into
	underflow.
	* sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
	* sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
	* sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
	low, with corrected lowmark use greaterequal, not greater.
	* sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
	* sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
	* sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
	* sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
	* sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
	* sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
	* sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
	* sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
	gave non-finite result instead of using constant in generic
	version.
	* sysdeps/generic/w_coshf.c (__coshf): Likewise.
	* sysdeps/generic/w_cosh.c (__cosh): Likewise.
	* sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
	(__exp10): Test if finite argument gave non-finite result.
	* sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
	Likewise.
	* sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
	Likewise.
2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
	overflow threshold constant (log(LDBL_MAX)+M_LN2l).

2001-05-29  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/ld-ctype.c (idx_table): New struct type.
	(idx_table_init, idx_table_get, idx_table_add): New functions.
	(MAX_CHARNAMES_IDX): Remove macro.
	(locale_ctype_t): Change type of charnames_idx field.
	(ctype_startup): Change initialization of charnames_idx field.
	(find_idx): Use idx_table_get and idx_table_add for speed.

	* locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
	computation of characters in a range.

2001-05-29  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
	<U03F5>.
	(__ucs_to_gb18030_tab1): Likewise.
	(BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
	(BODY for TO_LOOP): Likewise.
	* iconvdata/tst-table-charmap.sh: Update for charmaps containing
	<U00xxxxxx> syntax.
	* iconvdata/tst-table-from.c (bmp_only): New variable.
	(utf8_decode): If bmp_only, don't return characters outside Unicode
	plane 0.
	(main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
	a conversion line if utf8_decode returns NULL.
	* iconvdata/tst-table-to.c (main): When testing encodings other than
	UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
	instead of UCS-2 as input.
	* iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
	of the charmap.

2001-05-29  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/cns11643l1.c: Update to Unicode 3.1.
	(__cns11643l1_to_ucs4_tab): Regenerated.
	(__cns11643l1_from_ucs4_tab12): Regenerated.
	* iconvdata/cns11643.c: Update to Unicode 3.1.
	(__cns11643l14_to_ucs4_tab): Remove array.
	(__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
	__cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
	__cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
	(__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
	(__cns11643_from_ucs4p2_tab): New array.
	* iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
	(__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
	__cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
	__cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
	(cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
	(__cns11643_from_ucs4_tab): Remove declaration.
	(__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
	declarations.
	(ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
	U+20000..U+2A6D6.
	* iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
	declaration.
	(__cns11643_from_ucs4p0_tab): New declaration.
	(ucs4_to_cns11643l2): Update for new arrays.
	* iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
	3 to 7.
	(BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
	* iconvdata/EUC-TW.irreversible: New file.
	* iconvdata/tst-table.sh: Use it.
	* iconvdata/Makefile (distribute): Add CP1255.irreversible,
	CP1258.irreversible, EUC-TW.irreversible.

2001-05-29  Bruno Haible  <haible@clisp.cons.org>

	* locale/C-translit.h.in: Add transliterations for new Unicode 3.1
	mathematical symbols.
2001-06-06 12:55:46 +00:00
Andreas Jaeger a18f73be58 Update.
2001-06-05  Philipp Thomas  <pthomas@suse.de>

	* nis/nis_call.c (__nisbind_connect): Don't mark for translation
	what can't be translated.
2001-06-06 07:19:47 +00:00
Andreas Jaeger a1b567d058 Update.
2001-06-05  Andreas Jaeger  <aj@suse.de>

	* manual/stdio.texi (Portable Positioning): Fix description of
	fpos_t and fpos64_t.
2001-06-06 07:11:52 +00:00
Ulrich Drepper 344af000e1 Update.
2001-06-06  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.

	* po/sk.po: Update from translation team.
2001-06-05 22:46:07 +00:00
Andreas Jaeger f8d3269391 Update.
2001-06-05  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
	tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
	Closes PR libc/2315.
2001-06-05 21:43:18 +00:00
Ulrich Drepper b66aba32c0 Update.
2001-06-05  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/wordexp.c: Add missing free.
	Patch by yeti@physics.muni.cz.
2001-06-05 14:23:34 +00:00
Andreas Jaeger 5bb46825ef Update.
2001-06-02  Tom Browder  <tbrowder@home.com>

	* misc/tst-tsearch.c (mangle_tree): Ensure array indices are
	within bounds when lag > 0.
2001-06-05 13:38:57 +00:00
Ulrich Drepper 76f696fc4a Update.
2001-06-05  Ulrich Drepper  <drepper@redhat.com>

	* po/tr.po: New file.
2001-06-05 13:20:20 +00:00
Andreas Jaeger 6a7a8b22f6 Update.
2001-06-05  Andreas Jaeger  <aj@suse.de>

	* manual/libm-err-tab.pl (parse_ulps): Fix typo.

2001-06-04  H.J. Lu  <hjl@gnu.org>

	* sysdeps/alpha/elf/start.S: Add .type for the entry point.
	* sysdeps/arm/elf/start.S: Likewise.
	* sysdeps/hppa/elf/start.S: Likewise.
	* sysdeps/i386/elf/start.S: Likewise.
	* sysdeps/m68k/elf/start.S: Likewise.
	* sysdeps/mips/elf/start.S: Likewise.
	* sysdeps/ia64/elf/start.S: Likewise.
	* sysdeps/sh/elf/start.S: Likewise.
	* sysdeps/s390/s390-32/elf/start.S: Likewise.
	* sysdeps/s390/s390-64/elf/start.S: Likewise.
	* sysdeps/cris/elf/start.S: Likewise.

2001-06-04  Bruce Mitchener  <bruce@cubik.org>

	* manual/resource.texi: Correct setpriority/nice documentation.

	* sysdeps/unix/nice.c: Correct nice() implementation.
2001-06-05 06:21:21 +00:00
Andreas Jaeger 17827c3a39 Update.
2001-06-04  Andreas Jaeger  <aj@suse.de>

	* sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
	Stephen L Moshier <moshier@mediaone.net>.
2001-06-04 08:32:00 +00:00
Roland McGrath eaeeb1eb42 * Makefile (postclean): Remove obsolete sysd-Makefile. 2001-06-04 04:56:48 +00:00
Roland McGrath 4eb8a86271 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
and use compat_symbol/versioned_symbol instead of plain
	symbol_version/default_symbol_version.
	* sysdeps/alpha/fpu/fegetenv.c: Likewise.
	* sysdeps/alpha/fpu/fesetenv.c: Likewise.
	* sysdeps/alpha/fpu/feupdateenv.c: Likewise.
	* sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
	* sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
	* sysdeps/arm/fpu/fclrexcpt.c: Likewise.
	* sysdeps/arm/fpu/fegetenv.c: Likewise.
	* sysdeps/arm/fpu/fesetenv.c: Likewise.
	* sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
	* sysdeps/i386/fpu/fclrexcpt.c: Likewise.
	* sysdeps/i386/fpu/fegetenv.c: Likewise.
	* sysdeps/i386/fpu/fesetenv.c: Likewise.
	* sysdeps/i386/fpu/feupdateenv.c: Likewise.
	* sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
	* sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
	* sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
	* sysdeps/m68k/fpu/fegetenv.c: Likewise.
	* sysdeps/m68k/fpu/fesetenv.c: Likewise.
	* sysdeps/m68k/fpu/feupdateenv.c: Likewise.
	* sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
	* sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
	* sysdeps/powerpc/fclrexcpt.c: Likewise.
	* sysdeps/powerpc/fpu/fegetenv.c: Likewise.
	* sysdeps/powerpc/fpu/fesetenv.c: Likewise.
	* sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
	* sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
	* sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2001-06-02 05:59:11 +00:00
Roland McGrath bb653c3610 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
* iconvdata/iso-2022-cn-ext.c: Likewise.
2001-06-01 21:09:15 +00:00
Andreas Jaeger 548e813d90 Add version 2.2.4 for libc.
2001-06-01  Andreas Jaeger  <aj@suse.de>

	* Versions.def: Add version 2.2.4.
2001-06-01 13:59:42 +00:00
Ulrich Drepper b504171963 Update.
2001-06-01  Ulrich Drepper  <drepper@redhat.com>

	* socket/Makefile (routines): Add sockatmark.
	* socket/Versions [GLIBC_2.2.4]: Add sockatmark.
	* socket/sys/socket.h: Add prototype for sockatmark.
	* sysdeps/generic/sockatmark.c: New file.
	* sysdeps/unix/sockatmark.c: New file.
2001-06-01 09:27:15 +00:00
Andreas Jaeger 852d75f9d6 Update.
2001-06-01  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
	B4000000.
	(cfsetospeed): Likewise.
	Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.

2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>

	* misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
2001-06-01 08:17:11 +00:00
Andreas Jaeger 371881fe91 Update.
2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
	needs to have the same aligment as the kernel structure.
2001-05-31 18:21:03 +00:00
Ulrich Drepper c2cc0483e4 Update.
2001-05-29  Jakub Jelinek  <jakub@redhat.com>

	* sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
	u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
	* posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
	u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
	against multiple definition.
2001-05-30 09:45:43 +00:00
Ulrich Drepper a18b5b499e Update.
2001-05-30  Ulrich Drepper  <drepper@redhat.com>

	* po/da.po: Update from translation team.
2001-05-30 09:38:53 +00:00
Andreas Jaeger c9bfaa1bb5 Update.
2001-05-29  Andreas Jaeger  <aj@suse.de>

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

	* math/libm-test.inc (sinh_test): Add new test case.

	* sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
	x when x < 2^-32.
	Patch by Stephen L Moshier <moshier@mediaone.net>.
2001-05-29 15:40:18 +00:00
Andreas Jaeger de64faec8f Add forgotten ChangeLog entry.
2001-05-23  Andreas Jaeger  <aj@suse.de>

	* iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
	* iconvdata/testdata/WINDOWS-1255..UTF8: this.
2001-05-28 07:52:04 +00:00
Andreas Jaeger 417d6b34b4 Update.
2001-05-27  Andreas Jaeger  <aj@suse.de>

	* manual/stdio.texi (String Streams): Fix fmemopen description.
	Reported by Michal Kochanowicz <michal@michal.waw.pl>.
2001-05-27 17:16:16 +00:00
Andreas Jaeger dbbf07d057 Update.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
	to s_sigsuspend. Add s_mmap2.

	* sysdeps/mips/atomicity.h: New file.

	* sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
2001-05-27 08:40:38 +00:00
Andreas Jaeger f7b8b66667 Update.
2001-05-26  H.J. Lu <hjl@gnu.org>

	* sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
	back __key.
2001-05-27 08:35:06 +00:00
Ulrich Drepper b912ca1144 Update.
2001-05-25  Bruce Mitchener  <bruce@cubik.org>

	* manual/ctype.texi: Minor fix.
	* manual/install.texi: Likewise.
	* manual/startup.texi: Likewise.
	* manual/examples/dir.c: Use perror() rather than puts().

2001-05-25  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
	#endif directive inside a comment to avoid compiler warnings.

2001-05-25  Philipp Thomas  <pthomas@suse.de>

	* nis/nis_print.c (nis_nstype2str): Don't mark names of
	naming services for translation, only UNKNOWN needs it.
	Add comment to prevent it for the future.

2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>

	* misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
	3.1 and non-GCC C99 compilers.
2001-05-27 07:05:32 +00:00
Ulrich Drepper 995a692a48 Update.
2001-05-22  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
	performance.
	* sysdeps/ia64/memcpy.S: Likewise.

	* sysdeps/ia64/bcopy.S: New file.

	* sysdeps/ia64/bzero.S: New file (derived from memset.S).

2001-05-26  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
2001-05-27 06:45:14 +00:00
Ulrich Drepper 65fa1dec4e Update.
2001-05-24  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile: Add rules for CP10007.
	* iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
	* iconvdata/cp10007.c: New file.
	* iconvdata/tst-tables.sh: Add CP10007.
2001-05-24 08:50:10 +00:00
Ulrich Drepper 64b7897d6d Update.
2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
	(_dl_runtime_profile): Likewise..

2001-05-23  Thorsten Kukuk  <kukuk@suse.de>

	* sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
	* posix/tst-getaddrinfo.c: Remove AF_UNIX test.

2001-05-19  H.J. Lu  <hjl@gnu.org>

	* elf/dl-deps.c (_dl_map_object_deps): Pass objname and
	errstring of the failed DSO to _dl_signal_error ().
2001-05-23 23:56:31 +00:00
Ulrich Drepper 2210704803 Update.
2001-05-23  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/gconv-modules: Add more aliases to enable use in
	locale names.
2001-05-23 17:49:45 +00:00
Andreas Jaeger 505d5e18ff Update.
2001-05-23  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
	Remove, it's not used anywhere anymore.
	* sysdeps/unix/sysv/linux/s390/s390-64/Makefile
	(CFLAGS-initfini.s): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile
	(CFLAGS-initfini.s): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
	Likewise.
	* sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
	Likewise.
2001-05-23 06:25:37 +00:00
Ulrich Drepper e017830580 Update.
2001-05-21  Bruno Haible  <haible@clisp.cons.org>

	* wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
	use 0 instead, and rely on the converter to do the flush.
	* wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
	utf8_test.
	(utf8_test_2, utf8_test_3): New function.
	(utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
2001-05-23 00:08:46 +00:00
Ulrich Drepper 1826d7933b Update.
2001-05-22  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.

	* elf/Makefile (distribute): Add reldep4mod[1234].c.
	(tests): Add reldep4.
	(modules-names): Add reldep4mod[1234].
	(reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
	* elf/reldep4.c: New file.
	* elf/reldep4mod1.c: Likewise.
	* elf/reldep4mod2.c: Likewise.
	* elf/reldep4mod3.c: Likewise.
	* elf/reldep4mod4.c: Likewise.
2001-05-22 23:55:23 +00:00
Ulrich Drepper 80d9c5f0b1 Update.
2001-05-18  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-lookup.c (PROTECTED): Remove defines.
	(add_dependency): Mark it with internal_function.
	(_dl_do_lookup, _dl_do_lookup_versioned): New functions.
	(_dl_lookup_symbol, _dl_lookup_symbol_skip,
	_dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
	it if we don't want do_lookup* inlined.

2001-05-18  Jakub Jelinek  <jakub@redhat.com>

	* include/link.h (struct r_scope_elem): Remove r_duplist and
	r_nduplist fields.
	* elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
	* elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
	r_duplist.
	(_dl_lookup_versioned_symbol_skip): Likewise.
	* elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
	(_dl_map_object_deps): Don't compute duplicate list.

	* elf/dl-symbol.c: Removed.
	* elf/Makefile (routines): Remove dl-symbol.

2001-05-22  Ulrich Drepper  <drepper@redhat.com>

	* po/el.po: Update from translation team.
	* po/sv.po: Likewise.
2001-05-22 23:42:35 +00:00
Ulrich Drepper 2373b30ea8 Update.
2001-05-20  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/cp1255.c: Completely rewritten.
	* iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
	* iconvdata/testdata/WINDOWS-1255: New file.
	* iconvdata/testdata/WINDOWS-1255..UTF8: New file.
	* iconvdata/TESTS: Add WINDOWS-1255 test.
	* iconvdata/CP1255.irreversible: New file.

2001-05-20  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/cp1258.c: Completely rewritten.
	* iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
	* iconvdata/testdata/WINDOWS-1258: New file.
	* iconvdata/testdata/WINDOWS-1258..UTF8: New file.
	* iconvdata/TESTS: Add WINDOWS-1258 test.
	* iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
	the main call, and flush it afterwards.
	(utf8_decode): Return a string, possibly containing several Unicode
	characters.
	(main): Update all utf8_decode calls.
	* iconvdata/CP1258.irreversible: New file.

2001-05-20  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
	* iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
	first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
	EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
	the next step. In the second case, clear the state without calling
	EMIT_SHIFT_TO_INIT.
	* iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
	data->__outbuf, and outend instead of data->__outbufend.
	* iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
	* iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
	* iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
	* iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
	* iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
	* iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
	* iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
	* iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
	* iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.

2001-05-21  Jakub Jelinek  <jakub@redhat.com>

	* elf/rtld.c (dl_main): Compute l_map_end for the main program.
	* elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
	If match == _dl_loaded, caller can still come from the main program.
	(_dl_vsym): Likewise.
	* elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
	* elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
	* elf/restest2.c: New test.
	* elf/Makefile (tests): Add restest2.
	(restest2, LDFLAGS-restest2): Add rules.
2001-05-22 22:30:18 +00:00
Ulrich Drepper 25e57b10f3 Update.
2001-05-22  Ulrich Drepper  <drepper@redhat.com>

	* intl/Makefile: Add a few more dependencies to avoid races in the
	test shell scripts.
2001-05-22 20:42:39 +00:00
Andreas Jaeger 90b828e6ad Update.
2001-05-22  Andreas Jaeger  <aj@suse.de>

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

2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
	return addresses instead of the stack pointers.
	* sysdeps/s390/s390-64/backtrace.c: Likewise.

2001-05-21  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
	bits/sigcontext.h instead of bits/sigstack.h.
	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
	multiple-inclusion guards.
2001-05-22 08:46:19 +00:00
Andreas Jaeger 0bc93a2fb1 Update.
2001-05-21  Andreas Jaeger  <aj@suse.de>

	* locale/programs/ld-collate.c (handle_ellipsis): Fix message.
	Patch by Philipp Thomas <pthomas@suse.de>.
2001-05-21 17:38:30 +00:00
Andreas Jaeger be594011d0 Update.
2001-05-17  Bruce Mitchener  <bruce@cubik.org>

	* manual/arpg.texi: Spelling, misc fixes.
	* manual/arith.texi: Likewise.
	* manual/crypt.texi: Likewise.
	* manual/debug.texi: Likewise.
	* manual/getopt.texi: Likewise.
	* manual/intro.texi: Likewise.
	* manual/memory.texi: Likewise.
	* manual/nss.texi: Likewise.
	* manual/pattern.texi: Likewise.
	* manual/process.texi: Likewise.
	* manual/resource.texi: Likewise.
	* manual/search.texi: Likewise.
	* manual/setjmp.texi: Likewise.
	* manual/signal.texi: Likewise.
	* manual/socket.texi: Likewise.
	* manual/stdio.texi: Likewise.
	* manual/string.texi: Likewise.
	* manual/sysinfo.texi: Likewise.
	* manual/terminal.texi: Likewise.
	* manual/llio.texi: Document madvise().
2001-05-21 16:19:20 +00:00
Roland McGrath f1d71039d1 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
found within $(add-ons) directories too.
	[linuxthreads add-on]: Move variable settings for linuxthreads
	to new file linuxthreads/Makeconfig.
2001-05-21 06:06:51 +00:00
Andreas Jaeger d6e614debf Update.
2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
	Define for linux >= 2.4.5 on powerpc.
	(__ASSUME_MMAP2_SYSCALL): Likewise.
2001-05-20 11:55:38 +00:00
Roland McGrath 6cceab0016 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
result port when failing with ELOOP.  Do the ELOOP check when
	following an absolute symlink target as well as relative.
	Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
2001-05-20 02:27:56 +00:00
Andreas Jaeger 6e2d19cab9 Update.
* po/fr.po: Free software is "logiciel libre".
	Patch by Martin Michlmayr <tbm@cyrius.com>.
2001-05-18 12:54:26 +00:00
Andreas Jaeger f5956cf997 Update.
2001-05-18  Andreas Jaeger  <aj@suse.de>

	* sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
	Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
2001-05-18 07:41:38 +00:00
Ulrich Drepper 33bdaa2c05 Update.
2001-05-17  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
2001-05-17 19:35:06 +00:00
Ulrich Drepper 7f81ac7007 Update.
2001-05-17  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-profile.c (_dl_mcount): Check whether state is
	GMON_PROF_ON before doing anything.
2001-05-17 19:31:03 +00:00
Ulrich Drepper 8d88a16405 Update.
2001-05-17  H.J. Lu  <hjl@gnu.org>

	* elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
2001-05-17 19:07:36 +00:00
Ulrich Drepper 8df6c274bc Update.
2001-05-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
	CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
	Reported by Mark Burton <markb@ordern.com>.
2001-05-17 16:26:13 +00:00
Andreas Jaeger 4be8dba8d2 Update.
2001-05-17  Jakub Jelinek  <jakub@redhat.com>

	* elf/ldconfig.c (add_dir): Only warn about stat failure if
	opt_verbose.
	(search_dir): Likewise.
2001-05-17 15:46:08 +00:00
Ulrich Drepper fb221698c3 Update.
2001-05-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
	parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
2001-05-17 07:52:02 +00:00
Ulrich Drepper 304d7abfad Update.
2001-05-14  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
	without previous announcement, reject it regularly, don't abort.

2001-05-16  Ulrich Drepper  <drepper@redhat.com>

	* math/tgmath.h: Fix handling of int parameters to binary and
	ternary functions.  Reported by mitr@volny.cz.

	* math/test-tgmath.c: Add tests for calls with integer parameters.

	* manual/llio.texi: Many grammar and typo fixes to the section on AIO.
2001-05-17 07:11:00 +00:00
Ulrich Drepper d1abdd5c07 Update.
2001-05-15  Jakub Jelinek  <jakub@redhat.com>

	* sunrpc/rpc_thread.c (rpc_default): Remove.
	(__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
	rpc_default.
	(rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
	__rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
	* sunrpc/auth_none.c (authnone_private): Fix a typo.
2001-05-17 02:53:37 +00:00
Andreas Jaeger f010f4a36f Update.
2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
2001-05-16 16:12:54 +00:00
Andreas Jaeger 19e4c7dd91 Update.
2001-05-16  Bruce Mitchener  <bruce@cubik.org>

	* manual/llio.texi:  Many grammar and typo fixes to the section
	on AIO.
2001-05-16 08:15:00 +00:00
Andreas Jaeger 33996419cd Update.
2001-05-15  Andreas Jaeger  <aj@suse.de>

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

	* sysdeps/i386/fpu/libm-test-ulps: Adjust for change.

	* math/libm-test.inc: Add comment with ToDo.

	* sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
	accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.

	* sysdeps/i386/fpu/e_expl.S: Removed.
2001-05-15 08:00:22 +00:00
Roland McGrath 083973f34e * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
static pattern rule also that also covers
	$(objpx)g$(static-start-installed-name).
	[$(start-installed-name) != $(static-start-installed-name)]
	(extra-objs, omit-deps, install-lib): Add
	$(static-start-installed-name) and g$(static-start-installed-name).
	* sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
	just setting static-start-installed-name is now sufficient.
	(extra-objs): Add static-start.o here.
	(CFLAGS-initfini.s): Remove obsolete variable.
	* sysdeps/mach/hurd/i386/Makeconfig: New file.
	Define static-start-installed-name here.

	* Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
	* Make-dist (+sysdep-tsrcs): Look for Makeconfig files.

	* Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
	associated hair.  Instead, just use $(wildcard ...) in the include.

	* configure.in (critic_missing, aux_missing): Collect in these vars
	the names of the missing programs, and include them in the error msgs.
	* configure: Regenerated.
2001-05-14 23:32:39 +00:00
Andreas Jaeger 3eab00bd35 Update.
2001-05-14  Andreas Jaeger  <aj@suse.de>

	* sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.

	* math/libm-test.inc (tanh_test): Add testcases for last tanh bug.

2001-05-14  Stephen L Moshier <moshier@mediaone.net>

	* sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.

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

	* posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
	as well if swapping strings.
	Make sure stop is not past end of second string.
	* posix/bug-regex4.c: New test.
	* posix/Makefile (tests): Add bug-regex4.

2001-05-10  Andreas Jaeger  <aj@suse.de>

	* manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
	requirement.
2001-05-14 09:25:37 +00:00
Andreas Jaeger 74f7eecd5f Update.
* sysdeps/ieee754/dbl-64/branred.c: Likewise.
2001-05-12 20:17:06 +00:00
Andreas Jaeger 15b3c029dc Update.
* sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
	internal prototypes.
	* sysdeps/ieee754/dbl-64/doasin.c: Likewise.
	* sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
	* sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
	* sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
	* sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
	* sysdeps/ieee754/dbl-64/slowpow.c: Likewise.

	* math/math_private.h: Add prototypes for internal functions of
	the IBM Accurate Mathematical Library.

	* sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
	prototypes.
	* sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2001-05-12 20:15:01 +00:00
Andreas Jaeger e859d1d90a Update.
2001-05-12  Andreas Jaeger  <aj@suse.de>

	* sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
	internal prototypes.
	* sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_log.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
	* sysdeps/generic/e_rem_pio2l.c: Likewise.
	(__ieee754_rem_pio2l): Fix prototype.

	* math/math_private.h (__copysign): Add internal prototype.
2001-05-12 14:32:12 +00:00
Andreas Jaeger 02eca23b08 Update.
* sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
	* sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.

2001-05-11  Andreas Jaeger  <aj@suse.de>
2001-05-11 16:48:44 +00:00
Andreas Jaeger a26e67d3f1 Update.
2001-05-11  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/configure.in: Check binutils version on
	MIPS.

	* sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
	format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
2001-05-11 13:09:19 +00:00
Roland McGrath 2344bc54fb * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
$(build-module) here, since we don't need the full magilla.
	Just use $(build-module-helper) and append our special options.
2001-05-11 08:10:14 +00:00
Andreas Schwab 7d2e3d55f2 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
reached EOF.
2001-05-09 16:37:09 +00:00
Andreas Jaeger 4ceae91566 Update. 2001-05-08 10:40:10 +00:00
Andreas Jaeger c5d6c25b71 Update.
2001-05-07  H.J. Lu  <hjl@gnu.org>

	* elf/ldconfig.c (dir_entry): Add ino and dev.
	(add_single_dir): Compare ino and dev to check if 2 directory
	paths are the same or not. Free entry->path for duplicates.
	(add_dir): Initialize ino and dev for entry.
	(search_dir): Handle symlink to directory.
2001-05-08 10:38:52 +00:00
Andreas Jaeger 4c95adde8b Update.
* sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.

	* math/libm-test.inc (exp_test): Add some more tests.
	(pow_test): Run double only test also for long double.

	* math/test-ldouble.c (TEST_LDOUBLE): Define.
	* math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2001-05-07 21:29:40 +00:00
Andreas Jaeger 8ee20e93a0 Update.
* sysdeps/generic/bits/confname.h: Remove extra comma at end of
	enumeration.
	Closes PR libc/2240.
2001-05-07 11:17:27 +00:00
Andreas Jaeger 98f8cdf047 Update.
2001-05-07  Andreas Jaeger  <aj@suse.de>

	* scripts/config.guess: Imported from gnu.org.
	* scripts/config.sub: Likewise.
2001-05-07 10:23:22 +00:00
Andreas Jaeger 07c416ed09 Update.
2001-05-05  Jakub Jelinek  <jakub@redhat.com>

	* include/features.h (__USE_EXTERN_INLINES): Don't define if
	__NO_INLINE__ is defined.
	* ctype/ctype.h (tolower, toupper): Change the guard condition to
	__USE_EXTERN_INLINES check only.
	* stdlib/stdlib.h (strtod, ...): Likewise.
	* wcsmbs/wchar.h (mbrlen): Likewise.
	* string/string.h: Only include bits/string.h and bits/string2.h
	if __NO_INLINE__ is not defined.
2001-05-07 08:43:11 +00:00
Andreas Jaeger 3ebab9ee23 Update.
2001-05-07  Andreas Jaeger  <aj@suse.de>

	* debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
	of @LIBDIR@.

2001-05-04  H.J. Lu  <hjl@gnu.org>

	* malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
	not @LIBDIR@.
2001-05-07 08:39:40 +00:00
Andreas Jaeger 8c2dab4fad Update.
* sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
	* sysdeps/i386/fpu/e_fmodl.S: Removed.
	* sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
	* sysdeps/i386/fpu/e_atan2l.S: Removed.
2001-05-06 18:12:52 +00:00
Andreas Jaeger b3b380428d Update.
2001-05-06  Andreas Jaeger  <aj@suse.de>

	* sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
	* sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
	* sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
	* sysdeps/i386/fpu/e_acosl.S: Removed.
	* sysdeps/i386/fpu/s_atanl.S: Removed.
	* sysdeps/i386/fpu/e_sqrtl.S: Removed.
2001-05-06 17:03:45 +00:00
Mark Kettenis aa2e3ec386 * sysdeps/mach/hurd/bits/environments.h: Add comment from sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
2001-05-05  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/bits/environments.h: Add comment from
	sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
2001-05-05 14:20:35 +00:00
Andreas Jaeger 2c179ef013 Update.
2001-04-30  Jakub Jelinek  <jakub@redhat.com>

	* posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
	that _CS_LFS_CFLAGS can fall through to the empty returned string
	case.  Add FALLTHROUGH comment.
2001-04-30 08:32:48 +00:00
Andreas Jaeger b7dd38e6e7 Update.
2001-04-29  Ralf Baechle  <ralf@gnu.org>

	* sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
	definitions match the kernel definitions.
	* sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2001-04-30 07:20:48 +00:00
Andreas Jaeger ba77ce24a6 Update.
2001-04-29  Ben Collins  <bcollins@debian.org>

	* sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
	warnings.
	* sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
	* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2001-04-30 06:48:37 +00:00
Andreas Schwab 8b6b1af46d * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
in last change.
2001-04-29 14:19:28 +00:00
Andreas Jaeger 5385f8642c Update.
2001-04-29  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
	Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.

	* sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
	Linux 2.4.4.
	(AF_WANPIPE): Likewise.
	(MSG_MORE): New.

	* sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
	for Linux generic version.
	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.

	* sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2001-04-29 12:31:29 +00:00
Ulrich Drepper 29f1a8977b Update.
* nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2001-04-28 04:21:54 +00:00
Ulrich Drepper 7c2034adce Update.
2001-04-27  Ulrich Drepper  <drepper@redhat.com>

	* nis/nss-nis.h: Correct test for invalid error number.
	* nis/nss-nisplus.h: Likewise.
2001-04-28 02:20:30 +00:00
Ulrich Drepper fa39bea49e Update.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2001-04-26 20:56:45 +00:00
Ulrich Drepper c51dc068d5 Update.
* string/strcoll.c: Fix two memory allocation problems.
	* string/Makefile (tests): Add bug-strcoll1.
	* string/bug-strcoll1.c: New file.
2001-04-26 20:45:18 +00:00
Ulrich Drepper 9243173ab9 Correct last entries.
* nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
	* nis/nss_nisplus/nisplus-ethers.c: Likewise.
	* nis/nss_nisplus/nisplus-grp.c: Likewise.
	* nis/nss_nisplus/nisplus-hosts.c: Likewise.
	* nis/nss_nisplus/nisplus-network.c: Likewise.
	* nis/nss_nisplus/nisplus-proto.c: Likewise.
	* nis/nss_nisplus/nisplus-pwd.c: Likewise.
	* nis/nss_nisplus/nisplus-rpc.c: Likewise.
	* nis/nss_nisplus/nisplus-service.c: Likewise.
	* nis/nss_nisplus/nisplus-spwd.c: Likewise.
	* nis/nss_nis/nis-alias.c: Likewise.
	* nis/nss_nis/nis-ethers.c: Likewise.
	* nis/nss_nis/nis-grp.c: Likewise.
	* nis/nss_nis/nis-network.c: Likewise.
	* nis/nss_nis/nis-proto.c: Likewise.
	* nis/nss_nis/nis-pwd.c: Likewise.
	* nis/nss_nis/nis-spwd.c: Likewise.
	* nis/nss_compat/compat-grp.c: Likewise.
	* nis/nss_compat/compat-initgroups.c: Likewise.
	* nis/nss_compat/compat-pwd.c: Likewise.
	* nis/nss_compat/compat-spwd.c: Likewise.
2001-04-26 14:33:48 +00:00
Ulrich Drepper fc9f33e33f Update.
* nss_nis/nis-alias.c: Likewise.
	* nss_nis/nis-ethers.c: Likewise.
	* nss_nis/nis-grp.c: Likewise.
	* nss_nis/nis-network.c: Likewise.
	* nss_nis/nis-proto.c: Likewise.
	* nss_nis/nis-pwd.c: Likewise.
	* nss_nis/nis-spwd.c: Likewise.
	* nss_compat/compat-grp.c: Likewise.
	* nss_compat/compat-initgroups.c: Likewise.
	* nss_compat/compat-pwd.c: Likewise.
	* nss_compat/compat-spwd.c: Likewise.
2001-04-26 14:11:35 +00:00
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
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
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
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
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 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
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
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
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 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
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
Andreas Jaeger b701d41a8e Update.
2001-04-20  Andreas Jaeger  <aj@suse.de>

	* intl/Makefile (tests): Reorder conditions, tst-gettext needs
	msgfmt.
2001-04-20 13:28:21 +00:00
Andreas Schwab 9434fe8112 * sysdeps/m68k/fpu/libm-test-ulps: Update.
2001-04-20  Andreas Schwab  <schwab@suse.de>

	* sysdeps/m68k/fpu/libm-test-ulps: Update.
2001-04-20 13:02:01 +00:00
Ulrich Drepper 49547c68f9 Update.
2001-04-19  Alan Modra  <amodra@one.net.au>

	* Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
	* sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
	(CFLAGS-.os): Remove.

	* sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.

	* sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
	gregset): Correct for new kernel definitions.

2001-04-19  Alan Modra  <alan@linuxcare.com.au>

	* sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
	generate unwind info by hand.

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

	* sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.

	* configure.in: Correct regular expression for msgfmt.
	Patch by Bruno Haible <haible@ilog.fr>.
2001-04-20 06:06:55 +00:00
Andreas Jaeger aa29e3a242 Update.
2001-04-19  Andreas Jaeger  <aj@suse.de>

	* po/el.po: Add comment explaining what's broken.

	* po/Makefile (BROKEN_LINGUAS): New.
	(ALL_LINGUAS): Don't add broken languages.
2001-04-20 04:46:49 +00:00
Roland McGrath d81b986bea * sysdeps/mach/hurd/mlock.c: New file.
* sysdeps/mach/hurd/munlock.c: New file.
	* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.

	* misc/Makefile (routines): Add mlock munlock mlockall munlockall.
	* sysdeps/generic/mlock.c: New file.
	* sysdeps/generic/munlock.c: New file.
	* sysdeps/generic/mlockall.c: New file.
	* sysdeps/generic/munlockall.c: New file.
	* sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
	* sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
	mlockall, munlockall): Change caller field to - from EXTRA.
	Don't use __ names; not used (and not declared in include/sys/mman.h).
2001-04-19 23:25:40 +00:00
Roland McGrath 5017b2c845 * hurd/privports.c (__get_privileged_ports): Renamed with __.
Use __ names for calls we make.
	(get_privileged_ports): Add alias.
	* hurd/hurd.h: Declare it with the __ name.
	* sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
	* sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
	* sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2001-04-19 22:53:58 +00:00
Roland McGrath 426c52791a * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
nothing if it's zero.
2001-04-19 22:09:15 +00:00
Ulrich Drepper 6610a14064 Update.
2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>

	* sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
	Change to return a signed result for compatibility with other
	architectures, and correctness.
2001-04-19 21:24:46 +00:00
Ulrich Drepper 72ae756aa6 Update.
2001-04-19  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
	HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.

	* manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2001-04-19 20:48:04 +00:00
Andreas Jaeger c26b4f64a8 Update.
* configure.in: Require gettext 0.10.36 or newer.

	* manual/install.texi (Tools for Compilation): Mention gettext
	0.10.36.
2001-04-19 20:15:22 +00:00
Andreas Jaeger 45b80afb7c Update.
2001-04-19  Andreas Jaeger  <aj@suse.de>

	* po/zh_TW.po: Remove extraneous backslashes.

	* sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
	variables b and n.
2001-04-19 20:01:21 +00:00
Ulrich Drepper 9bab980687 Update.
2001-04-18  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
	* sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
	Copy first word of uc_sigmask into __uc_sigmask.
	* sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
	Save uc_link around trap. Copy __uc_sigmask into first word of
	uc_sigmask, clear the rest. Make sure setcontext to the created
	context doesn't do this though.
	* sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
	* sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
	uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
	64bit version, make uc_sigmask __sigset_t in the 32bit version.

	* rt/Makefile (otherlibs): Added for static NSS.
	* glibcbug.in (BUGGLIBC): Send to new alias.
2001-04-19 16:31:12 +00:00
Andreas Jaeger 03b9ce8bae Fix typos in last patch.
2001-04-19  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2001-04-19 09:35:01 +00:00
Andreas Jaeger 4353675161 (BUGGLIBC): Send to new alias.
* rt/Makefile (otherlibs): Added.

        * glibcbug.in (BUGGLIBC): Send to new alias.
2001-04-18 20:03:28 +00:00
Andreas Jaeger 1093004112 Update.
2001-04-18  Andreas Jaeger  <aj@suse.de>

	* rt/Makefile (otherlibs): Added.
2001-04-18 16:08:09 +00:00
Ulrich Drepper 2f53aec963 Update.
2001-04-02  Andreas Schwab  <schwab@suse.de>

	* Makerules (build-module): Make sure exit codes get checked
	properly and remove unnecessary slashes.
2001-04-18 16:03:07 +00:00
Ulrich Drepper 0160829281 Update.
* sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
	Handle kernels which report only three digits after the decimal point.
	Reported by Van Okamura <van.okamura@oracle.com>.
2001-04-18 04:49:34 +00:00
Ulrich Drepper ddad941ea4 Update.
2001-04-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2001-04-18 00:20:28 +00:00
Ulrich Drepper 2edfd87c44 Update.
2001-04-17  David S. Miller  <davem@redhat.com>

	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2001-04-17 21:22:45 +00:00
Ulrich Drepper 33e885db54 Update.
2001-04-17  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
	desired exceptions are raised for exceptional values.
	* math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
	cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
	clog_test, log_test, log1p_test, tan_test): Increase precision of
	expected values to satisfy ldbl-128.
	* sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
	* sysdeps/arm/libm-test-ulps: Likewise.
	* sysdeps/i386/fpu/libm-test-ulps: Likewise.
	* sysdeps/ia64/fpu/libm-test-ulps: Likewise.
	* sysdeps/m68k/fpu/libm-test-ulps: Likewise.
	* sysdeps/mips/fpu/libm-test-ulps: Likewise.
	* sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
	* sysdeps/s390/fpu/libm-test-ulps: Likewise.
	* sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2001-04-17 19:00:41 +00:00
Andreas Jaeger de83fb78d7 Update.
2001-04-17  Andreas Jaeger  <aj@suse.de>

	* configure.in: Move test for critical programs up.
2001-04-17 14:38:29 +00:00
Ulrich Drepper 9b7ee67e0c Update.
2001-04-16  Stephen L Moshier  <moshier@mediaone.net>

	* sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
	Correct the values. (pSx, qSx): Replace by shorter approximation.
	Use f suffix on float constants.

	* sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
	Contributed by Stephen L Moshier <moshier@mediaone.net>.
2001-04-17 06:51:57 +00:00
Ulrich Drepper c991a86a17 Update.
2001-04-16  Ulrich Drepper  <drepper@redhat.com>

	* string/string.h: Replace const in attribute list with __const__.
2001-04-17 04:20:22 +00:00
Roland McGrath 3de33da93f * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
instead of the constant NGROUPS_MAX.  That way, the limit can be
	raised in the kernel configuration without having to recompile libc.

	* sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
	define NGROUPS_MAX; we don't use it here.
2001-04-17 03:34:20 +00:00
Andreas Jaeger 8c4b05d02f Update.
* math/libm-test.inc (atan2_test): Add more testcases.
2001-04-16 18:04:22 +00:00