Commit Graph

9514 Commits

Author SHA1 Message Date
Roland McGrath 14fa7a214c 2002-11-25 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/lchmod.c: Include <fcntl.h>.
2002-11-26 03:20:30 +00:00
Ulrich Drepper 9b1a4ec371 Update.
2002-11-25  Ulrich Drepper  <drepper@redhat.com>

	* iconv/Makefile (tests): Remove tst-iconv4.c
	* iconv/tst-iconv4.c: Moved to...
	* iconvdata/tst-iconv4.c: ...here.  New file.
	* iconvdata/Makefile (tests): Add tst-iconv4.  Add dependencies.
2002-11-26 02:22:06 +00:00
Ulrich Drepper 12f492c0a4 (tests): Remove tst-iconv4.c 2002-11-26 02:17:06 +00:00
Roland McGrath 832fd8e810 * sysdeps/mach/hurd/i386/init-first.c: Include <ldsodefs.h>
and <fpu_control.h>.
2002-11-26 01:56:36 +00:00
Roland McGrath 9d8b8e946c 2002-11-25 Roland McGrath <roland@redhat.com>
* sysdeps/mach/hurd/i386/init-first.c: Include <ldsodefs.h>
	and <fpu_control.h>.
2002-11-26 01:56:30 +00:00
Ulrich Drepper e195fbaf78 Update.
2002-11-24  Ulrich Drepper  <drepper@redhat.com>

	* elf/elf.h (EM_ST19): Fix typo.
2002-11-25 01:53:29 +00:00
Ulrich Drepper 4b927d7e46 (EM_ST19): Fix typo. 2002-11-25 01:47:15 +00:00
Roland McGrath 983d597e9f * include/errno.h (__set_errno): Define as errno = val
unconditionally.
2002-11-25 00:14:23 +00:00
Roland McGrath bf2cc5fb02 * sysdeps/posix/readv.c: Include <errno.h>, use __set_errno macro.
* sysdeps/posix/writev.c: Likewise.
	From Momchil Velikov <velco@fadata.bg>.

	* elf/dl-error.c [! _LIBC_REENTRANT]: Use a static variable instead of
	calling *GL(dl_error_catch_tsd) for a thread-local location.
	* elf/rtld.c (startup_error_tsd): Conditionalize on [_LIBC_REENTRANT].
	(dl_main): Same for GL(dl_error_catch_tsd) initialization.
	* elf/dl-tsd.c: Conditionalize contents on [_LIBC_REENTRANT].

	* libio/iofflush.c: Add libc_hidden_def.
	* libio/iofwrite.c: Likewise.
	* sysdeps/generic/sigtimedwait.c: Likewise.
	* sysdeps/generic/sigwaitinfo.c: Likewise.
	* sysdeps/posix/sigwait.c: Likewise.
	Reported by Momchil Velikov <velco@fadata.bg>.

	* inet/inet_lnaof.c (inet_lnaof): Change return type to in_addr_t
	to match <arpa/inet.h> declaration.
	* inet/inet_netof.c (inet_netof): Likewise.
	* inet/inet_mkadr.c (inet_makeaddr): Likewise for argument types.
	Reported by Momchil Velikov <velco@fadata.bg>.
2002-11-24 23:56:47 +00:00
Roland McGrath 13a571a747 * configure.in: Skip AUTOCONF check under --without-cvs.
* configure: Regenerated.

	* posix/Makefile (headers): Add bits/pthreadtypes.h.
	* sysdeps/unix/sysv/linux/Makefile (sysdep_heaers): Don't add it here.
	* sysdeps/unix/sysv/linux/Dist: Remove it from the list.
2002-11-24 23:11:32 +00:00
Roland McGrath 14519931ae 2002-11-24 Roland McGrath <roland@redhat.com>
* configure.in: Skip AUTOCONF check under --without-cvs.
	* configure: Regenerated.
2002-11-24 23:11:14 +00:00
Andreas Schwab d7a5c7e70e * sysdeps/unix/sysv/linux/m68k/sysdep.h: Support inline syscall
with six arguments.
2002-11-24 19:41:50 +00:00
Andreas Schwab 511e04f3b6 Support inline syscall with six arguments. 2002-11-24 19:41:42 +00:00
Ulrich Drepper 93ed04cc6e Update.
2002-11-19  Jim Meyering  <jim@meyering.net>

	* time/mktime.c (__mon_yday, __mktime_internal) [!_LIBC]: Declare
	as `static'.
	* time/strptime.c (__mon_yday) [!_LIBC]: Declare as `static'.
