Commit Graph

7299 Commits

Author SHA1 Message Date
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
Ulrich Drepper
6c112c15ad (__ieee754_acoshl): acosh(x) = ln(2x) if x > 2^30. 2001-07-07 22:47:57 +00:00
Mark Kettenis
43c6b44414 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and KERN_WRITE_PROTECTION_FAILURE.
2001-07-07  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
	Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
	KERN_WRITE_PROTECTION_FAILURE.
2001-07-07 20:34:28 +00:00
Ulrich Drepper
22af13de45 Update.
* posix/regex.c: Limit string length printed in debug messages to
	100 chars.
2001-07-07 19:24:57 +00:00
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
Ulrich Drepper
102a3e8f76 Don't warn about versioning if not on ELF system. 2001-07-07 19:05:03 +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
Andreas Jaeger
6d84f89a88 Put under LGPL v2.1. 2001-07-07 10:13:33 +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
Ulrich Drepper
d74d09168d Update from translation team. 2001-07-06 16:44:43 +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
Andreas Jaeger
b3339de1d1 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:46:28 +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
Roland McGrath
f41c998d4a 2001-06-26 Roland McGrath <roland@frob.com>
* hurd/hurdioctl.c: Include <string.h> for memcpy decl.
2001-07-04 22:57:50 +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
Andreas Jaeger
d2248d2d0e Remove check for crypt add-on. 2001-07-03 16:50:33 +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
Ulrich Drepper
e86f971d89 (__elf_preferred_address): Prefer gaps below main executable. 2001-06-30 21:20:48 +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
Andreas Jaeger
1573f8403a asinh implmentation for 128-bit long doubles. 2001-06-29 15:15:25 +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
Ulrich Drepper
5746ef6f2a (locale_file_list): Renamed to ... (_nl_locale_file_list): This. Make it extern. (free_mem): Move to setlocale.c. 2001-06-29 00:05:31 +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
Ulrich Drepper
73111f03f8 Fix several bugs. Add more tests. 2001-06-27 07:11:22 +00:00