Commit Graph

7935 Commits

Author SHA1 Message Date
Roland McGrath 50d274e5a6 * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags
parameter to dir_mkfile.
2001-11-04 10:31:47 +00:00
Roland McGrath 0bfb44417d 2001-11-04 Roland McGrath <roland@frob.com>
* hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags
	parameter to dir_mkfile.
2001-11-04 10:31:13 +00:00
Ulrich Drepper fb4fb5428d Update.
2001-11-02  Jakub Jelinek  <jakub@redhat.com>

	* string/bits/string2.h (__strndup): If n is smaller than len, set
	len to n + 1.
	* string/tester.c (test_strndup): New function.
	(main): Call it.

	* sunrpc/rpc_main.c: Optimize variable definitions a bit.
2001-11-03 09:05:11 +00:00
Ulrich Drepper 5f73e77144 Update.
* sunrpc/rpc_main.c: Optomize variable definitions a bit.
2001-11-02 02:16:01 +00:00
Ulrich Drepper 980c4d0449 Update.
* sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls.
	* scripts/cpp: New file.
2001-11-02 02:08:57 +00:00
Ulrich Drepper 2f653c01fc Update.
2001-11-01  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-load.c (_dl_map_object): Correct test of DF_1_NODEFLIB
	for rtld_search_dirs content.  Minor optimizations.
2001-11-01 23:16:25 +00:00
Ulrich Drepper 955891779a Update.
2001-10-31  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-load.c (_dl_map_object): Make code a bit more compact by
	avoiding unnecessary duplication.

2001-10-31  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-load.c (_dl_map_object): If library was found using
	LD_LIBRARY_PATH, don't try RUNPATH list.

2001-10-29  Kevin Ryde  <user42@zip.com.au>
2001-11-01 04:46:27 +00:00
Ulrich Drepper a81289237c Update.
2001-10-31  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-32/register-dump (REGISTER_DUMP):
	Correct second argument of register_dump call.
	* sysdeps/unix/sysv/linux/s390/s390-64/register-dump (REGISTER_DUMP):
	Likewise.
2001-10-31 21:48:48 +00:00
Ulrich Drepper 6d763b877c (REGISTER_DUMP): Correct second argument of register_dump call. 2001-10-31 21:46:29 +00:00
Andreas Jaeger 76f932922e Removed Makefile since it's not needed anymore with current GCC.
2001-10-31  Andreas Jaeger  <aj@suse.de>

	* sysdeps/x86_64/Makefile: Remove, we do not need it anymore.
2001-10-31 12:53:01 +00:00
Ulrich Drepper 557a9213f6 Update.
2001-10-31  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162
	modules.
	* iconvdata/TESTS: Likewise.
	* iconvdata/gconv-modules: Likewise.
	* iconvdata/ibm1132.c: New file.
	* iconvdata/ibm1132.h: New file.
	* iconvdata/ibm1133.c: New file.
	* iconvdata/ibm1133.h: New file.
	* iconvdata/ibm1162.c: New file.
	* iconvdata/ibm1162.h: New file.
	* iconvdata/testdata/IBM1132: New file.
	* iconvdata/testdata/IBM1132..UTF8: New file.
	* iconvdata/testdata/IBM1133: New file.
	* iconvdata/testdata/IBM1133..UTF8: New file.
	* iconvdata/testdata/IBM1162: New file.
	* iconvdata/testdata/IBM1162..UTF8: New file.
	Patches by Masahide Washizawa <WASHI@jp.ibm.com>.

	* string/string.h: Fix typo in comment.
	* wcsmbs/wchar.h: Likewise.

2001-10-30  Joseph S. Myers  <jsm28@cam.ac.uk>

	* manual/getopt.texi (getopt_long, getopt_long_only): Include
	const in type of longopts parameter.

	* sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions.
	* manual/stdio.texi (Integer Conversions): Corrections to sample printf