2002-11-24 18:41:22 +00:00
Ulrich Drepper 8592ae9207 (__mon_yday, __mktime_internal) [!_LIBC]: Declare as `static'. 2002-11-24 18:37:56 +00:00
Andreas Schwab dab830850f Regenerated: autoconf sysdeps/generic/configure.in 2002-11-24 17:39:51 +00:00
Andreas Schwab 8a97d03fbf Regenerated: autoconf sysdeps/unix/configure.in 2002-11-24 17:39:46 +00:00
Roland McGrath 56c71d451f * scripts/abilist.awk: Avoid strtonum function, not there in mawk.
Just produce hex output for datum sizes.
2002-11-24 01:54:06 +00:00
Roland McGrath f069a1430a * elf/Makefile ($(objpfx)librtld.mk): Tighten up regexp.
Reported by Luca Barbieri <ldb@ldb.ods.org>.
2002-11-23 21:34:23 +00:00
Roland McGrath 27b85a94fb 2002-11-23 Roland McGrath <roland@redhat.com>
* elf/Makefile ($(objpfx)librtld.mk): Tighten up regexp.
	Reported by Luca Barbieri <ldb@ldb.ods.org>.
2002-11-23 21:34:16 +00:00
Andreas Schwab 8faa165fda __unused3, and __unused4 fields. 2002-11-22 16:16:26 +00:00
Roland McGrath 4a32f19d57 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds)
[__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
	and __unused3 fields.
	* sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds)
	[__WORDSIZE == 32]: Only PPC32 requires __unused1
	and __unused2 fields.
	* sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds)
	[__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
	__unused3,and __unused4 fields.
2002-11-22 05:23:51 +00:00
Roland McGrath a241310659 2002-11-20 Steven Munroe <sjmunroe@us.ibm.com>
* csu/gmon-start.c (__gmon_start__): Always use TEXT_START macro to
	obtain lowest address for profiling in __monstartup call.
	* sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove redunant
	$(calls) $(calls:=f) $(long-c-$(long-double-fcts)).

2002-11-21  Roland McGrath  <roland@frob.com>

	* sysdeps/mach/hurd/i386/init-first.c (posixland_init): Set
	__libc_multiple_libcs here.  Call __setfpucw.
2002-11-22 05:05:02 +00:00
Roland McGrath 54789f3816 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Set
__libc_multiple_libcs here.  Call __setfpucw.

	* locale/localeinfo.h (struct locale_data): Revert last change.
2002-11-22 04:23:05 +00:00
Roland McGrath 1c120cb8e7 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
From Ian Wienand <ianw@gelato.unsw.edu.au>.

	* sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_pread): Define to
	__NR_pread64 if not defined.
	(__NR_pwrite): Define to __NR_pwrite64 if not defined.
	From Ian Wienand <ianw@gelato.unsw.edu.au>.
2002-11-22 01:27:01 +00:00
Roland McGrath 294ec901bf 2002-11-21 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
	From Ian Wienand <ianw@gelato.unsw.edu.au>.
2002-11-22 01:26:53 +00:00
Ulrich Drepper 5982aa1049 Update.
* elf/Makefile (tests): Don't run test-arrayX tests for now.
2002-11-22 00:41:16 +00:00
Ulrich Drepper 755e51bee0 Update.
2002-11-21  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags.
	* sysdeps/unix/sysv/linux/i386/clone.S: Add support for
	CLONE_CHILD_*TID flags.
2002-11-22 00:09:11 +00:00
Ulrich Drepper 56c910668c Add support for CLONE_CHILD_*TID flags. 2002-11-22 00:01:03 +00:00
Andreas Jaeger 714a17c327 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
We pass struct ucontext on x86-64.
	(GET_PC): Adjust.
	(GET_FRAME): Adjust.
	(GET_STACK): Adjust.
2002-11-21 11:09:39 +00:00
Andreas Jaeger 94c90399ca * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
We pass struct ucontext on x86-64. 
(GET_PC): Adjust. 
(GET_FRAME): Adjust. 
(GET_STACK): Adjust.
2002-11-21 11:09:28 +00:00
Ulrich Drepper bdf382bba2 Improve error message. 2002-11-21 04:41:14 +00:00
Roland McGrath ab9ba655e1 * sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further
conditionalize [! DO_VERSIONING] #error.
2002-11-21 04:10:59 +00:00
Roland McGrath 5d0bbaaf3a * scripts/abilist.awk: Grok function descriptor symbols.
* intl/tst-gettext.c (main): Check return values from setlocale.
	Add necessary unsetenv's to make LANG=existing-locale check work.

	* intl/tst-gettext.sh: Use mkdir -p.  Copy test files unconditionally,
	so aborted prior runs don't confuse things.

	* locale/localeinfo.h (struct locale_data: union locale_data_value):
	Use uintptr_t instead of unsigned int for `word' member.
	(_NL_CURRENT_WORD): Cast to uint32_t.

	* posix/bug-regex5.c (main): Use union to extract _NL_COLLATE_NRULES
	value.
2002-11-21 03:41:31 +00:00
Roland McGrath 9a5b9056e0 2002-11-20 Roland McGrath <roland@redhat.com>
* intl/tst-gettext.sh: Use mkdir -p.  Copy test files unconditionally,
	so aborted prior runs don't confuse things.
2002-11-21 03:41:16 +00:00
Ulrich Drepper eec62f42bb Update.
* elf/tls-macros.h: Add IA-64 definitions.
	Patch by Ian Wienand <ianw@gelato.unsw.edu.au>.
