Commit Graph

4577 Commits

Author SHA1 Message Date
Andreas Jaeger
fff82885d2 Update.
* sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
	words.
2000-05-24 16:16:53 +00:00
Andreas Jaeger
a074fa3c2b Update.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
	Define it for newer kernels.
2000-05-24 15:33:21 +00:00
Andreas Jaeger
ff31ba59a7 Update.
2000-05-24  Andreas Jaeger  <aj@suse.de>

	* intl/Makefile: Run gettext-test only if msgfmt is available.
2000-05-24 09:31:51 +00:00
Andreas Jaeger
c7fd70badb * intl/Makefile: Run gettext-test only if msgfmt is available. 2000-05-24 09:31:17 +00:00
Ulrich Drepper
5e76a3468a Update.
* elf/dl-sym.c: Minor cleanups.
2000-05-24 01:06:00 +00:00
Ulrich Drepper
2d499f55d7 Update.
* configure.in: Add test for .protected.
	* config.make.in: Add have-protected variable.
2000-05-23 19:23:25 +00:00
Ulrich Drepper
eec8ef5a73 Update.
2000-05-23  Ulrich Drepper  <drepper@redhat.com>

	* elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
	(tests-vis-yes): Add vismain.
	(modules-names): Add $(modules-vis-$(have-protected)).
	(modules-vis-yes): Add vismod1, vismod2, and vismod3.
	Add rules to generate and run vismain.
	* elf/vismain.c: New file.
	* elf/vismod1.c: New file.
	* elf/vismod2.c: New file.
	* elf/vismod3.c: New file.
2000-05-23 18:12:52 +00:00
Ulrich Drepper
c1025c1980 (tests): Add $(tests-vis-$(have-protected)). (tests-vis-yes): Add vismain. (modules-names): Add $(modules-vis-$(have-protected)). (modules-vis-yes): Add vismod1, vismod2, and vismod3. Add rules to generate and run vismain. 2000-05-23 18:10:54 +00:00
Andreas Jaeger
2d2d8237e0 Remove K&R support. 2000-05-23 09:07:17 +00:00
Andreas Jaeger
bcaad6ee58 Update.
* csu/munch-tmpl.c (__libc_init): Remove K&R support.
	* dirent/scandir64.c: Likewise.
	* pwd/getpw.c: Likewise.
	* stdlib/bsearch.c (bsearch): Likewise.
	* stdlib/tst-strtoll.c: Likewise.
	* localedata/collate-test.c: Likewise.
	* localedata/xfrm-test.c: Likewise.
	* posix/bsd-getpgrp.c: Likewise.
	* sysdeps/alpha/fpu/bits/fenv.h: Likewise.
	* sysdeps/generic/bits/siginfo.h: Likewise.
	* sysdeps/generic/bits/sockaddr.h: Likewise.
	* sysdeps/generic/sys/swap.h: Likewise.
	* sysdeps/generic/sys/sysinfo.h: Likewise.
	* sysdeps/generic/vfork.c: Likewise.
	* sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
	* sysdeps/mach/hurd/fdopen.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
	* sysdeps/unix/sysv/linux/poll.c: Likewise.
	* sysdeps/unix/sysv/linux/readv.c: Likewise.
	* sysdeps/unix/sysv/linux/writev.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.

	* misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
	* shadow/lckpwdf.c: Likewise.
	* stdlib/tst-strtol.c: Likewise.
	* sysdeps/generic/tcsetattr.c: Likewise.
	* sysdeps/unix/sysv/linux/ttyname.c: Likewise.
	* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2000-05-23 08:43:26 +00:00
Andreas Jaeger
a396d36622 Remove duplicate. 2000-05-23 06:56:29 +00:00
Andreas Jaeger
21ad6b26f4 Update.
2000-05-23  Andreas Jaeger  <aj@suse.de>

	* stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.

	* manual/search.texi (Array Sort Function): Document that qsort is
	not necessarily in-place.

	* sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
	Closes PR libc/1731.

	* stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
2000-05-23 06:37:29 +00:00
Andreas Jaeger
e513a8fd6e 2000-05-18 Andreas Jaeger <aj@suse.de>
* sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
	Closes PR libc/1731.
2000-05-23 06:31:35 +00:00
Ulrich Drepper
6a7c9bb49a Update.
2000-05-22  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
	free it and set to (void *) -1.