2001-10-31 09:32:37 +00:00
Ulrich Drepper 604febbae0 (getopt_long, getopt_long_only): Include const in type of longopts parameter. 2001-10-31 08:30:48 +00:00
Andreas Jaeger 1d05224768 Update.
2001-10-29  Andreas Jaeger  <aj@suse.de>

	* sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal
	functions.
2001-10-29 17:24:29 +00:00
Andreas Jaeger d075e3efa9 Update.
2001-10-29  Kevin Ryde <user42@zip.com.au>

	* stdio.texi (Integer Conversions): Corrections to sample printf
	output, clarify `#' behaviour on 0.
	(Floating-Point Conversions): Clarify that %g only uses %e when
	the exponent would be greater than 1.
2001-10-29 15:56:34 +00:00
Andreas Jaeger 776e8492c9 * stdio.texi (Integer Conversions): Corrections to sample printf
output, clarify `#' behaviour on 0. 
(Floating-Point Conversions): Clarify that %g only uses %e when 
the exponent would be greater than 1.
2001-10-29 15:56:29 +00:00
Roland McGrath d3b82fcc5f Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.
* sysdeps/mach/powerpc/machine-sp.h: New file.
	* sysdeps/mach/powerpc/sysdep.h: New file.
	* sysdeps/mach/powerpc/thread_state.h: New file.

	* sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
	* sysdeps/mach/hurd/Makefile: ... to here.  For the time being, we can
	expect to need the same thing on every platform.

	* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
	* sysdeps/generic/sys/ucontext.h: ... to replace this one.
2001-10-29 04:39:05 +00:00
Roland McGrath ab0a3efc49 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,
ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN,
	DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT):
	Move all these assembly-related definitions to ...
	* sysdeps/powerpc/elf/sysdep.h: ... this new file.

	* sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten
	by Peter Bruin <pjbruin@dds.nl>.
2001-10-29 02:19:33 +00:00
Roland McGrath ec448f662f * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
packing results for a `poll' call.
2001-10-28 22:10:32 +00:00
Roland McGrath 80081a0a88 2001-10-28 Roland McGrath <roland@frob.com>
* hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
	packing results for a `poll' call.
2001-10-28 22:10:26 +00:00
Ulrich Drepper 95eaff64c7 Update.
* posix/tst-fnmatch.input: Add tests for - at beginning and end of
	bracket expression.
	* string/tst-strxfrm.c (test): Also test __strxfrm_l.
2001-10-27 03:00:50 +00:00
Ulrich Drepper be29c482f7 Update.
* posix/fnmatch_loop.c: Recognize - at end of bracket expression
	correctly.
2001-10-27 00:38:28 +00:00
Ulrich Drepper ca6c73895d Update.
2001-10-26  Ulrich Drepper  <drepper@redhat.com>

	* string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
	nrules value.

2001-10-24  H.J. Lu  <hjl@gnu.org>

	* sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
	Use __BEGIN_DECLS/__END_DECLS around prototypes.
	* sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.

2001-10-21  Jim Meyering  <meyering@lucent.com>

	* malloc/obstack.c (_): Honor the setting of ENABLE_NLS.  Otherwise,
	this code would end up calling gettext even in packages built
	with --disable-nls.
	* posix/getopt.c (_): Likewise.
	* posix/regex.c (_): Likewise.

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

	* resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
	lookup not ip6.int.
	* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
	Reported by Martin.v.Loewis@t-online.de [PR libc/2598].

2001-10-19  Jakub Jelinek  <jakub@redhat.com>

	* misc/sys/cdefs.h (__attribute_used__): Define.
	* elf/rtld.c (_dl_start): Add __attribute_used__.
	* elf/dl-runtime.c (fixup, profile_fixup): Likewise.
2001-10-27 00:23:28 +00:00
Ulrich Drepper d3640b91f7 (__attribute_used__): Define. 2001-10-26 23:35:32 +00:00
Andreas Schwab a5fcd16647 *** empty log message ***
2001-10-25  Andreas Schwab  <schwab@suse.de>

	* stdlib/a64l.c: Expect least significant digit first.
	* stdlib/l64a.c: Produce least significant digit first.
	* stdlib/Makefile (tests): Add test-a64l.
	* stdlib/test-a64l.c: New file.
	Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.
