Commit Graph

15224 Commits

Author SHA1 Message Date
Richard Henderson aea1d19e2f * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches.
* sysdeps/alpha/fpu/s_ceilf.c: Likewise. 
* sysdeps/alpha/fpu/s_floor.c: Likewise. 
* sysdeps/alpha/fpu/s_floorf.c: Likewise. 
* sysdeps/alpha/fpu/s_rint.c: Likewise. 
* sysdeps/alpha/fpu/s_rintf.c: Likewise.
	* sysdeps/alpha/fpu/s_fmax.S: New file.
	* sysdeps/alpha/fpu/s_fmaxf.S: New file.
	* sysdeps/alpha/fpu/s_fmin.S: New file.
	* sysdeps/alpha/fpu/s_fminf.S: New file.
	* sysdeps/alpha/fpu/s_isnan.c: New file.
	* sysdeps/alpha/fpu/s_isnanf.c: New file.
	* sysdeps/alpha/fpu/s_llrint.c: New file.
	* sysdeps/alpha/fpu/s_llrintf.c: New file.
	* sysdeps/alpha/fpu/s_lrint.c: New file.
	* sysdeps/alpha/fpu/s_lrintf.c: New file.
	* sysdeps/alpha/fpu/s_nearbyint.c: New file.
	* sysdeps/alpha/fpu/s_nearbyintf.c: New file.

	* sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove.
	(__fdimf, fdimf, __fdim, fdim): Remove.
	(__signbitf, __signbit, __signbitl): Use gcc builtin if available.
	(__isnanf, __isnan, __isnanl): New.
2007-03-14  Richard Henderson  <rth@redhat.com>

	* sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches.
	* sysdeps/alpha/fpu/s_ceilf.c: Likewise.
	* sysdeps/alpha/fpu/s_floor.c: Likewise.
	* sysdeps/alpha/fpu/s_floorf.c: Likewise.
	* sysdeps/alpha/fpu/s_rint.c: Likewise.
	* sysdeps/alpha/fpu/s_rintf.c: Likewise.

	* sysdeps/alpha/fpu/s_fmax.S: New file.
	* sysdeps/alpha/fpu/s_fmaxf.S: New file.
	* sysdeps/alpha/fpu/s_fmin.S: New file.
	* sysdeps/alpha/fpu/s_fminf.S: New file.
	* sysdeps/alpha/fpu/s_isnan.c: New file.
	* sysdeps/alpha/fpu/s_isnanf.c: New file.
	* sysdeps/alpha/fpu/s_llrint.c: New file.
	* sysdeps/alpha/fpu/s_llrintf.c: New file.
	* sysdeps/alpha/fpu/s_lrint.c: New file.
	* sysdeps/alpha/fpu/s_lrintf.c: New file.
	* sysdeps/alpha/fpu/s_nearbyint.c: New file.
	* sysdeps/alpha/fpu/s_nearbyintf.c: New file.

	* sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove.
	(__fdimf, fdimf, __fdim, fdim): Remove.
	(__signbitf, __signbit, __signbitl): Use gcc builtin if available.
	(__isnanf, __isnan, __isnanl): New.
2007-03-14 17:44:14 +00:00
Richard Henderson 9e43b50d49 * sysdeps/ieee754/ldbl-128/Makefile: New file.
* sysdeps/ieee754/ldbl-128/Makefile: New file.

2007-03-13  Richard Henderson  <rth@redhat.com>
2007-03-14 17:36:18 +00:00
Richard Henderson 62789da349 * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
* sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding.
	* sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New.
	* sysdeps/alpha/fpu/libm-test-ulps: Regenerate.
	* sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file.
	* sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file.
	* sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.

2007-03-13  Richard Henderson  <rth@redhat.com>
2007-03-14 00:40:50 +00:00
Richard Henderson a5ea509b61 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use two
separate cfi regions for the two subsections.
2007-03-13  Richard Henderson  <rth@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use two
	separate cfi regions for the two subsections.
