Commit Graph

8031 Commits

Author SHA1 Message Date
Ulrich Drepper 1b4575aefa Update.
* sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): Add cast
	to avoid warning
	(DL_STATIC_FUNCTION_ADDRESS): Likewise.
2002-01-30 00:38:09 +00:00
Ulrich Drepper be4b5a9555 Update.
* elf/dl-lookup.c: Only define or handle _dl_num_relocations for the
	SHARED version.
	* elf/dl-reloc.c: Likewise for _dl_num_cache_relocations.
2002-01-29 23:20:28 +00:00
Ulrich Drepper e66d0a4c94 Update.
2002-01-29  Ulrich Drepper  <drepper@redhat.com>

	* elf/rtld.c (_dl_start): Use __builtin_memset if available.
2002-01-29 20:56:09 +00:00
Ulrich Drepper 9d7810d8c5 Update.
2002-01-29  Ben Collins  <bcollins@debian.org>

	* string/bits/string2.h (__mempcpy): Protect size arg for
	addition when using __builtin_memcpy.
2002-01-29 19:07:57 +00:00
Ulrich Drepper 207b66ceeb Update.
* stdlib/Makefile (tests): Add tst-qsort.
	* stdlib/tst-qsort.c: New file.  Written by Paul Eggert.
2002-01-29 09:21:41 +00:00
Ulrich Drepper afdef81554 Update.
* manual/signal.texi (Process Signal Mask): Document that
	pthread_sigmask, not sigprocmask, must be used in MT programs.
	Patch by Bertold Kolics <Bertold.Kolics@Sun.COM>.
2002-01-29 08:58:51 +00:00
Ulrich Drepper 92f120d446 Update.
2002-01-29  Ulrich Drepper  <drepper@redhat.com>

	* misc/hsearch_r.c (hsearch_r): Don't insert anything if entry is
	found.
	* misc/Makefile (tests): Add tst-hsearch.
	* misc/tst-hsearch.c: New file.
2002-01-29 08:25:15 +00:00
Ulrich Drepper fa8d436c87 Update.
2002-01-18  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.c: Rewrite, adapted from Doug Lea's malloc-2.7.0.c.
	* malloc/malloc.h: Likewise.
	* malloc/arena.c: New file.
	* malloc/hooks.c: New file.
	* malloc/tst-mallocstate.c: New file.
	* malloc/Makefile: Add new testcase tst-mallocstate.
	Add arena.c and hooks.c to distribute.  Fix commented CPPFLAGS.

2002-01-28  Ulrich Drepper  <drepper@redhat.com>

	* stdlib/msort.c: Remove last patch.  The optimization violates the
	same rule which qsort.c had problems with.

2002-01-27  Paul Eggert  <eggert@twinsun.com>

	* stdlib/qsort.c (_quicksort): Do not apply the comparison function
	to a pivot element that lies outside the array to be sorted, as
	ISO C99 requires that the comparison function be called only with
	addresses of array elements [PR libc/2880].
2002-01-29 07:54:51 +00:00
Ulrich Drepper db2ebcef24 Update.
* elf/dl-load.c (_dl_map_object): Remove incorrect optimization
	for SHARED code.  Reported by Ben Collins <bcollins@debian.org>.
2002-01-29 04:37:30 +00:00
Ulrich Drepper b45b94573a Update.
2002-01-28  Ulrich Drepper  <drepper@redhat.com>

	* timezone/asia: Update from tzdata2002b.
	* timezone/australasia: Likewise.
	* timezone/backward: Likewise.
	* timezone/europe: Likewise.
	* timezone/leapseconds: Likewise.
	* timezone/iso3166.tab: Likewise.
	* timezone/zone.tab: Likewise.
2002-01-29 04:25:28 +00:00
Ulrich Drepper 0295d2666c Update.
2002-01-23  Richard Henderson  <rth@redhat.com>

	* sysdeps/alpha/Makefile (pic-ccflag): New variable.

2002-01-28  Ulrich Drepper  <drepper@redhat.com>

	* string/strxfrm.c: Allocate one more byte for rulearr and clear
	this element [PR libc/2855].

	* string/strcoll.c: Handle zero-length arguments specially
	[PR libc/2856].