2001-10-25 10:21:02 +00:00
Andreas Schwab ab1c32a698 * stdlib/a64l.c: Expect least significant digit first.
* stdlib/l64a.c: Produce least significant digit first. 
* stdlib/Makefile (tests): Add test-a64l. 
* stdlib/test-a64l.c: New file.
2001-10-25 10:20:40 +00:00
Ulrich Drepper 412420ee83 Update.
2001-10-21  Ulrich Drepper  <drepper@redhat.com>

	* po/sk.po: Update from translation team.
2001-10-21 17:34:56 +00:00
Ulrich Drepper fceffbe003 Update.
2001-10-18  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/elf/start.S (_fp_hw): Define object type.

	parentheses.  Reported by David Byron <dbyron@porto.coactive.com>,
	close PR libc/2589.
2001-10-19 02:12:38 +00:00
Ulrich Drepper 34912877b1 (_fp_hw): Define object type. 2001-10-19 02:11:06 +00:00
Andreas Schwab 303f1335a3 * math/libm-test.inc (print_ulps): Print ulp values rounded to
next whole number.
	(print_function_ulps): Likewise.
	(print_complex_function_ulps): Likewise.
	(print_max_error): Likewise.
	(print_complex_max_error): Likewise.  Handle ignore_max_ulp.
2001-10-18 11:46:36 +00:00
Andreas Schwab 692acf3723 * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
implementation.
2001-10-16 20:21:57 +00:00
Andreas Schwab 9963f6ff00 * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
BSD_SETJMP or BSD__SETJMP is defined, resp.
	* sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
	a tail call to __sigsetjmp that would require extending the
	caller's frame.
	* sysdeps/m68k/bsd-_setjmp.c: Likewise.
	* sysdeps/m68k/bsd-setjmp.S: Deleted.
	* sysdeps/m68k/bsd-_setjmp.S: Deleted.
	Reported by Jes Sorensen <jes@trained-monkey.org>.
2001-10-16 14:20:44 +00:00
Andreas Schwab 692c5c148b * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
BSD_SETJMP or BSD__SETJMP is defined, resp. 
* sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making 
a tail call to __sigsetjmp that would require extending the 
caller's frame. 
* sysdeps/m68k/bsd-_setjmp.c: Likewise. 
* sysdeps/m68k/bsd-setjmp.S: Deleted. 
* sysdeps/m68k/bsd-_setjmp.S: Deleted.
2001-10-16 14:20:17 +00:00
Andreas Jaeger 5d964acfea Update.
2001-10-16  Andreas Jaeger  <aj@suse.de>

	* sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
	parentheses.
	Reported by David Byron <dbyron@porto.coactive.com>, close PR libc/2589.

2001-10-15  Ralf Baechle  <ralf@gnu.org>
2001-10-16 11:05:14 +00:00
Andreas Jaeger c831ae5490 Fix parentheses. 2001-10-16 11:02:24 +00:00
Ulrich Drepper 3a0b74737c Update.
2001-10-15  Ulrich Drepper  <drepper@redhat.com>

	* po/ca.po: New file.  Contributed by the translation team.

	* sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
	a varargs prototype.  Remove dependency from kernel header files.
2001-10-15 16:18:43 +00:00
Ulrich Drepper aca7cd2e50 Catalon message catalog for glibc. 2001-10-15 16:17:36 +00:00
Andreas Jaeger ee88e4575b Update.
2001-08-15  Ralf Baechle  <ralf@gnu.org>

	* sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype a
	varargs prototype.  Remove dependency from kernel header files.

	* sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
	__USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
2001-10-15 11:56:44 +00:00
Andreas Jaeger 0b59811f75 General cleanup, use __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate. 2001-10-15 11:55:20 +00:00
Ulrich Drepper a8ae31c22a Update. 2001-10-15 03:32:58 +00:00
Ulrich Drepper 1f5649f86b Update.
2001-10-14  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
	to generate hexadecimal identifier.
	Patch by Jungshik Shin <jungshik.shin@yale.edu>.