2007-03-13 21:28:03 +00:00
Richard Henderson 47dbe62b55 * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
* sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file. 
* sysdeps/unix/sysv/linux/alpha/dl-support.c: New file. 
* sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape): 
Move to dl-auxv.h; initialize instead of extern weak. 
(DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef 
weak symbol. 
* sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape): 
Extern instead of initialized.
        * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
	* sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file.
	* sysdeps/unix/sysv/linux/alpha/dl-support.c: New file.
	* sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape):
	Move to dl-auxv.h; initialize instead of extern weak.
	(DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef
	weak symbol.
	* sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape):
	Extern instead of initialized.

2007-03-13  Richard Henderson  <rth@redhat.com>
2007-03-13 21:25:16 +00:00
Richard Henderson b8097bed55 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for
__sigsuspend_nocancel.
2007-03-13  Richard Henderson  <rth@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for
	__sigsuspend_nocancel.
2007-03-13 16:05:44 +00:00
Ulrich Drepper 6bf4a686f5 * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for
172.16/12 address range.
2007-03-06 14:53:08 +00:00
Ulrich Drepper 0b3b1a0ce8 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with
a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC
	message.
2007-03-05 20:32:32 +00:00
Ulrich Drepper c1c5e654bc [BZ #4069] 2007-03-05 19:40:18 +00:00
Ulrich Drepper 8f3edfee15 [BZ #4096]
2007-03-01  Jakub Jelinek  <jakub@redhat.com>
	[BZ #4096]
	* sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN
	earlier.
	* math/libm-test.inc (pow_test): Add more tests involving NaNs.

	* sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception
	for x qNaN and y either +-inf or non-integer value.
	* sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise.
	* sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
	* sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2007-03-05 19:38:56 +00:00
Ulrich Drepper 245a1481d7 * sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h
from sysdep_headers.
2007-03-05 19:35:17 +00:00
Ulrich Drepper c217692b4d * time/tzfile.c (find_transition): Instead of a linear search try to
guess the transition index, use a linear search if the result is at
	most 10 transitions away from the guess or binary search otherwise.
2007-03-05 19:32:39 +00:00
Ulrich Drepper 132526780a (find_transition): Instead of a linear search try to guess the transition index, use a linear search if the result is at most 10 transitions away from the guess or binary search otherwise. 2007-03-05 19:32:03 +00:00
Jakub Jelinek fe64626c13 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix
memory reallocation.
2007-02-27  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix
	memory reallocation.
2007-02-27 11:20:39 +00:00
Ulrich Drepper 00a1430e3f * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset refcntr in
new thread, don't just decrement it.
	Patch by Suzuki K P <suzuki@in.ibm.com>.
2007-02-25 21:44:22 +00:00
Ulrich Drepper 621c133d40 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions
and fix some typos.
	Optimize use of TOLOWER.
2007-02-22 00:45:40 +00:00
Ulrich Drepper 9cf147d84e * stdlib/strtod_l.c (____STRTOF_INTERNAL): Optimize use of TOLOWER. 2007-02-21 21:54:19 +00:00
Ulrich Drepper cdfd61e1ee [BZ #3325]
* sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem.
	* sysdeps/i386/fpu/e_fmodl.c: Likewise.
	* sysdeps/i386/fpu/e_fmod.S: Likewise.
2007-02-21 19:13:15 +00:00
Ulrich Drepper 8889e7aa46 [BZ #3458]
* sysdeps/unix/sysv/linux/posix_madvise.c: New file.
	* sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry.

	* stdio-common/tfformat.c (sprint_doubles): Some more tests.
2007-02-21 19:03:26 +00:00
Ulrich Drepper 63a2f30529 [BZ #4076]
* io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /.
	(open_dir_stream): Likewise.
	* io/Makefile (tests): Add bug-ftw5.
	io/bug-ftw5.c: New file.
2007-02-21 09:36:46 +00:00
Ulrich Drepper c8703f8849 * nscd/hstcache.c (cache_addhst): Remove unnecessary conditional.
* nscd/servicescache.c (cache_addserv): Likewise.

	* nscd/grpcache.c (cache_addgr): In case a record changed on
	refresh, adjust key_copy.
2007-02-21 09:11:47 +00:00
Ulrich Drepper 61705e06e1 [BZ #4074]
* nscd/pwdcache.c (cache_addpw): In case a record changed on
	refresh, adjust key_copy.
2007-02-21 09:05:36 +00:00
Ulrich Drepper 0f7769f736 [BZ #4070]
2007-02-21  Ulrich Drepper  <drepper@redhat.com>
	[BZ #4070]
	* stdio-common/printf_fp.c (___printf_fp): Handle a few more
	* stdio-common/tfformat.c (sprint_doubles): Some more tests.
	special cases.
2007-02-21 08:57:44 +00:00
Ulrich Drepper 4c02bf1adf * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor
optimization.
2007-02-20 01:11:40 +00:00
Ulrich Drepper 3979024a8c * stdio-common/vfscanf.c: Small cleanups throughout. 2007-02-19 21:20:09 +00:00
Ulrich Drepper 2484468be1 [BZ #3325]
* sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem.
	* sysdeps/i386/fpu/e_fmodl.c: Likewise.
	* sysdeps/i386/fpu/e_fmod.S: Likewise.
	Patch by Jared Casper <jaredcasper@gmail.com>.
2007-02-19 05:48:54 +00:00
Ulrich Drepper 858ee15dec * sysdeps/unix/closedir.c: Outside libc don't use locking.
* sysdeps/unix/opendir.c: Likewise.
	* sysdeps/unix/readdir.c: Likewise.
2007-02-19 05:44:33 +00:00
Ulrich Drepper ecb72bd5b6 [BZ #2211]
* stdio-common/vfscanf.c: Handle localized digits etc for floating
	point numbers.
	Patch mostly by Hamed Malek <hamed@farsiweb.info>.
2007-02-19 04:40:58 +00:00
Ulrich Drepper ac2ca0229a * stdio-common/vfscanf.c: Fix problems in width accounting.
* stdio-common/tst-sscanf.c (double_tests): New tests.
	(main): Hook them up.
2007-02-18 19:03:30 +00:00
Ulrich Drepper da50f00107 ..
More simplifications of floating-point reader.
2007-02-18 09:43:44 +00:00
Ulrich Drepper e9bb524634 * stdio-common/vfscanf.c: Remove unused WIDTH handling. 2007-02-18 09:25:25 +00:00
Ulrich Drepper 821d3e7031 * stdio-common/Makefile (tests): Add tst-swscanf.
* stdio-common/tst-sscanf.c: Make tests usable for swscanf
	testing.
	* stdio-common/tst-swscanf.c: New file.
2007-02-18 09:21:24 +00:00
Ulrich Drepper 7acd205c59 * SUPPORTED (SUPPORTED-LOCALES): Remove sr_CS locales. 2007-02-18 04:52:16 +00:00
Ulrich Drepper 4ca6a8d8b9 [BZ #1430]
2007-02-17  Ulrich Drepper  <drepper@redhat.com>
	[BZ #1430]
	* locales/hu_HU: Revert
		* locales/hu_HU: Better collation.
		Patch by Gyuro Lehel <lehel@freemail.hu>.
2007-02-18 04:43:17 +00:00
Ulrich Drepper 5d2489928c [BZ #672]
2005-01-16  Denis Barbier  <barbier@linuxfr.org>
	[BZ #672]
	* locales/ca_ES: Replace current collation rules by including
	iso14651_t1 and adding extra rules if needed.  There should be
	no noticeable changes in sorted text. only ligatures and
	ignoreable characters have modified weights.
	* locales/da_DK: Likewise.
	* locales/en_CA: Likewise.
	* locales/es_US: Likewise.
	* locales/fi_FI: Likewise.
	* locales/nb_NO: Likewise.

	[BZ #672]
	* locales/iso14651_t1: Simplified.  Extended.
2007-02-18 04:34:28 +00:00
Ulrich Drepper 70926737b2 [BZ #58]
* locales/uk_UA: New version.
2007-02-18 03:59:48 +00:00
Ulrich Drepper 9138cc0ba7 [BZ #2633]
* libio/stdio.h: Define struct _IO_FILE in global namespace.
	* setjmp/setjmp.h: Define __jmp_buf_tag in global namespace.
	Remove using for __jmp_buf_tag.
	* locale/locale.h (struct lconv): Also define in std namespace.
	* wcsmbs/wchar.h: Move using declaration for tm out of namespace.
2007-02-17 19:37:51 +00:00
Ulrich Drepper 6818d837ee [BZ #3842]
* sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut
	using __libc_enable_secure.
2007-02-17 19:08:46 +00:00
Ulrich Drepper 2e0e802af0 [BZ #2648]
* locales/pl_PL: Fix currency_symbol and its placement.
2007-02-17 18:58:25 +00:00
Ulrich Drepper 15c4b5a48b [BZ #3818]
* sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define.
2007-02-17 17:13:58 +00:00
Ulrich Drepper 5e9e9c1472 [BZ #3745]
* locale/programs/ld-collate.c (handle_ellipsis): Fix generation
	of names for ellipsises.
2007-02-17 16:53:41 +00:00
Ulrich Drepper 07fb518573 [BZ #3348]
2007-02-17  Ulrich Drepper  <drepper@redhat.com>
	[BZ #3348]
	* malloc/memusage.sh: Cleanups.
	* debug/xtrace.sh: Quoting and trap changes.

	* locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries.
2007-02-17 08:36:28 +00:00
Ulrich Drepper 93e6691446 * locale/iso-3166.def: Update entry for Serbia. 2007-02-17 08:08:19 +00:00
Ulrich Drepper 93e364345c * locale/iso-4217.def: Define RSD, remove CSD. 2007-02-17 08:03:11 +00:00
Ulrich Drepper c4630aeaed [BZ #3322]
* SUPPORTED (SUPPORTED-LOCALES): Add sr_RS and sr_RS@latin.
	* locales/sr_RS: New file.
	* locales/sr_RS@latin: New file.
2007-02-17 07:56:58 +00:00
Ulrich Drepper ad0b348ce1 [BZ #4040]
* sysdeps/x86_64/bits/atomic.h: One more change, this time for 16-
	and 64-bit operations.

	[BZ #4040]
	* sysdeps/i386/i486/bits/atomic.h: One more change, this time for
	16-bit operations.
2007-02-17 07:26:50 +00:00
Ulrich Drepper 04632864fd [BZ #3885]
2007-02-16  Ulrich Drepper  <drepper@redhat.com>
	[BZ #3885]
	* locales/i18n: Updates for Unicode 5.0.
	* charmaps/UTF-8: Likewise.
	Patch by Pablo Saratxaga <pablo@walon.org>

	* locales/sl_SI: Slovenia joined the Euro zone.
2007-02-17 07:15:36 +00:00
Ulrich Drepper 81c9d1c10f [BZ #3884]
2007-01-12  Gwenole Beauchesne  <gbeauchesne@mandriva.com>
	[BZ #3884]
	* localedata/locales/sl_SI: Slovenia joined the Euro zone.
	Fix negative number format.
2007-02-17 06:52:02 +00:00
Ulrich Drepper 771519375a [BZ #3851]
2007-02-16  Ulrich Drepper  <drepper@redhat.com>
	[BZ #3851]
	* locales/bn_BD: Fix full name of January and February.
	Patch by Jamil Ahmed <jamil@bengalinux.org>.
2007-02-17 06:47:13 +00:00
Ulrich Drepper 8c6d104340 * nscd/nscd.c (parse_opt): One more conversion to use send instead
of writev.
2007-02-16 19:15:07 +00:00