2002-01-23  Jakub Jelinek  <jakub@redhat.com>

	* string/bits/string2.h (__mempcpy): For gcc 3.0+, don't use
	__mempcpy_small but instead use __builtin_memcpy ( , , n) + n for
	short lengths and constant src.
	(strcpy): Don't optimize for gcc 3.0+.
	(__stpcpy): For gcc 3.0+, don't use
	__stpcpy_small but instead use __builtin_strcpy (, src) + strlen (src)
	for short string literal src.

2002-01-23  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>

	* sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
	Set for arm, too.

2001-01-22  Paul Eggert  <eggert@twinsun.com>

	* manual/llio.texi (Linked Channels, Cleaning Streams):
	Make it clearer that a just-opened input stream might need cleaning.

2002-01-21  H.J. Lu  <hjl@gnu.org>

	* sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
	Don't use label at end of compound statement.
2002-01-29 03:56:50 +00:00
Ulrich Drepper 2e8fb40225 (ELF_MACHINE_BEFORE_RTLD_RELOC): Don't use label at end of compound statement. 2002-01-29 02:58:00 +00:00
Andreas Jaeger dde762a2b6 (__pthread_spin_init): Clear *LOCK to 0.
2002-01-28  Andreas Jaeger  <aj@suse.de>

	* sysdeps/mips/pspinlock.c (__pthread_spin_init): Clear *LOCK to
	0. Patch by Machida Hiroyuki <machida@sm.sony.co.jp>.

	* sysdeps/s390/s390-32/pt-machine.h (MEMORY_BARRIER): Define.
	(CURRENT_STACK_FRAME): Remove duplicate definition.
	* sysdeps/s390/s390-64/pt-machine.h: Likewise.
2002-01-28 10:49:11 +00:00
Andreas Jaeger 2b94dab63c Update.
2002-01-28  Stephen L Moshier  <moshier@mediaone.net>

	* sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
	Remove test for negative integer arg; sin_pi does it correctly.
2002-01-28 10:18:52 +00:00
Andreas Jaeger 98dee2c20d (__ieee754_lgammal_r): Remove test for negative integer arg; sin_pi does it correctly. 2002-01-28 10:18:33 +00:00
Ulrich Drepper fbee8a1eb1 Update.
2002-01-20  Ulrich Drepper  <drepper@redhat.com>

	* nscd/Makefile (distribute): Filter out xmalloc.c.

	* manual/syslog.texi (openlog): Describe possible problems with
2002-01-21 07:15:25 +00:00
Ulrich Drepper 284749da8b Update.
2002-01-19  Ulrich Drepper  <drepper@redhat.com>

	* libio/fileops.c (_IO_file_underflow_mmap): Don't define as static.
	Set offset if read end wasn't the buffer end.
	(_IO_file_seekoff_mmap): New function.
	(_IO_file_xsgetn_mmap): New function.
	(_IO_file_jumps_mmap): Use the two new functions.
	* libio/wfileops.c (_IO_wfile_underflow_mmap): Handle end read buffer
	!= end buffer.
	* libio/libioP.h: Declare _IO_file_seekoff_mmap and
	_IO_file_underflow_mmap.
	* libio/iofopen.c: Don't position file descriptor at end of file.
	* libio/tst-widetext.c: Improve error messages.
	* stdio-common/tst-rndseek.c: Likewise.
2002-01-19 17:51:34 +00:00
Ulrich Drepper 53e9699b6d Update.
* sysdeps/unix/sysv/linux/bits/statvfs.h: Avoid warning about comma at
	end of enum for !_GNU_SOURCE.
	* sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Likewise.
	* sysdeps/mach/hurd/bits/statvfs.h: Don't define non-standard ST_*
	values unless _GNU_SOURCE.