2000-05-22 16:45:42 +00:00
Ulrich Drepper
3f651a4de3 Update.
2000-05-22  Jakub Jelinek <jakub@redhat.com>

	* stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
	not the second character in the range.
	* stdio-common/tstscanf.c (main): Add testcase for the above.
	Reported by jik@kamens.brookline.ma.us.
2000-05-22 16:41:59 +00:00
Ulrich Drepper
6aa29abe9f Update.
2000-05-21  H.J. Lu  <hjl@gnu.org>

	* elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
	with noexec and noplt parameter.
	(do_lookup): Likewise.

	* elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
	do_lookup.  Support STV_PROTECTED.
	(_dl_lookup_symbol_skip): Likewise.
	(_dl_lookup_versioned_symbol): Likewise.
	(_dl_lookup_versioned_symbol_skip): Likewise.

	* elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.

	* elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
2000-05-22 16:33:19 +00:00
Ulrich Drepper
07d3c1bfc2 (do_lookup_versioned): Replace reloc_type parameter with noexec and noplt parameter. (do_lookup): Likewise. 2000-05-22 16:31:58 +00:00
Andreas Jaeger
85153f6c4c Update.
2000-05-21  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
	* sysdeps/i386/bits/huge_val.h: Likewise.
	* sysdeps/ieee754/bits/huge_val.h: Likewise.
	* sysdeps/m68k/bits/huge_val.h: Likewise.
	* sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
	* sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
2000-05-22 09:25:32 +00:00
Andreas Jaeger
5748f418f0 2000-05-22 Andreas Jaeger <aj@suse.de>
* iconv/tst-iconv1.c (main): Remove const from inbuf to follow
	change in iconv.h.
2000-05-22  Andreas Jaeger  <aj@suse.de>

	* iconv/tst-iconv1.c (main): Remove const from inbuf to follow
	change in iconv.h.
2000-05-22 09:01:33 +00:00
Ulrich Drepper
4a624ae307 Update.
2000-05-19  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/i386/i686/sysdep.h
	(SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
	breaks compilation without linuxthreads.
2000-05-22 01:03:59 +00:00
Ulrich Drepper
5bfc425236 Update.
* sysdeps/ia64/memccpy.S: New file.
	* sysdeps/ia64/memchr.S: New file.
	* sysdeps/ia64/memcmp.S: New file.
	* sysdeps/ia64/memcpy.S: New file.
	* sysdeps/ia64/memmove.S: New file.
	* sysdeps/ia64/memset.S: New file.
	* sysdeps/ia64/strcat.S: New file.
	* sysdeps/ia64/strchr.S: New file.
	* sysdeps/ia64/strcmp.S: New file.
	* sysdeps/ia64/strcpy.S: New file.
	* sysdeps/ia64/strlen.S: New file.
	* sysdeps/ia64/strncmp.S: New file.
	* sysdeps/ia64/strncpy.S: New file.
	* sysdeps/ia64/softpipe.h: New file.
	Patches by Dan Pop <Dan.Pop@cern.ch>.

	* manual/memory.texi: Document memory handling functions (mlock,
	munlock, mlockall, munlockall, brk, and sbrk)
2000-05-21 22:04:15 +00:00
Ulrich Drepper
99a206167b Update.
2000-05-21  Ulrich Drepper  <drepper@redhat.com>

	* manual/memory.texi: Document memory handling functions.
	* manual/time.texi: Document timespec and friends.
	* manual/conf.texi: Fix references.
	* manual/ctype.texi: Likewise.
	* manual/errno.texi: Likewise.
	* manual/intro.texi: Likewise.
	* manual/locale.texi: Likewise.
	* manual/sysinfo.texi: Likewise.
	Patches by Bryan Henderson <bryanh@giraffe-data.com>.
2000-05-21 21:22:28 +00:00
Ulrich Drepper
371071d573 Update.
2000-05-09  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
	* sysdeps/ia64/dl-lookupcfg.h: ...here.
2000-05-21 21:15:00 +00:00
Ulrich Drepper
f87e0815f5 Update.
2000-05-21  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
	dxfer_direction.
2000-05-21 21:01:01 +00:00
Ulrich Drepper
3446e2c39b Update.
* locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
	new standard elements.
	* locale/categories.def: Adjust accordingly.
2000-05-21 20:32:42 +00:00
Ulrich Drepper
70a1a46550 Update.
* manual/charset.texi (Generic Conversion Interface): Remove from
	inbuf parameter of iconv.
2000-05-21 20:22:59 +00:00
Ulrich Drepper
3b43494000 Update.
* locale/locale.h (struct lconv): Add new elements from ISO C99.
	* locale/localeconv.c: Initialize new elements from ISO C99.

	* iconv/iconv_prog.c (process_block): Remove const from second
	parameter.
	(main): Remove const from addr definition.
2000-05-21 20:19:54 +00:00
Ulrich Drepper
0efb48a1df Update.
2000-05-21  Ulrich Drepper  <drepper@redhat.com>

	* iconv/iconv.h (iconv): Remove const from inbuf parameter.
	* iconv/iconv.c: Likewise.
	* conform/data/iconv.h-data: Likewise.

	* intl/dcigettext.c: Fix typo in comment.

	    David Huggins-Daines <dhd@linuxcare.com>
2000-05-21 20:13:15 +00:00
Ulrich Drepper
e59712484d Fix typo in comment. 2000-05-21 20:05:08 +00:00
Andreas Jaeger
5d1fba6d95 Update.
2000-05-20 2000  H.J. Lu  <hjl@gnu.org>

	* resolv/res_libc.c (_res): Initialize _sock to -1.

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

	* libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
	(fopencookie@@GLIBC_2.2): New.
	(_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
	(fopencookie@GLIBC_2.0): New.
	* libio/Versions: Add fopencookie to GLIBC_2.2.

	* sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
	Closes PR libc/1731.
2000-05-21 15:40:55 +00:00
Andreas Jaeger
600a745790 Update.
2000-05-18  Andreas Jaeger  <aj@suse.de>

	* manual/arith.texi (Parsing of Integers): Fix typo.
	Closes PR libc/1744, reported by blp@gnu.org.
2000-05-18 17:09:13 +00:00
Andreas Jaeger
1261b97d10 Update.
* sysdeps/generic/memmem.c (memmem): Check arguments to avoid
	possibly searching through the whole memory.
	Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
2000-05-18 05:35:38 +00:00
Andreas Jaeger
cc3f0ddb75 Update.
2000-05-17  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
	__extension__ to hexadecimal floating constant notation.
	* sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
	Likewise.
	* sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
	* sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
	Likewise.
	* sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
	HUGE_VALL): Likewise.
	* sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
	HUGE_VALL): Likewise.
	(HUGE_VALL): Set to HUGE_VAL on sparc32.
