Commit Graph

7419 Commits

Author SHA1 Message Date
Ulrich Drepper 8e567f5cfa Update.
* locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias
2001-07-27 17:38:40 +00:00
Ulrich Drepper 9a018f6c44 Update.
2001-07-27  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_cache.c (__gconv_compare_alias_cache): New function.
	* iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache.
	* iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with
	__gconv_compare_alias prototype.
	* iconv/gconv_db.c (__gconv_lookup_alias): Removed.
	(__gconv_compare_alias): New function.
	* locale/findlocale.c (_nl_find_locale): Ise __gconv_compare_alias
	instead of calling __gconv_lookup_alias twice and compare here.
2001-07-27 17:34:53 +00:00
Ulrich Drepper 97b0f3d3a7 (__gconv_compare_alias_cache): New function. 2001-07-27 17:26:26 +00:00
Mark Kettenis ac61ed310d * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of SA_RESETHAND and SA_NODEFER.
2001-07-26  Mark Kettenis  <kettenis@gnu.org>

	* hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of
	SA_RESETHAND and SA_NODEFER.
2001-07-27 08:50:55 +00:00
Ulrich Drepper 129d706d77 Update.
* libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs=
	substring.  Don't handle ccs= if no descriptor was allocated.
	Normalize codeset name before calling __wcsmbs_named_conv.
	Initialize transliteration elements.  Free step data structure.
	* libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data.
	* libio/iofwide.c (__libio_translit): Renamed from libio_translit
	and made public.  Various little cleanup changes.
	* wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and
	tomb_nsteps member.
	* wcsmbs/wcsmbsload.c: Add some casts to avoid warnings.
	(__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member.
	(getfct): Take additional parameter with pointer to variable where the
	number of steps is stored in.  Disable code which allows to use more
	than one step for now.  Adjust all callers.
	(free_mem): New function.  Frees data associated with currently
	selected converters.
2001-07-27 08:29:06 +00:00
Ulrich Drepper 6a904bbfc6 Update.
2001-07-27  Ulrich Drepper  <drepper@redhat.com>

	* malloc/mtrace.pl: Extract addresses from DSOs.

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

	* malloc/mcheck.c (checkhdr): Disable mcheck before reporting an
	error.  Don't run any tests if mcheck is disabled.

	* elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc
	early in the program.

>>>>>>> 1.5525
2001-07-27 07:33:58 +00:00
Ulrich Drepper adef37445c (checkhdr): Disable mcheck before reporting an error. Don't run any tests if mcheck is disabled. 2001-07-27 05:01:11 +00:00
Andreas Jaeger 52d38e0e40 Update.
2001-07-27  Andreas Jaeger  <aj@suse.de>

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

	* sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
	rename change from 2001-07-12 for __jmp_buf.
	Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
2001-07-27 04:36:09 +00:00
Andreas Jaeger ddf541a286 (SC_GPRS): Fix value following change from 2001-05-30. 2001-07-27 04:35:37 +00:00
Ulrich Drepper 821563a985 (_dl_important_hwcaps): Avoid using malloc early in the program. 2001-07-27 03:48:11 +00:00
Roland McGrath e19ca4d272 * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
on __USE_MISC rather than __USE_BSD.
	(B57600, B115200, B230400, B460800, B500000, B576000, B921600,
	B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
	B3500000, B4000000): New macros.
	* sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
	* termios/cfsetspeed.c (speeds): Likewise.

	* csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a
2001-07-26 21:27:36 +00:00
Roland McGrath 15c64502ab 2001-07-26 Roland McGrath <roland@frob.com>
* sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
	on __USE_MISC rather than __USE_BSD.
	(B57600, B115200, B230400, B460800, B500000, B576000, B921600,
	B1000000, B1152000, B1500000, B2000000, B2500000, B3000000,
	B3500000, B4000000): New macros.
	* sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
	* termios/cfsetspeed.c (speeds): Likewise.
2001-07-26 21:23:31 +00:00
Andreas Jaeger 69d5f925ac Fix typos. 2001-07-26 14:41:27 +00:00
Ulrich Drepper 9fa278f9c2 Formatting.
* COPYING: Fix Y2k bug in sample copyright notices.
	* manual/lesser.texi: Renamed from manual/lgpl.texinfo,
	as fsf.org uses the name "lesser.texi".
2001-07-26 01:41:39 +00:00
Ulrich Drepper 045fcd2621 Update.
2001-07-26  kaz Kojima  <kkojima@rr.iij4u.or.jp>

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

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

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

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

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

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

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

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

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

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

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

	* sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
2001-07-25 21:42:24 +00:00
Ulrich Drepper 9fcddc2b42 Update.
(write_output): Don't overwrite old cache file until we know we
	have a new one.
	* iconv/Makefile (install-sbin): Add iconvconfig.
	* iconv/gconv_int.h: Add prototype for __gconv_release_cache.
2001-07-25 21:30:39 +00:00
Ulrich Drepper ba915a3807 Update.
* iconv/iconvconfig.c (main): Don't write an output file if we
	have seen an error.
2001-07-25 21:00:58 +00:00
Ulrich Drepper a2cb734f5d Update.
2001-07-25  Ulrich Drepper  <drepper@redhat.com>

	* iconv/Makefile (install-bin): Add iconvconfig.
2001-07-25 20:53:07 +00:00
Ulrich Drepper 48ab1c2ff5 Update.
2001-07-25  Jakub Jelinek  <jakub@redhat.com>

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

	* hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
	of pending signals.
2001-07-25 20:47:02 +00:00
Ulrich Drepper 39ab0fdf56 (routines): Add dl-iteratephdr and dl-iteratephdr-static. 2001-07-25 20:42:02 +00:00
Roland McGrath 4113baba44 2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca>
* hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
        of pending signals.
2001-07-25 08:37:28 +00:00
Andreas Jaeger 303d568fde Update.
2001-06-22  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
	gaps below main executable.
2001-07-25 06:37:13 +00:00
Andreas Jaeger 78d16d09d8 (__elf_preferred_address): Prefer gaps below main executable. 2001-07-25 06:36:52 +00:00
Ulrich Drepper f369623d6d Update.
2001-07-22  Bruno Haible  <haible@clisp.cons.org>

	* intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
	and msgid2 for printf format argument checking.
2001-07-24 22:16:09 +00:00
Ulrich Drepper 0db597422f Update.
* iconv/gconv_cache.c (find_module): Don't allocate room for the
	filename.  Use alloca, we don't need it beyond this function.
	(__gconv_release_cache): New function.
	* iconv/gconv_db.c (__gconv_close_transform): Call
	__gconv_release_cache after the steps are handled.
	* iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
	record as well.
	* iconv/gconv_int.h: Add prototype fpr __gconv_release_cache.
2001-07-24 21:30:18 +00:00
Ulrich Drepper 2a28c52993 Update.
2001-07-24  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
	boundary case and reject it.

	* manual/examples/longopt.c (main): Fix which options take arguments.
2001-07-24 18:51:59 +00:00
Ulrich Drepper ee6a43e5f0 (__gconv_lookup_cache): Catch one more boundary case and reject it. 2001-07-24 18:49:46 +00:00
Andreas Jaeger 73de87b622 Update.
2001-07-24  Andreas Jaeger  <aj@suse.de>

	* manual/examples/longopt.c (main): Fix which options take
	arguments.
2001-07-24 16:29:28 +00:00
Andreas Jaeger 941cee2737 (main): Fix which options take arguments. 2001-07-24 16:28:48 +00:00
Ulrich Drepper faf90ba91c Update.
2001-07-24  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile: Add dependencies for tst-loading test.

	* sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
	* sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
2001-07-24 08:10:29 +00:00
Ulrich Drepper 3c7375268b Update. 2001-07-24 07:56:20 +00:00
Ulrich Drepper d2a630c3c1 Undo last change. Remove debugging output. 2001-07-24 07:54:33 +00:00
Andreas Jaeger 0a45baaf4f Update.
2001-07-24  Andreas Jaeger  <aj@suse.de>

	* iconv/iconvconfig.c (name_insert): Make static to avoid warning.

	* iconv/gconv_cache.c: Include stdio.h for puts declaration.
2001-07-24 07:28:54 +00:00
Andreas Jaeger 53e6290617 * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
* iconv/gconv_cache.c: Include stdio.h for puts declaration.
2001-07-24 07:28:43 +00:00
Ulrich Drepper 06b5289f83 Update.
* locale/programs/locale.c (write_locales): Disable implicit
	locking for the stream.  Use feof_unlocked instead of feof.
2001-07-24 07:01:51 +00:00
Ulrich Drepper 63825a6125 Update.
* sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
	and floating-point status as well.
2001-07-24 06:50:41 +00:00
Ulrich Drepper 188356b8cc Initialize %fs, %gs, and floating-point status as well. 2001-07-24 06:48:43 +00:00
Roland McGrath 760b705623 2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca>
* hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
        of pending signals.
2001-07-24 04:59:07 +00:00
Ulrich Drepper beafb7521f Update.
* libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
	avoid deadlock.
	* libio/oldiofclose.c (_IO_old_fclose): Likewise.
	* libio/genops.c (_IO_un_link): Get stream lock since it's not
	always done in the caller.
	(_IO_link_in): Likewise.
2001-07-24 04:22:05 +00:00
Ulrich Drepper 3afd949152 Update.
* libio/genops.c (_IO_list_all_stamp): New variable.
	(_IO_un_link): Bump _IO_list_all_stamp after removing from list.
	(_IO_link): Likewise for insertion.
	(flush_cleanup): New function.
	(_IO_flush_all): Get list_all_lock and all individual locks for the
	streams.  Detect and handle changes to the _IO_list_all list.
	(_IO_flush_all_linebuffered): Likewise.
	* sysdeps/generic/bits/stdio-lock.h: Define
	_IO_cleanup_region_start_noarg.
	* sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
2001-07-24 01:33:57 +00:00
Ulrich Drepper d060ab1437 Update.
* stdio-common/printf.h: Fix typo in comment.
2001-07-23 23:45:03 +00:00
Ulrich Drepper b2e3d177ab Update.
2001-07-23  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
	and to INTERNAL.
	* iconv/iconvconfig.c: Create a special record for the INTERNAL
	encoding name in the output file.
2001-07-23 23:01:08 +00:00
Ulrich Drepper 4b9afc4372 Update.
2001-07-23  Jakub Jelinek  <jakub@redhat.com>

	* sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New.
	(svctcp_rendezvous_op): Use it.
	* sunrpc/svc_unix.c (svcunix_rendezvous_abort): New.
	(svcunix_rendezvous_op): Use it.

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

	* math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
	CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
	(math-CPPFLAGS): Set this instead of CPPFLAGS.
2001-07-23 18:14:55 +00:00
Ulrich Drepper 30566afbfc Update.
2001-07-23  Ulrich Drepper  <drepper@redhat.com>

	* elf/elf.h: Add more definitions from Sun's latest version.

2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
2001-07-23 17:14:27 +00:00
Ulrich Drepper 0f127f134d Add more definitions from Sun's latest version. 2001-07-23 17:11:21 +00:00
Andreas Jaeger bdce812bdb Update.
2001-07-23  Stephen L Moshier <moshier@mediaone.net>

	* sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
	sign for 0 input and set divide by zero exception for -1 input.
	Return argument if NaN or infinity.
2001-07-23 13:23:30 +00:00