]> sourceware.org Git - glibc.git/blobdiff - ChangeLog
Fix offset caching for streams and use it for ftell (BZ #16680)
[glibc.git] / ChangeLog
index c8145133fb305f9b60a6a6c618b85448f86b1d99..eea2ef6dd768edfa12597c05c113393a5a5ec9b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,246 @@
+2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       [BZ #16680]
+       * libio/fileops.c (_IO_file_open): Seek to end of file but
+       don't cache the offset.
+       (get_file_offset): Remove function.
+       (do_ftell): Use cached offset when available.
+       * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
+       don't cache the offset.
+       * libio/tst-ftell-active-handler.c (do_rewind_test): New test
+       case.
+       (do_one_test): Call it.
+       (do_ftell_test): Fix up expected old offset for a+ mode.
+       * libio/wfileops.c (do_ftell_wide): Used cached offset when
+       available.
+
+       * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
+       up test status with function return status.
+       (do_write_test): Likewise.
+       (do_append_test): Likewise.
+
+       * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
+       && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
+       Remove.
+
+2014-03-17  Joseph Myers  <joseph@codesourcery.com>
+
+       * math/gen-libm-test.pl (parse_args): Handle results specified for
+       each rounding mode separately.
+       * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
+       tests and results from lrint_tonearest_test_data,
+       lrint_towardzero_test_data, lrint_downward_test_data and
+       lrint_upward_test_data.
+       (lrint_test): Use ALL_RM_TEST.
+       (lrint_tonearest_test_data): Remove.
+       (lrint_test_tonearest): Likewise.
+       (lrint_towardzero_test_data): Likewise.
+       (lrint_test_towardzero): Likewise.
+       (lrint_downward_test_data): Likewise.
+       (lrint_test_downward): Likewise.
+       (lrint_upward_test_data): Likewise.
+       (lrint_test_upward): Likewise.
+       (llrint_test_data): Merge in per-rounding-mode tests and results
+       from llrint_tonearest_test_data, llrint_towardzero_test_data,
+       llrint_downward_test_data and llrint_upward_test_data.
+       (llrint_test): Use ALL_RM_TEST.
+       (llrint_tonearest_test_data): Remove.
+       (llrint_test_tonearest): Likewise.
+       (llrint_towardzero_test_data): Likewise.
+       (llrint_test_towardzero): Likewise.
+       (llrint_downward_test_data): Likewise.
+       (llrint_test_downward): Likewise.
+       (llrint_upward_test_data): Likewise.
+       (llrint_test_upward): Likewise.
+       (rint_test_data): Merge in per-rounding-mode tests and results
+       from rint_tonearest_test_data, rint_towardzero_test_data,
+       rint_downward_test_data and rint_upward_test_data.  Add
+       per-rounding-mode results for tests not in those arrays.
+       (rint_test): Use ALL_RM_TEST.
+       (rint_tonearest_test_data): Remove.
+       (rint_test_tonearest): Likewise.
+       (rint_towardzero_test_data): Likewise.
+       (rint_test_towardzero): Likewise.
+       (rint_downward_test_data): Likewise.
+       (rint_test_downward): Likewise.
+       (rint_upward_test_data): Likewise.
+       (rint_test_upward): Likewise.
+       (main): Don't call removed functions.
+
+2014-03-14  Roland McGrath  <roland@hack.frob.com>
+
+       * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
+       "Compiled on ..." crapola.  It is anti-useful.
+
+2014-03-14  Joseph Myers  <joseph@codesourcery.com>
+
+       * scripts/evaluate-test.sh: Handle fourth argument to determine
+       whether test run should stop on failure.
+       * Makeconfig (stop-on-test-failure): New variable.
+       (evaluate-test): Pass fourth argument to evaluate-test.sh based on
+       $(stop-on-test-failure).
+       * Makefile (tests): Give a summary of results from testing and
+       exit with failure status if they include an ERROR or FAIL.
+       (xtests): Likewise.
+       * manual/install.texi (Configuring and compiling): Mention
+       stop-on-test-failure=y.
+       * INSTALL: Regenerated.
+
+2014-03-14  Roland McGrath  <roland@hack.frob.com>
+
+       * scripts/versionlist.awk: New file.
+       * Makerules [$(build-shared) = yes]
+       (postclean-generated): Add Versions.def, not Versions.def.v and
+       Versions.def.v.i.
+       ($(common-objpfx)Versions.def.v.i): Target removed.
+       ($(common-objpfx)Versions.def): New target.
+       ($(common-objpfx)Versions.all): Depend on that rather that
+       $(common-objpfx)Versions.def.v.
+       * Versions.def: File removed.
+
+       * Makeconfig (+gccwarn): Add -Wundef.
+       * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
+       a dl-sysdep.h breaking its contract.
+       [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
+       * include/stackinfo.h: New file.
+       * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
+       * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
+       * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
+       * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
+       * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
+       * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
+       * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
+       * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
+       * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
+       * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
+       * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
+       * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
+       * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
+       * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
+       * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
+
+2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+       [BZ #16707]
+       * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
+       implementation.
+       * math/libm-test.inc (round_test_data): Add more tests.
+
+2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+       [BZ #16706]
+       * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
+       implementation.
+       * math/libm-test.inc (nearbyint_test_data): Add more tests.
+
+2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+       [BZ #16701]
+       * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
+       implementation.
+       * math/libm-test.inc (ceil_test_data): Add more tests.
+
+2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+       * math/libm-test.inc (trunc_test_data): Add more tests related to
+       BZ#16414.
+
+2014-03-14  Roland McGrath  <roland@hack.frob.com>
+
+       * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
+       with #if rather than #ifdef.
+       * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
+
+2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
+       first.  Disable AVX-512 GCC support if assembler doesn't support
+       it.
+       * sysdeps/x86_64/configure: Regenerated.
+
+2014-03-13  Carlos O'Donell  <carlos@redhat.com>
+
+       * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
+       [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
+       (__old_pthread_attr_setstack): Likewise.
+       * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
+       [!_STACK_GROWS_DOWN]: Likewise.
+
+2014-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.make.in (have-bash2): Delete.
+       * configure.ac (libc_cv_have_bash2): Delete.
+       * configure: Regenerate.
+       * elf/Makefile (common-ldd-rewrite): Rename to ...
+       (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
+       (sh-ldd-rewrite): Delete.
+       (bash-ldd-rewrite): Delete.
+       (have-bash2): Delete checks.
+       [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
+
+2014-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * config.make.in (have-ksh): Delete.
+       (KSH): Delete.
+       * configure.ac (libc_cv_have_ksh): Delete.
+       * configure: Regenerate.
+
+2014-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * elf/Makefile: Delete $(have-ksh) check.
+       ($(objpfx)sotruss): Change KSH to BASH.
+       * elf/sotruss.ksh: Rename to ...
+       * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
+       function style to match POSIX.  Drop ksh vim mode setting.
+
+2014-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * manual/time.texi (Specifying the Time Zone with TZ): Change
+       Tuesday to Thursday.
+
+2014-03-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * debug/tst-longjmp_chk2.c: Update header comment.
+       (stackoverflow_handler): Add comment.  Call assert on pass value.
+
+2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
+
+       * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
+       (HAVE_AVX512_ASM_SUPPORT): Likewise.
+       * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
+       (La_x86_64_vector): Add zmm.
+       * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
+       (modules-names): Add tst-auditmod10a and tst-auditmod10b.
+       ($(objpfx)tst-audit10): New target.
+       ($(objpfx)tst-audit10.out): Likewise.
+       (tst-audit10-ENV): New.
+       (AVX512-CFLAGS): Likewise.
+       (CFLAGS-tst-audit10.c): Likewise.
+       (CFLAGS-tst-auditmod10a.c): Likewise.
+       (CFLAGS-tst-auditmod10b.c): Likewise.
+       * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
+       HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
+       * sysdeps/x86_64/configure: Regenerated.
+       * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
+       AVX-512 zmm register support.
+       (_dl_x86_64_save_sse): Likewise.
+       (_dl_x86_64_restore_sse): Likewise.
+       * sysdeps/x86_64/dl-trampoline.h: Updated to support different
+       size vector registers.
+       * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
+       (ZMM_SIZE): Likewise.
+       * sysdeps/x86_64/tst-audit10.c: New file.
+       * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
+       * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
+
+2014-03-13  Roland McGrath  <roland@hack.frob.com>
+
+       * configure.ac (HAVE_EHDR_START): New check.
+       * configure: Regenerated.
+       * config.h.in (HAVE_EHDR_START): New #undef.
+       * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
+       assuming the lowest-addressed segment maps the start of the file.
+
 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
 
        * INSTALL: Regenerated.
 
        [BZ #16381]
        * elf/Makefile (tests): Add tst-pie2.
-        (tests-pie): Add tst-pie2.
+       (tests-pie): Add tst-pie2.
        * elf/tst-pie2.c: New file.
        * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
        for ET_EXEC.
This page took 0.102895 seconds and 5 git commands to generate.