2000-05-17 17:19:18 +00:00
Andreas Jaeger
e656498ea9 Update.
2000-05-17  Andreas Jaeger  <aj@suse.de>

	* string/envz.h: Add pure attributes if possible.

	* string/argz.h: argz_count is a pure function.

	* string/strings.h: Add pure and const attributes if possible.
2000-05-17 12:19:16 +00:00
Andreas Jaeger
e25054c49c Update.
2000-05-17  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
	not yet defined.
	(_dl_cache_check_flags): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
	dl-cache.h.

2000-05-17  Andreas Jaeger  <aj@suse.de>

	* manual/creature.texi (Feature Test Macros): Remove paragraph
	since the description is wrong.
	Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.

2000-05-17  Andreas Jaeger  <aj@suse.de>

	* time/test_time.args: Removed.
	* time/Makefile (test_time-ARGS): Added contents here instead.

	* posix/tstgetopt.args: Removed.
	* posix/Makefile (tstgetopt-ARGS): Added contents here instead.

	* Rules: Allow arguments for test files to be specified in
	Makefile with testname-ARGS; remove rules with .args in it.

	* dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
	remove old bogus rule for opendir-tst1.args.

	* stdlib/test-canon.c: Rewrite to use test-skeleton.c.

	* stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
	into objdir.  This allows a readonly sourcetree.
	Reported by lrgallardo@yahoo.com, closes PR libc/1421.

2000-05-16  Andreas Jaeger  <aj@suse.de>,
            David Huggins-Daines <dhd@linuxcare.com>

	* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
	cache_data in case of only new cache format correctly.

	* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
	cache_file_new.

	* sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
	struct cache_file_new.

	* elf/cache.c (save_cache): Fix str_offset if only new cache is
	present.

	* elf/cache.c (save_cache): Align struct new_file_cache.
	(print_cache): Likewise.
2000-05-17 11:04:21 +00:00
Andreas Jaeger
7626e16ceb Update.
2000-05-17  Andreas Jaeger  <aj@suse.de>

	* scripts/config.sub: New version.
	* scripts/config.guess: Likewise.
	* manual/texinfo.tex: Likewise.