2002-01-18 23:39:39 +00:00
Ulrich Drepper d7a746fc62 Update.
2002-01-18  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/tcvn5712-1.c: Minor cleanups.
2002-01-18 18:13:36 +00:00
Ulrich Drepper c3ea7bee6d Update.
* nscd/Makefile (nscd-modules): Add xmalloc for nscd.
2002-01-18 16:19:25 +00:00
Ulrich Drepper 8802f4bf80 (nscd-modules): Add xmalloc for nscd. 2002-01-18 16:11:39 +00:00
Andreas Schwab a5a8c34e3e * sysdeps/unix/sysv/linux/configure.in
(libc_cv_gcc_unwind_find_fde): Set for m68k, too.
2002-01-18 13:03:37 +00:00
Andreas Schwab 39b690cb86 (libc_cv_gcc_unwind_find_fde): Set for m68k, too. 2002-01-18 13:03:16 +00:00
Ulrich Drepper b750d5e7a1 Update.
2002-01-16  Roger Sayle  <roger@eyesopen.com>

	* stdlib/msort.c (msort_with_tmp): Replace implementation with
	more efficient "Towers of Hanoi" mergesort.
	(hanoi_sort, hanoi_sort_int, hanoi_sort_long): New functions,
	for generic, sizeof(int) and sizeof(long) variants respectively.

	* manial/syslog.texi (openlog): Describe possible problems with
	first parameter.
	Patch by Christopher Allen Wing <wingc@engin.umich.edu>.
2002-01-18 06:26:02 +00:00
Ulrich Drepper e093e5b90b Update.
Patch by Christopher Allen Wing <wingc@engin.umich.edu>.
2002-01-18 02:17:00 +00:00
Ulrich Drepper 057685e461 Update.
2002-01-17  Ulrich Drepper  <drepper@redhat.com>

	* nscd/nscd.c (drop_privileges): Removed.  Adjust caller.
	* nscd/connections.c (begin_drop_privileges): New function.
	(finish_drop_privileges): New function.
	(nscd_init): Call the new functions which also install all groups
	for the server user.

2002-01-17  H.J. Lu  <hjl@gnu.org>

	* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Remove
	`const' from `got'.
2002-01-18 02:10:41 +00:00
Ulrich Drepper 52831fb870 Update.
2002-01-17  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Use 64 bit
	instructions for pointer operations.
	* sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2002-01-17 23:07:30 +00:00
Ulrich Drepper cec75f9946 Use 64 bit instructions for pointer operations. 2002-01-17 22:56:53 +00:00
Andreas Jaeger d425aefc71 Update.
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: GCC 3.1 has
	__uint128_t build-in.
2002-01-17 17:35:57 +00:00
Andreas Jaeger 38aaf87677 Update.
2002-01-17  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and
	PowerPC, sync with 2.2 branch.
2002-01-17 17:22:57 +00:00
Andreas Jaeger dffd10032d * sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and
PowerPC, sync with 2.2 branch.
2002-01-17 17:22:51 +00:00
Ulrich Drepper 0308a4751c Update.
* posix/getconf.c: Update copyright year.
	* nss/getent.c: Likewise.
	* nscd/nscd_nischeck.c: Likewise.
	* iconv/iconvconfig.c: Likewise.
	* iconv/iconv_prog.c: Likewise.
	* elf/ldconfig.c: Likewise.
	* catgets/gencat.c: Likewise.
	* csu/version.c: Likewise.
	* elf/ldd.bash.in: Likewise.
	* elf/sprof.c (print_version): Likewise.
	* locale/programs/locale.c: Likewise.
	* locale/programs/localedef.c: Likewise.
	* nscd/nscd.c (print_version): Likewise.
	* debug/xtrace.sh: Likewise.
	* malloc/memusage.sh: Likewise.
	* malloc/mtrace.pl: Likewise.

2002-01-16  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: Fix regexp to
	reliably remove "-ia64" from rtld name.

2002-01-16  Ulrich Drepper  <drepper@redhat.com>
2002-01-17 07:38:47 +00:00
Ulrich Drepper 067c6a6d8c Update.
2002-01-16  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/gb18030.c: Bug fixes and support for more characters.
	Patch by Yu Shao <yshao@redhat.com>.

2002-01-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/swapcontext.c: Remove.
	* sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: New file.
	* sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: New file.

2002-01-14  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/fpu/libm-test-ulps: Update.
2002-01-17 06:35:42 +00:00
Ulrich Drepper 956f8acd6c Update.
2002-01-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>

     * sysdeps/s390/s390-32/pt-machine.h (MEMORY_BARRIER): Define.
     (CURRENT_STACK_FRAME): Remove duplicate definition.
     * sysdeps/s390/s390-64/pt-machine.h: Likewise.
2002-01-17 00:50:24 +00:00
Ulrich Drepper ec562b3d7a Update.
* Makefile (CFLAGS-tst-cancel.c): Add -fno-inline-functions to prevent
	automatic inline.
