summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-05-03* soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT cvs/fedora-glibc-20070504T0917Jakub Jelinek
with setting the sticky bit. * math/test-misc.c (main): Add more truncation tests. * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of double in the function declaration. * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of double in the function declaration. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of float in the function declaration. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of float in the function declaration. * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for denormal operands. Do not generate FP_EX_DENORM exception. (FP_UNPACK_RAW_EP): Ditto. (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of undefined _FP_UNPACK_RAW_E. (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of undefined _FP_UNPACK_RAW_EP. (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of undefined _FP_PACK_RAW_E. (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of undefined _FP_PACK_RAW_EP. * op-2.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_2. * op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4. * soft-fp/op-common.h (FP_EXTEND): Do not abort when _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for this case. * soft-fp/op-common.h (FP_TRUNC): Ditto. * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT with setting the sticky bit. * math/test-misc.c (main): Add more truncation tests. 2007-04-14 Uros Bizjak <ubizjak@gmail.com> * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of double in the function declaration. * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of double in the function declaration. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of float in the function declaration. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of float in the function declaration. * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for denormal operands. Do not generate FP_EX_DENORM exception. (FP_UNPACK_RAW_EP): Ditto. (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of undefined _FP_UNPACK_RAW_E. (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of undefined _FP_UNPACK_RAW_EP. (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of undefined _FP_PACK_RAW_E. (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of undefined _FP_PACK_RAW_EP. * op-2.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_2. * op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4. 2007-04-16 Uros Bizjak <ubizjak@gmail.com> Jakub Jelinek <jakub@redhat.com> * soft-fp/op-common.h (FP_EXTEND): Do not abort when _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for this case. * soft-fp/op-common.h (FP_TRUNC): Ditto. 2007-05-03 Jakub Jelinek <jakub@redhat.com>
2007-05-03* math/test-misc.c (main): Add tests for rounding long double Jakub Jelinek
values close to smallest double denormalized value to double. * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in condition for truncating to 0. Set sticky bit for such truncation. 2007-05-03 Jakub Jelinek <jakub@redhat.com> * math/test-misc.c (main): Add tests for rounding long double values close to smallest double denormalized value to double. 2007-04-30 Joseph Myers <joseph@codesourcery.com> * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in condition for truncating to 0. Set sticky bit for such truncation.
2007-05-02* stdio-common/vfprintf.c (process_string_arg): Use a VLA rather thanUlrich Drepper
fixed length array for ignore.
2007-05-01* stdio-common/test-vfprintf.c (main): Add test for largeUlrich Drepper
precision.
2007-05-01[BZ #4438]Ulrich Drepper
2007-04-30 Ulrich Drepper <drepper@redhat.com> [BZ #4438] * stdio-common/vfprintf.c (process_string_arg): Don't overflow the stack for large precisions.
2007-04-30* stdio-common/printf_fp.c (___printf_fp): Don't print negative signUlrich Drepper
for exponent 0. * stdio-common/tfformat.c (sprint_doubles): Add a new test.
2007-04-30[BZ #4439]Ulrich Drepper
2007-04-30 Jakub Jelinek <jakub@redhat.com> [BZ #4439] * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into account in the size check. * resolv/tst-inet_ntop.c: New test. * resolv/Makefile (tests): Add tst-inet_ntop.
2007-04-30[BZ #4349]Ulrich Drepper
2007-04-30 Ulrich Drepper <drepper@redhat.com> Jakub Jelinek <jakub@redhat.com> [BZ #4349] * malloc/malloc.c: Keep separate list for first blocks on the bin lists with a given size. This helps skipping over list elements we know won't fit in two places. Inspired by a patch by Tomash Brechko <tomash.brechko@gmail.com>.
2007-04-28[BZ #4102]Ulrich Drepper
2007-04-28 Ulrich Drepper <drepper@redhat.com> [BZ #4102] * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate label to Teredo tunnel addresses 2001://32.
2007-04-28* locale/programs/ld-collate.c (collate_read): Allow order_startUlrich Drepper
after copy.
2007-04-28[BZ #3213]Ulrich Drepper
* locale/programs/ld-collate.c (collate_read): Fix printing of error message. [BZ #3213] * locale/C-translit.h.in: Add entry for U2044.
2007-04-28[BZ #4392]Ulrich Drepper
* pthread_mutex_trylock.c (__pthread_mutex_trylock): Treat error check mutexes like normal mutexes.
2007-04-28[BZ #4306]Ulrich Drepper
2007-04-27 Ulrich Drepper <drepper@redhat.com> [BZ #4306] * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Initialize the whole sigevent structure to appease valgrind.
2007-04-27[BZ #4342]Ulrich Drepper
2007-04-27 Ulrich Drepper <drepper@redhat.com> [BZ #4342] * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow hexa-decimal floats without exponent. * stdio-common/tstscanf.c (main): Adjust Test 8 test for success. * iconv/gconv_charset.h (strip): Allow ':'.
2007-04-27(_IO_vfscanf_internal): Allow hexa-decimal floats without exponent.Ulrich Drepper
2007-04-26* io/bug-ftw5.c: New file.Jakub Jelinek
2007-04-26* sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines):Ulrich Drepper
Add sched_getcpu.
2007-04-26* sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu.Ulrich Drepper
* sysdeps/unix/sysv/linux/sched_getcpu.c: New file. * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file. * sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for GLIBC_2.6.
2007-04-26(tcbhead_t): Add vgetcpu_cache.Ulrich Drepper
2007-04-25* sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead Jakub Jelinek
of 0 after the out_fail label. 2007-04-25 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead of 0 after the out_fail label.
2007-04-25[BZ #4406]Ulrich Drepper
2007-04-25 Ulrich Drepper <drepper@redhat.com> [BZ #4406] * iconv/gconv_charset.h (strip): Allow ':' * iconv/iconv_open.c (iconv_open): Adjust comment.
2007-04-25(strip): Allow ':'Ulrich Drepper
2007-04-25* libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized Jakub Jelinek
version. 2007-04-25 Jakub Jelinek <jakub@redhat.com> * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized version.
2007-04-24[BZ #4411]Ulrich Drepper
2007-04-24 Ulrich Drepper <drepper@redhat.com> [BZ #4411] * locales/en_ZA: Update int_select. Patch by Dwayne Bailey <dwayne@translate.org.za>.
2007-04-23[BZ #4381]Ulrich Drepper
* nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient alignment of buffer and tmp_buffer. * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r, internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient alignment of buffer. * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen bigger than INT_MAX. * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and h_errnop arguments. Fail if buflen is too small. (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers. 2007-04-23 Jakub Jelinek <jakub@redhat.com>
2007-04-23(HOST_DB_LOOKUP): Ensure sufficient alignment of buffer and tmp_buffer.Ulrich Drepper
2007-04-23[BZ #4405] Jakub Jelinek
* iconvdata/gconv-modules (E13B): Add a missing slash to the alias name. Patch by Aurelien Jarno <aurelien@aurel32.net>. 2007-04-23 Jakub Jelinek <jakub@redhat.com> [BZ #4405] * iconvdata/gconv-modules (E13B): Add a missing slash to the alias name. Patch by Aurelien Jarno <aurelien@aurel32.net>.
2007-04-22* elf/elf.h (NT_PRXFPREG): New macro.Roland McGrath
2007-04-222007-04-22 Roland McGrath <roland@redhat.com>Roland McGrath
* elf/elf.h (NT_PRXFPREG): New macro.
2007-04-20[BZ #3905] Andreas Jaeger
* bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU, IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST): Added. 2007-04-19 Andreas Jaeger <aj@suse.de> [BZ #3905] * bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU, IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST): Added.
2007-04-19* misc/madvise.c: Add libc_hidden_def.Ulrich Drepper
2007-04-19* include/sys/mman.h: Mark madvise hidden.Ulrich Drepper
2007-04-19* nis/nis_domain_of.c (__nis_domain_of): New function.Ulrich Drepper
* include/rpcsvc/nislib.h (__nis_domain_of): New prototype. * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of. * nis/nis_call.c (rec_dirsearch): Likewise. (first_shoot): Likewise. Remove search_parent_first argument. (struct nis_server_cache): Rename search_parent_first field to search_parent. (nis_server_cache_search, nis_server_cache_add): Rename search_parent_first argument to search_parent. (__nisfind_server): Likewise. If search_parent, call __nis_domain_of.
2007-04-18* sysdeps/posix/getaddrinfo.c: Remove commented-out code.Ulrich Drepper
2007-04-17[BZ #4368]Ulrich Drepper
2007-04-17 Ulrich Drepper <drepper@redhat.com> [BZ #4368] * stdlib/stdlib.h: Remove obsolete part of comment for realpath.
2007-04-16[BZ #4364]cvs/fedora-glibc-20070416T2350Ulrich Drepper
2007-04-16 Ulrich Drepper <drepper@redhat.com> [BZ #4364] * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3.
2007-04-16* locale/programs/locarchive.c (INITIAL_NUM_NAMES,Ulrich Drepper
INITIAL_SIZE_STRINGS, INITIAL_NUM_LOCREC): Update to accomodate current number of locales in SUPPORTED. (create_archive): Initialize serial. (enlarge_archive): Preserve aliases rather than duplicating their locrecs.
2007-04-16* libio/genops.c (_IO_default_finish): Call _IO_lock_finiUlrich Drepper
after _IO_un_link, not before it.
2007-04-16* stdio-common/printf_fp.c (___printf_fp): Fix exponent -4Ulrich Drepper
special case handling when wcp == wstartp + 1. Fix a comment typo. * stdio-common/tfformat.c (sprint_doubles): Add a new testcase.
2007-04-16* libio/libio.h (__underflow, __uflow, __overflow, __wunderflow,Ulrich Drepper
__wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn, _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn): Remove __THROW. * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap, _IO_file_xsgetn_maybe_mmap): Likewise. * libio/oldfileops.c (old_do_write): Likewise. * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode, _IO_init_marker, _IO_init_wmarker, _IO_default_uflow, _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos, _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write, _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup, _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos, _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64, _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64, _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn, _IO_file_underflow, _IO_file_underflow_mmap, _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach, _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read, _IO_file_sync, _IO_file_close_it, _IO_file_finish, _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish, _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap, _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow, _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn, _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn, _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach, _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync, _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn, _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow, _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open, _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal, _IO_adjust_column_internal, _IO_default_uflow_internal, _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal, _IO_file_setbuf_internal, _IO_file_seekoff_internal, _IO_file_xsputn_internal, _IO_file_xsgetn_internal, _IO_file_close_it_internal, _IO_file_underflow_internal, _IO_file_overflow_internal, _IO_file_attach_internal, _IO_file_fopen_internal, _IO_file_sync_internal, _IO_file_finish_internal, _IO_wfile_xsputn_internal, _IO_wfile_seekoff_internal, _IO_wfile_sync_internal, _IO_switch_to_wget_mode_internal, _IO_padn_internal, _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked, _IO_seekpos_unlocked): Likewise. (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write, _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes.
2007-04-16(__underflow, __uflow, __overflow, __wunderflow, __wuflow, __woverflow, ↵Ulrich Drepper
_IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn, _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn): Remove __THROW.
2007-04-16* locale/programs/locarchive.c (show_archive_content): Fix sizeof Jakub Jelinek
argument in xmalloc size computation. 2007-04-16 Jakub Jelinek <jakub@redhat.com> * locale/programs/locarchive.c (show_archive_content): Fix sizeof argument in xmalloc size computation.
2007-04-16* sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): UseUlrich Drepper
math_opt_barrier and math_force_eval macros.
2007-04-16[BZ #3306]Ulrich Drepper
2007-03-27 Jakub Jelinek <jakub@redhat.com> [BZ #3306] * math/math_private.h (math_opt_barrier, math_force_eval): Define. * sysdeps/i386/fpu/math_private.h: New file. * sysdeps/x86_64/fpu/math_private.h: New file. * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and math_force_eval macros. Use "+m" constraint on asm rather than "=m" and "m". * math/s_nextafter.c (__nextafter): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise. * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise. * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use math_opt_barrier and math_force_eval macros. * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise. * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise. * sysdeps/i386/fpu/s_nexttoward.c: Include float.h. (__nexttoward): Use math_opt_barrier and math_force_eval macros. Use "+m" constraint on asm rather than "=m" and "m". Only use asm to force double result if FLT_EVAL_METHOD is 2. * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h. (__nexttowardf): Use math_opt_barrier and math_force_eval macros. Use "+m" constraint on asm rather than "=m" and "m". Only use asm to force double result if FLT_EVAL_METHOD is not 0. * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h. (__nexttowardf): Use math_opt_barrier and math_force_eval macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h. (__nldbl_nexttowardf): Use math_opt_barrier and math_force_eval macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h. (__nexttowardf): Use math_opt_barrier and math_force_eval macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. * math/bug-nextafter.c (zero, inf): New variables. (main): Add new tests. * math/bug-nexttoward.c (zero, inf): New variables. (main): Add new tests.
2007-04-16[BZ #3427]Ulrich Drepper
2007-03-22 Jakub Jelinek <jakub@redhat.com> [BZ #3427] * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions both in SW and MXCSR. * sysdeps/x86_64/fpu/feupdateenv.c: New file. * sysdeps/x86_64/fpu/feenablxcpt.c (feenableexcept): Remove dead code. * sysdeps/x86_64/fpu/fedisblxcpt.c (fedisableexcept): Likewise. * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions in MXCSR if SSE is available. * sysdeps/i386/fpu/feupdateenv.c: Include unistd.h, dl-procinfo.h and ldsodefs.h. (__feupdateenv): Query exceptions also from MXCSR if SSE is available. Fix comment typo. * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions. Return 0 rather than 1. * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Fix comment typo. Remove incorrect part of a comment. Fix argument to feraiseexcept. * math/test-fenv.c (feholdexcept_tests): New function. (main): Call it. 2007-01-05 Richard B. Kreckel <kreckel@ginac.de> [BZ #3427] * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions in SW.
2007-04-16(feholdexcept): Clear all exceptions in SW.Ulrich Drepper
2007-04-13[BZ #4344] Jakub Jelinek
* elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. Reported by David Anderson <davea42@earthlink.net>. 2007-04-13 Jakub Jelinek <jakub@redhat.com> [BZ #4344] * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. Reported by David Anderson <davea42@earthlink.net>.
2007-04-07* posix/sys/wait.h: Remove unnecessary forward declaration.Ulrich Drepper
2007-04-06* tst-locale1.c: Avoid warnings.Ulrich Drepper
* tst-locale2.c: Likewise.
2007-04-06Avoid warnings.Ulrich Drepper