2000-05-17 06:48:50 +00:00
Andreas Jaeger
35f9eb5dae 2000-05-15 Andreas Jaeger <aj@suse.de>
* tst-fmon.data: Change testcase following fixes for
	de_DE.

	* locales/de_DE: Remove space after DEM since DEM is
	now placed after the value.
	* tst-fmon.data: Change testcase following fixes for
	de_DE.

	* locales/de_DE: Remove space after DEM since DEM is
	now placed after the value.
2000-05-15 11:49:07 +00:00
Andreas Jaeger
464a88ce05 2000-05-15 Andreas Jaeger <aj@suse.de>
* locales/de_DE: Fix currency placement to use "12.345,68 DM".
	Reported by Christopher Creutzig <ccr@nescio.foebud.org>, closes
	PR libc/1713.
2000-05-15  Andreas Jaeger  <aj@suse.de>

	* locales/de_DE: Fix currency placement to use "12.345,68 DM".
	Reported by Christopher Creutzig <ccr@nescio.foebud.org>, closes
	PR libc/1713.
2000-05-15 11:30:54 +00:00
Andreas Jaeger
d7dcf1267a Update.
2000-05-13  Jakub Jelinek  <jakub@redhat.com>

	* elf/soinit.c (__libc_global_ctors): Move
	__pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
	* resolv/resolv.h (__res_state): Added __attribute__((const)).
	(_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
	variable, don't define it to __res_state call.
2000-05-15 07:15:24 +00:00
Andreas Jaeger
f14273c5a2 2000-05-13 Jakub Jelinek <jakub@redhat.com>
* elf/soinit.c (__libc_global_ctors): Move
	__pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
	* resolv/resolv.h (__res_state): Added __attribute__((const)).
	(_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
	variable, don't define it to __res_state call.

2000-05-13  Jakub Jelinek  <jakub@redhat.com>

	* internals.h (__RES_PTHREAD_INTERNAL): Define.
2000-05-13  Jakub Jelinek  <jakub@redhat.com>

	* internals.h (__RES_PTHREAD_INTERNAL): Define.
2000-05-15 07:15:04 +00:00
Andreas Jaeger
99356b9b90 Update.
2000-05-13  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
	Linux 2.3.99pre7.
	(AF_PPPOX): Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
	(AF_PPPOX): Likewise.

	* elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
	argument.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
	R_SPARC_UA64.
	* sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
2000-05-13 18:18:33 +00:00
Andreas Jaeger
88d9b1b24b Update.
2000-05-12  Andreas Jaeger  <aj@suse.de>

	* inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
	Reported by tmoestl@gmx.net, closes PR libc/1732.
2000-05-12 13:41:15 +00:00
Andreas Jaeger
ca5a4c3c9f Update.
2000-05-11  Jan Hubicka  <jh@suse.cz>

	* misc/sys/cdefs.h: Add support for pure attribute.

	* include/string.h: Add __attribute_pure__ to various functions.
	* string/string.h: Likewise.
2000-05-12 07:01:25 +00:00
Andreas Jaeger
b227a3a6ad Update.
* elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
 	argument.
 	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
 	R_SPARC_UA64.
 	* sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.

2000-05-10  Jakub Jelinek  <jakub@redhat.com>
2000-05-10 15:58:36 +00:00
Andreas Jaeger
5d693ae3e5 Update.
at proper place.  Compute the high nibble correctly.
2000-05-10 10:20:09 +00:00
Andreas Jaeger
676d12fd82 Update.
2000-05-10  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
	at proper place.
2000-05-10 10:16:57 +00:00
Andreas Jaeger
9c95d361a2 Update.
* elf/ldconfig.c: Include elf.h.
2000-05-10 09:32:42 +00:00
Andreas Jaeger
a8571d373c Update.
2000-05-09  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
	(_dl_vsym): Likewise.
	Reported by Owen Taylor <otaylor@redhat.com>.

	* elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
	always.
2000-05-10 09:06:56 +00:00
Andreas Jaeger
fbd61fc16f Update.
2000-05-08  Andreas Jaeger  <aj@suse.de>

	* include/libintl.h: Add prototype for __bind_textdomain_codeset.

	* intl/bindtextdom.c (set_binding_values): Add prototype.
2000-05-08 15:57:36 +00:00
Andreas Jaeger
470175f1b9 Update.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
	call to elf_machine_fixup_plt.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.

2000-05-08  Jakub Jelinek  <jakub@redhat.com>
2000-05-08 15:42:53 +00:00