2002-01-17 00:36:30 +00:00
Ulrich Drepper 01d1a5b620 Update.
2002-01-14  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* linuxthreads/Makefile (CFLAGS-tst-cancel.c): Add
	-fno-inline-functions to prevent automatic inline.
2002-01-17 00:32:33 +00:00
Ulrich Drepper de13e6e79b Update.
2002-01-12  Andreas Schwab  <schwab@suse.de>

	* Makefile (test-srcs): Add tst-signal.
	(tests): Run tst-signal.
	(distribute): Add tst-signal.sh.
	* tst-signal.c, tst-signal.sh: New files.
2002-01-16 17:44:51 +00:00
Ulrich Drepper b26e29d8c8 Test for handling initial signal handler setting correctly. 2002-01-16 00:28:45 +00:00
Andreas Jaeger 037af25e67 * sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.
2002-01-14  Andreas Jaeger  <aj@suse.de>

	* sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.
2002-01-14 15:43:08 +00:00
Ulrich Drepper db298de5c5 (sighandler): Initialize all elements to SIG_ERR. (__sigaction): Don't use value from sighandler if it is SIG_ERR. 2002-01-12 01:36:35 +00:00
Ulrich Drepper 6c69f24aa8 Update.
2002-01-11  Ulrich Drepper  <drepper@redhat.com>

	* elf/elf.h: Update x86 relocations.
2002-01-12 01:35:51 +00:00
Ulrich Drepper e57372d1e2 Update.
2002-01-10  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/charmap.c (new_width): Check whether byte
	sequences for both ends of range have the same length.
2002-01-11 06:47:31 +00:00
Ulrich Drepper d77a71c5fe Update.
2002-01-09  Jakub Jelinek  <jakub@redhat.com>

	* elf/elf.h (SHN_UNDEF): Remove duplicate definition.

2002-01-09  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/alpha/fpu/e_sqrt.c (__ieee754_sqrt): Don't use multi-line
	string literals.
	(__full_ieee754_sqrt): Add __attribute_used__.

2002-01-10  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/group_member.c (__group_member): Also check
	groups[0] [PR libc/2781].
2002-01-11 01:06:11 +00:00
Ulrich Drepper ab92bebd3e Update.
2002-01-08  Ulrich Drepper  <drepper@redhat.com>

	* Makefile (distribute): Add scripts/cpp.
	* elf/Makefile (distribute): Add reldep6mod[01234].c,
	unwind-dw2.c, unwind-dw2-fde.c, unwind.h, unwind-pe.h,
	unwind-dw2-fde.h, and dwarf2.h.
	* sysdeps/unix/bsd/bsd4.4/Dist: New file.
	* sysdeps/unix/sysv/aix/Dist: Add sysv_termio.h and start-libc.c.
	* sysdeps/unix/sysv/linux/ia64/Dist: Add ldd-rewrite.sed.
	* sysdeps/unix/sysv/linux/s390/Dist: Likewise.
2002-01-08 22:00:09 +00:00
Ulrich Drepper ee38cc5996 Add ldd-rewrite.sed. 2002-01-08 21:54:06 +00:00
Roland McGrath 49fb04c22a * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use
volatile on type of ARGC so the compiler doesn't get clever.
2002-01-08 19:58:03 +00:00
Roland McGrath ffed31f031 2002-01-07 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use
	volatile on type of ARGC so the compiler doesn't get clever.
2002-01-08 19:57:57 +00:00
Andreas Jaeger 8e5047861d Update.
2002-01-07  Andreas Jaeger  <aj@suse.de>

	* sysdeps/generic/bits/byteswap.h: Prevent double inclusion.
	* sysdeps/i386/bits/byteswap.h: Likewise.
	* sysdeps/ia64/bits/byteswap.h: Likewise.
	* sysdeps/m68k/bits/byteswap.h: Likewise.
	* sysdeps/s390/s390-32/bits/byteswap.h: Likewise.
	* sysdeps/s390/s390-64/bits/byteswap.h: Likewise.
2002-01-08 10:19:44 +00:00
Andreas Jaeger 5c26fecb6f Prevent double inclusion. 2002-01-08 10:19:35 +00:00
Ulrich Drepper 8e57fc7083 Update.
2002-01-02  Bruno Haible  <bruno@clisp.org>

	* intl/plural.y: Fix %expect count.
2002-01-08 06:38:01 +00:00