aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2006-09-20(lrint_test_upward): Fix typo.Andreas Jaeger1-0/+4
2006-09-20 Andreas Jaeger <aj@suse.de> * math/libm-test.inc (lrint_test_upward): Fix typo.
2006-09-20[BZ #2592]Ulrich Drepper1-0/+21
2006-06-17 Joseph S. Myers <joseph@codesourcery.com> [BZ #2592] * math/libm-test.inc (lrint_test_tonearest): New function. (lrint_test_towardzero): New function. (lrint_test_downward): New function. (lrint_test_upward): New function. (main): Run these new tests. * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding of values near to 0. (two52): Use double not long double. * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. (two23): Use float not double. * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. (two23): Use float not double. * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
2006-09-20* sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext):Ulrich Drepper1-0/+8
Cast sp to unsigned long to avoid compiler warning. Use __makecontext_ret function instead of a trampoline on the stack. (__makecontext_ret): New function. * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise.
2006-09-19* elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, butcvs/fedora-glibc-20060919T1847cvs/fedora-glibc-20060919T1816Ulrich Drepper1-0/+6
platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM bits.
2006-09-19* elf/dl-close.c (_dl_close): If dependency is not unloaded makeUlrich Drepper1-0/+13
sure no reference to the unloaded map's search list remains in the dependency's scope. 2006-09-16 Jakub Jelinek <jakub@redhat.com> * elf/Makefile: Add rules to build and run unload7 test. * elf/unload7.c: New test. * elf/unload7mod1.c: New file. * elf/unload7mod2.c: New file.
2006-09-18* sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto.Ulrich Drepper1-4/+18
* sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG): Likewise. (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent values. * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO.
2006-09-17* sysdeps/unix/sysv/linux/sys/ptrace.h [PTRACE_SETOPTIONS,Ulrich Drepper1-0/+16
PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO]: Define. * sysdeps/unix/sysv/linux/ptrace.c [PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO]: Check. 2006-09-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't write '\0' to the fd. * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. Change regs to unsigned long pointer from unsigned int, fix fscr offset.
2006-09-17 * io/Makefile (CFLAGS-fstatat.c): Set.Ulrich Drepper1-1/+12
(CFLAGS-fstatat64.c): Likewise. (CFLAGS-mknodat.c): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. 2006-09-14 Jakub Jelinek <jakub@redhat.com>
2006-09-152006-09-14 Jakub Jelinek <jakub@redhat.com>cvs/fedora-glibc-20060915T0943Ulrich Drepper1-0/+14
Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap names to the beginning. Rename "cell" to "cellbe". (_dl_powerpc_platforms): New. * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. (_DL_HWCAP_PLATFORM): Define to new mask. (_dl_platform_string, _dl_string_platform): New functions. * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define.
2006-09-12[BZ #2526, BZ #3138, BZ #3143]Ulrich Drepper1-0/+23
2006-09-12 Jakub Jelinek <jakub@redhat.com> [BZ #2526] * README.libm: Fix a thinko in sqrt algorithm description. [BZ #3143] * manual/string.texi (argz_delete): Fix prototype. Patch by <alpt@freaknet.org>. 2006-08-26 Joseph Myers <joseph@codesourcery.com> [BZ #3138] * io/test-lfs.c (do_prepare): Give name_len type size_t. * io/tst-fcntl.c (do_prepare): Likewise. * posix/tst-exec.c (do_prepare): Likewise. * posix/tst-preadwrite.c (do_prepare): Likewise. * posix/tst-spawn.c (do_prepare): Likewise. * posix/tst-truncate.c (do_prepare): Likewise. * rt/tst-aio.c (do_prepare): Likewise. * rt/tst-aio64.c (do_prepare): Likewise. * stdlib/test-canon2.c (do_prepare): Give test_dir_len type size_t.
2006-09-09[BZ #2821]cvs/fedora-glibc-20060910T1832Ulrich Drepper1-0/+5
* time/mktime.c (guess_time_tm): Fix overflow detection. * time/Makefile (tests): Add bug-mktime1. * time/bug-mktime1.c: New file.
2006-09-09[BZ #3189]Ulrich Drepper1-1/+2
.. [BZ #3189, #3188] (mremap): Likewise.
2006-09-09[BZ #3189]Ulrich Drepper1-0/+5
2006-09-09 Ulrich Drepper <drepper@redhat.com> [BZ #3189] * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE.
2006-09-09[BZ #1006]Ulrich Drepper1-0/+6
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Ensure relocation doesn't clobber any bits outside of the immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, R_SPARC_HI22 and R_SPARC_H44.
2006-09-07[BZ #2775]Ulrich Drepper1-0/+7
* malloc/malloc.c (sYSMALLOc): Only call grow_heap if (long) (MINSIZE + nb - old_size) is positive. * malloc/arena.c (grow_heap): When growing bail even if new_size is negative.
2006-09-07[BZ #3155]Ulrich Drepper1-2/+15
2006-09-07 Jakub Jelinek <jakub@redhat.com> [BZ #3155] * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access stack below r1. * posix/regex_internal.c (re_string_reconstruct): Handle offset < pstr->valid_raw_len && pstr->offsets_needed case. Ensure no bytes read before raw_mbs array. Pass a saved copy of pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to re_string_context_at. * posix/Makefile: Add rules to build and run bug-regex26 test. * posix/bug-regex26.c: New test. * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so.
2006-09-06* locale/programs/ld-collate.c (collate_read): Goto sym_equiv_freecvs/fedora-glibc-20060907T0853Ulrich Drepper1-0/+7
rather than col_sym_free. Move seqp declaration earlier. * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized.
2006-09-05* nscd/initgrcache.c (addinitgroupsX): Move any_successUlrich Drepper1-0/+5
decl before first goto out.
2006-09-05* Makerules (shlib.lds): If have-hash-style, put .hash sectioncvs/fedora-glibc-20060905T0633Ulrich Drepper1-0/+10
at the end of the RO segment. 2006-09-04 Ulrich Drepper <drepper@redhat.com> * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new style hash table format is used. 2006-09-04 Jakub Jelinek <jakub@redhat.com>
2006-09-04* resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id afterUlrich Drepper1-0/+6
randomization rather than before. * resolv/res_init.c (res_randomid): Don't call gettimeofday here.
2006-08-31* dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Addcvs/fedora-glibc-20060831T1812Ulrich Drepper1-0/+11
ld.so. * malloc/malloc.c (_int_malloc): Use full list insert and not shortcut which assumes the list is empty for large requests too. * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf".
2006-08-30* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offinUlrich Drepper1-0/+13
and offout arguments to the prototype. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string.
2006-08-29* elf/dl-load.c (_dl_init_paths): Expand DSTs.Ulrich Drepper1-0/+2
2006-08-28* elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM inUlrich Drepper1-0/+5
dlopen parameters.
2006-08-28* inet/getnameinfo.c (getnameinfo): For AF_INET, check errnocvs/fedora-glibc-20060828T1903Ulrich Drepper1-0/+11
only if herrno is NETDB_INTERNAL. Handle errors other than ERANGE outside of the loops, handle TRY_AGAIN. * locale/programs/ld-ctype.c (translit_flatten): Issue error if other's ctype category was missing. * locale/programs/ld-collate.c (collate_read): Return if copy_locale's collate category is missing.
2006-08-28[BZ #2684]Ulrich Drepper1-0/+7
2006-08-27 Ulrich Drepper <drepper@redhat.com> [BZ #2684] * malloc/malloc.c (public_rEALLOc): Try harder by using other arenas if allocation failed. Patch mostly by Jan Edler <jan.edler@indexengines.com>.
2006-08-27* malloc/malloc.c (bin_at): Rewrite to be more clear and to notUlrich Drepper1-0/+8
waste bins[0..1]. (malloc_state): Reduce bins size by 2. (_int_malloc): Fix test for large enough buffer for early termination. When no unsorted block matches perfectly and an exiting block has to be split, use full list insert and not shortcut which assumes the list is empty.
2006-08-26* locale/programs/ld-ctype.c (ctype_read): Better patch for readUlrich Drepper1-0/+5
failure.
2006-08-25* locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don'tcvs/fedora-glibc-20060825T0639Ulrich Drepper1-0/+3
do anything.
2006-08-24* sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefinedUlrich Drepper1-0/+5
symbol require exact match (these are PLTs). * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h (_dl_ppc64_addr_sym_match): Likewise.
2006-08-24[BZ #2683]Ulrich Drepper1-0/+8
2006-08-24 Ulrich Drepper <drepper@redhat.com> [BZ #2683] * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. If symbol has a value use it. * elf/tst-dladdr1.c: New file. * elf/Makefile: Add rules to build and run tst-addr1.
2006-08-24* malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAPUlrich Drepper1-0/+7
keeps failing and heap growth or new heap creation isn't successful either. * malloc/tst-malloc.c (main): Add new tests.
2006-08-24[BZ #2734]Ulrich Drepper1-0/+6
2006-08-24 Ulrich Drepper <drepper@redhat.com> [BZ #2734] * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions as in the x86-64 code to use bswap.
2006-08-24[BZ #2680]Ulrich Drepper1-0/+1
2006-08-24* posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, notUlrich Drepper1-0/+6
__USE_UNIX98. * posix/bits/unistd.h: Likewise.
2006-08-22[BZ #2751]cvs/fedora-glibc-20060822T0706Ulrich Drepper1-0/+5
2006-05-15 Mike Frysinger <vapier@gentoo.org> [BZ #2751] * string/strchr.c: Add cast to avoid warning.
2006-08-22platforms define as 512K. For 64-bit platforms as 32MB. The lowerUlrich Drepper1-1/+1
2006-08-22* malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bitUlrich Drepper1-0/+9
platforms define as 1MB. For 64-bit platforms as 32MB. The lower limit is needed to avoid the exploding of the address space requirement for secondary heaps. * malloc/arena.c (HEAP_MAX_SIZE): Define using DEFAULT_MMAP_THRESHOLD_MAX if it is defined.
2006-08-21[BZ #3018]Ulrich Drepper1-0/+11
2006-07-30 Joseph S. Myers <joseph@codesourcery.com> [BZ #3018] * Makerules (depfiles): Handle extra-test-objs the same as extra-objs. (common-mostlyclean): Likewise. * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs instead. * elf/Makefile (extra-objs): Likewise. * stdlib/Makefile (extra-objs): Likewise.
2006-08-21[BZ #3044]Ulrich Drepper1-0/+6
2006-08-14 Eric Blake <ebb9@byu.net> [BZ #3044] * misc/error.h: Assume C89 or better. * misc/error.c: Likewise.
2006-08-21[BZ #3040]Ulrich Drepper1-0/+6
2006-08-21 Ulrich Drepper <drepper@redhat.com> [BZ #3040] * sysdeps/unix/sysv/linux/openat.c: Fix compilation if __ASSUME_ATFCTS is defined.
2006-08-19* malloc/malloc.c (_int_malloc): Limit number of unsorted blocksUlrich Drepper1-0/+3
to sort in each call.
2006-08-19* nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If mapUlrich Drepper1-0/+4
is empty simply return and use next service. * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
2006-08-19* locale/programs/charmap.c (charmap_read): Add new parameter. ItUlrich Drepper1-0/+9
tells us when not finding a charmap file is an error. * locale/programs/charmap.h: Adjust charmap_read prototype. * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we cannot find a charmap. * locale/programs/localedef.c (main): Adjust charmap_read call.
2006-08-15* sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Usecvs/fedora-glibc-20060815T0533Ulrich Drepper1-0/+10
sysdeps/posix/pause.c implementation instead. 2006-08-09 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority to EPERM.
2006-08-14* sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve):Ulrich Drepper1-0/+6
Don't clobber caller's LRSAVE. (_dl_prof_resolve): Likewise.
2006-08-14[BZ #1996]Ulrich Drepper1-0/+18
2006-08-14 Ulrich Drepper <drepper@redhat.com> [BZ #1996] * libio/memstream.c (open_memstream): Allocate initial buffer with calloc. * libio/wmemstream.c (open_wmemstream): Likewise. * libio/strops.c: Pretty printing. (_IO_str_overflow): Clear uninitialized part of the new buffer. (enlarge_userbuf): New function. (_IO_str_seekoff): Call it if seek position is larger than current buffer. * libio/wstrops.c: Likewise. * libio/vasprintf.c: Add comment as to why we do not have to use calloc instead of malloc to allocate initial buffer. * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. * libio/bug-memstream1.c: New file. * libio/bug-wmemstream1.c: New file.
2006-08-14* libio/wstrops.c: Remove dead macro definitions and comments.Ulrich Drepper1-0/+3
* libio/strops.c: Likewise.
2006-08-14[BZ #2764]Ulrich Drepper1-0/+5
2006-08-13 Ulrich Drepper <drepper@redhat.com> [BZ #2764] * login/utmpname.c (__utmpname): Remove unnecessary test.
2006-08-13[BZ #2832, BZ #2987]Ulrich Drepper1-0/+14
2006-06-08 Joseph Myers <jsm28@gcc.gnu.org> [BZ #2832] * math/gen-libm-test.pl (clean_up_number): Do not remove trailing 0s from integers. 2006-08-13 Ulrich Drepper <drepper@redhat.com> [BZ #2987] * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall for CPU clocks. * sysdeps/unix/clock_settime.c: Add support for platform-specific setting of CPU clocks.