2001-10-09  Stephen L Moshier  <moshier@mediaone.net>

	* sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.

2001-10-14  Ulrich Drepper  <drepper@redhat.com>

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

	* sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
	* sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
	* sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
	* sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
	* sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
	* sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise

	* timezone/africa: Update from tzdata2001d.
	* timezone/asia: Likewise.
	* timezone/australasia: Likewise.
	* timezone/backward: Likewise.
	* timezone/europe: Likewise.
	* timezone/leapseconds: Likewise.
	* timezone/northamerica: Likewise.
	* timezone/southamerica: Likewise.
	* timezone/zone.tab: Likewise.

2001-10-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
	* sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
2001-10-14 22:33:08 +00:00
Ulrich Drepper 459a31635e Update.
2001-10-12  Ulrich Drepper  <drepper@redhat.com>

	* elf/elf.h (PT_TLS): New definition.

	* sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
	bits/errno.h
2001-10-12 07:59:07 +00:00
Ulrich Drepper 27ed8628e1 (SHT_GNU_LIBLIST): Added. 2001-10-11 01:28:19 +00:00
Roland McGrath 0dc87bc64b 2001-10-10 Jeff Bailey <jbailey@nisa.net>
* sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
        bits/errno.h

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

	* sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
2001-10-10 20:11:04 +00:00
Roland McGrath 2e342fe623 2001-10-07 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
2001-10-10 20:10:51 +00:00
Ulrich Drepper 1c92cebb26 Update.
2001-10-10  Ulrich Drepper  <drepper@redhat.com>

	* elf/elf.h: Add more ELFOSABI_* constants.

	(sparc64_fixup_plt): Moved from elf_machine_fixup_plt.  Optimize
2001-10-10 18:44:33 +00:00
Ulrich Drepper b61345a1ad Update.
2001-10-04  Ben Collins  <bcollins@debian.org>

	* sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
	decleration of __need_wchar_t.

2001-10-03  Jakub Jelinek  <jakub@redhat.com>

	* string/bits/string2.h (__strsep_g): Add prototype.
	(__strsep): Use it.
	* string/Versions (__strsep): Remove.
	* sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.

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

	* manua/llio.texi: Clarify file references added by mmap.
	Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
2001-10-07 20:26:31 +00:00
Ulrich Drepper c47e78b10f Update.
2001-09-29  Jes Sorensen  <jes@trained-monkey.org>

	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
	Add sc_loadrs and sc_rbs_bas to match current kernel.

2001-09-27  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.

	* sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).

2001-09-27  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
	object has been bumped because of relocation dependency, avoid
	duplicates in l_scope.
	(show_scope): Fix typos.
	* elf/Makefile: Add rules to build and run reldep6.
	* elf/reldep6.c: New file.
	* elf/reldep6mod0.c: New file.
	* elf/reldep6mod1.c: New file.
	* elf/reldep6mod2.c: New file.
	* elf/reldep6mod3.c: New file.
	* elf/reldep6mod4.c: New file.

2001-09-26  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
	sparc64_fixup_plt.
	(sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
	near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
	for non-lazy binding. Fix .plt[32768+] handling.
	(elf_machine_plt_value): Don't add addend.
	(elf_machine_rela): Call sparc64_fixup_plt instead of
	elf_machine_fixup_plt.
	(elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
	dynamic linker at 0xfffff800XXXXXXXX.

	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
2001-10-01 00:14:14 +00:00
Ulrich Drepper ddb96b7db1 Update.
2001-09-28  Ulrich Drepper  <drepper@redhat.com>

	* elf/elf.h: Define SHF_GROUP and SHF_TLS.
2001-09-28 08:00:57 +00:00
Ulrich Drepper 23ac6e3a2e Update.
2001-09-25  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
	declare __cmsg_data field if its size would be bigger than 0.
	(CMSG_DATA): Adjust accordingly.
	* sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.

	* elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
2001-09-26 06:59:16 +00:00
Ulrich Drepper 799ea679d3 Update.
Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
2001-09-25 07:16:23 +00:00