2002-11-21 03:06:21 +00:00
Ulrich Drepper d84e7efa31 Update.
* iconv/Makefile (tests): Add tst-iconv4.
	* iconv/tst-iconv4.c: New file.
2002-11-21 00:23:18 +00:00
Ulrich Drepper eb9dc2a22d Update.
* iconv/gconv_simple.c (internal_ucs4le_loop_unaligned): Return
	__GCONV_EMPTY_INPUT only if input is really empty.  Otherwise
	__GCONV_INCOMPLETE_INPUT.
	(ucs4le_internal_loop): Likewise.
	(ucs4le_internal_loop_unaligned): Likewise.
	* iconvdata/unicode.c (PREPARE_LOOP): Likewise.
	* iconvdata/utf-16.c (PREPARE_LOOP): Likewise.
	* iconvdata/utf-32.c (PREPARE_LOOP): Likewise.

	* iconv/loop.c (LOOPFCT): First test for empty input then for full
	output buffer.
2002-11-20 23:42:04 +00:00
Ulrich Drepper 218d76e034 Update.
2002-11-20  Ulrich Drepper  <drepper@redhat.com>

	* inet/getnameinfo.c: Use extend_alloca where appropriate.
	* sysdeps/posix/getaddrinfo.c: Likewise.

	* include/alloca.h (extend_alloca): New define.  Based on stack
	direction it'll try to append to the previouls allocated buffer.

2002-11-07  Thorsten Kukuk  <kukuk@suse.de>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): If AF_UNSPEC is set,
	use the same service for AF_INET and AF_INET6.

2002-11-19  Ulrich Drepper  <drepper@redhat.com>

	* intl/localealias.c (read_alias_file): Use only about 400 bytes
	of stack space instead of 16k.
2002-11-20 19:48:07 +00:00
Ulrich Drepper 832737d5e2 (extend_alloca): New define. Based on stack direction it'll try to append to the previouls allocated buffer. 2002-11-20 19:42:37 +00:00
Roland McGrath 7f1b7f038d * malloc/arena.c
(ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do
	nothing if not initialized.  Bug report from Marcus Brinkmann
	<Marcus.Brinkmann@ruhr-uni-bochum.de>.
2002-11-20 09:41:01 +00:00
Roland McGrath 2a652f5aca 2002-11-18 Wolfram Gloger <wg@malloc.de>
* malloc/arena.c
	(ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do
	nothing if not initialized.  Bug report from Marcus Brinkmann
	<Marcus.Brinkmann@ruhr-uni-bochum.de>.
2002-11-20 09:40:55 +00:00
Ulrich Drepper 51b3c8f6b7 (read_alias_file): Use only about 400 bytes of stack space instead of 16k. 2002-11-20 04:19:45 +00:00
Ulrich Drepper 96bbfe3f09 Update.
2002-11-19  Ulrich Drepper  <drepper@redhat.com>

	* Versions (libc:GLIBC_2.0): Remove names of functions which are
	not defined in libc.
	* Makefile (shared-only-routines): Add weaks.
	* weaks.c: Remove functions which are not exported from libc.so.
2002-11-20 01:25:19 +00:00
Ulrich Drepper 83f4b55d16 Remove functions which are not exported from libc.so. 2002-11-20 01:22:19 +00:00
Roland McGrath f0ddeeb5c0 * posix/Versions (libc: GLIBC_2.3.2): Add sched_getaffinity and
sched_setaffinity.
2002-11-20 01:05:35 +00:00
Roland McGrath 8d4d283346 * configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use libraries
`-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for
	test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed.
	* configure: Regenerated.
2002-11-19 22:15:00 +00:00
Roland McGrath cd92532749 2002-11-19 Roland McGrath <roland@redhat.com>
* configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use libraries
	`-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for
	test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed.
	* configure: Regenerated.
2002-11-19 22:14:48 +00:00
Ulrich Drepper 3c857306f5 Update.
2002-11-19  Ulrich Drepper  <drepper@redhat.com>

	* include/dlfcn.h: __libc_dlopen is now a macro calling
	__libc_dlopen_mode with the extra parameter RTLD_LAZY.
	(__libc_dlopen_mode): New prototype.
	* elf/dl-libc.c (__libc_dlopen_mode): Renamed from __libc_dlopen.  Add
	new parameter.  Store new parameter in mode field of structure passed
	to do_dlopen.
	(struct do_dlopen_args): Add new field mode.
	(do_dlopen): Pass mode from parameter structure to _dl_open.

	* sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
	Define mcontext_t as a sigcontext.
	* manual/crypt.texi (Cryptographic Functions): Mention that
	the MD5 one-way algorithm is compatible with BSD's.
2002-11-19 19:30:55 +00:00
Ulrich Drepper 00a9b51d9a __libc_dlopen is now a macro calling __libc_dlopen_mode with the extra parameter RTLD_LAZY. (__libc_dlopen_mode): New prototype. 2002-11-19 19:27:17 +00:00