]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Merge remote branch 'origin/release/2.13/master' into local_ibm_2.13
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>
Tue, 12 Feb 2013 16:59:12 +0000 (10:59 -0600)
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>
Tue, 12 Feb 2013 17:01:40 +0000 (11:01 -0600)
Pick up dynamic linker fix related to bugzilla 12454 which is:
Inconsistency detected by ld.so: dl-deps.c: 622: _dl_map_object_deps:
Assertion `nlist > 1' failed!

1  2 
ChangeLog
elf/dl-deps.c

diff --cc ChangeLog
index f198ac1e743214d1eeafd94cdfd96f41e940425f,c2f5a1835d12b46555a9f62f4cc45c9920853ceb..2a0f90c0ece49a987e85a7771d618c4c9abf98ef
+++ b/ChangeLog
 +2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
 +
 +      * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
 +      used as bcopy.
 +
 +2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
 +
 +      * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
 +      __builtin_memcopy is called when src and dest ranges are known to not
 +      overlap.
 +
 +2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
 +
 +      * sysdeps/powerpc/powerpc64/power6/wordcopy.c
 +      (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
 +      fwd_align_merge macro call.
 +      (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
 +      bwd_align_merge macro call.
 +      * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
 +
 +2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
 +
 +      * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
 +      bwd_align_merge macros.
 +      (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
 +      (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
 +      * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
 +
 +2011-11-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 +
 +      * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
 +      * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
 +      optimized code.
 +      * sysdeps/powerpc/powerpc32/power7/Makefile: New file: added unroll-loop
 +      option for strncasecmp/strncasecmp_l compilation.
 +      * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file: strcasecmp
 +      optimization for PPC32.
 +      * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file: strcasecmp_l
 +      optimization for PPC32.
 +      * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option for
 +      strncasecmp/strncasecmp_l compilation.
 +      * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file: strcasecmp
 +      optimization for PPC64.
 +      * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file: strcasecmp_l
 +      optimization for PPC64.
 +
 +2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 +
 +      * math/libm-test.inc: Added more nerabyint tests.
 +      * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file: nearbyint
 +      optimized for PPC32.
 +      * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file: nearbyintf
 +      optimized for PPC32.
 +      * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file: nearbyint
 +      optimized for PPC64.
 +      * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file: nearbyintf
 +      optimized for PPC64.
 +
 +2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
 +
 +      * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
 +      "math_private.h".
 +
 +2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
 +
 +      [BZ #13472]
 +      * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
 +
 +2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 +
 +      * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
 +      of math functions ceil, trunc, floor, round, and sqrt, when
 +      avaliable on the platform.
 +      * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
 +      name clash.
 +      * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
 +      * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
 +      * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
 +
 +2011-10-12  Ulrich Drepper  <drepper@gmail.com>
 +
 +      Add integration with gcc's -ffinite-math-only and optimize wrapper
 +      functions in libm.
 +      * sysdeps/powerpc/fpu/e_hypot.c: Add __*_finite alias.
 +      * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
 +      * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
 +      * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
 +      * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
 +      * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
 +      * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
 +
 +2011-09-15  Andreas Schwab  <schwab@redhat.com>
 +
 +      * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
 +      __ieee754_sqrt instead of sqrt.
 +      * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
 +      __ieee754_sqrtf instead of sqrtf.
 +      * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
 +      __floorf instead of floorf.
 +      * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
 +      __floorf, __truncf instead of floorf, truncf.
 +
 +2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
 +
 +      * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
 +      for finite and infinity parameters.
 +
 +2011-08-15  Alan Modra  <amodra@gmail.com>
 +
 +      PR 13092
 +      * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
 +      * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
 +      * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
 +      ppc_mcount to static-only-routines.
 +      * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
 +      __mcount_internal.
 +      * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
 +      __mcount_internal with usual JUMPTARGET.  Remove useless nop.
 +
 +2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
 +
 +      * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
 +      and add nop instructions for throughput optimization.
 +      * sysdeps/powerpc/powerpc64/power7/strncmp.S: Adjust the alignment
 +      and nop instructions for throughput optimization.
 +
 +2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 +
 +      * sysdeps/powerpc/fpu/e_hypot.c: New file: hypot optimized for POWER.
 +      * sysdeps/powerpc/fpu/e_hypotf.c: New file: hypotf optimized for POWER.
 +      * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file: optimized for POWER.
 +      * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
 +      * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
 +      * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
 +      * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
 +      * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
 +      * sysdeps/powerpc/fpu/s_scalbnf.c: Likewise.
 +      * sysdeps/powerpc/fpu/s_float_bitwise.h: new file: bitwise operation over
 +      floats optimized for POWER7.
 +
 +2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
 +
 +      * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
 +      aligned copy for power7 with vector-scalar instructions.
 +
 +      * sysdeps/powerpc/powerpc64/power7/memcpy.S: Optimize the
 +      aligned copy for power7 with vector-scalar instructions.
 +
 +2011-06-30  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
 +
 +      * nptl/sysdeps/unix/sysv/linux/aio_misc.h
 +      (__aio_create_helper_thread): Remove call to
 +      pthread_attr_setstacksize () which set the stacksize to
 +      PTHREAD_STACK_MIN.  This is too small if large amounts of TLS are in
 +      use.  Removing this call effectively sets stacksize to 'default'.
 +
 +2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
 +
 +      * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
 +      and -mno-altivec to prevent the compiler from using Altivec and/or
 +      VSX instructions when the corresponding registers are not available.
 +
 +2011-02-11  Jakub Jelinek  <jakub@redhat.com>
 +
 +      * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
 +      arginfo fn returning -1.
 +
 +      * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
 +      and thousands string is zero terminated.
 +
 +2009-11-06  Petr Baudis <pasky@suse.cz>
 +
 +      * include/sys/uio.h: Change __vector to __iovec to avoid clash
 +      with altivec.
 +
 +2010-10-26  Peter Bergner  <bergner@vnet.ibm.com>
 +
 +      * elf/rtld.c (process_envvars): Added conditional EXTRA_LD_ENVVARS_11
 +      macro which allows overriding of AT_PLATFORM using an environment
 +      variable.
 +      * sysdeps/unix/sysv/linux/powerpc/dl-librecon.h: New file adding
 +      definition for the EXTRA_LD_ENVVARS_11 macro.
 +
 +2011-03-15  Alan Modra  <amodra@gmail.com>
 +
 +      * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
 +      l_tls_firstbyte_offset non-zero.  Save padding offset in
 +      l_tls_firstbyte_offset for later use.  Add debug print.
 +      * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
 +      freeing static tls block.  Add debug print.
 +      * elf/fl-tls.c (_dl_determine_tlsoffset): Add debug print.
 +
 +2011-05-03  Ryan S. Arnold  <rsa@us.ibm.com>
 +
 +      * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s): Add
 +      -fno-inline to prevent potential erroneous optimization where init is
 +      inlined to branch directly to fini.
 +
 +2011-02-23  Andreas Schwab  <schwab@redhat.com>
 +          Ulrich Drepper  <drepper@gmail.com>
 +
 +      [BZ #12509]
 +      * include/link.h (struct link_map): Add l_orig_initfini.
 +      * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
 +      returning unsuccessfully.
 +      * elf/dl-close.c (_dl_close_worker): If this is the last explicit
 +      close of a file loaded at startup, restore the original l_initfini
 +      list.
 +      * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
 +      list, store the pointer.
 +      * elf/Makefile ($(objpfx)noload-mem): New rule.
 +      (noload-ENV): Define.
 +      (tests): Add $(objpfx)noload-mem.
 +      * elf/noload.c: Include <memcheck.h>.
 +      (main): Call mtrace.  Close all opened handles.
 +
 +2011-02-17  Andreas Schwab  <schwab@redhat.com>
 +
 +      [BZ #12454]
 +      * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
 +      dependencies are missing.
 +
 +2010-09-28  Andreas Schwab  <schwab@redhat.com>
 +          Ulrich Drepper  <drepper@gmail.com>
 +
 +      [BZ #12489]
 +      * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
 +      before performing relro protection.  At old place add assertion
 +      to make sure nothing changed.
 +
 +2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
 +
 +      * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
 +      Make cancelable.
 +
 +2011-03-14  Andreas Schwab  <schwab@redhat.com>
 +
 +      * elf/dl-load.c (_dl_dst_substitute): When skipping the first
 +      rpath element also skip the following colon.
 +      (expand_dynamic_string_token): Add is_path parameter and pass
 +      down to DL_DST_REQUIRED and _dl_dst_substitute.
 +      (decompose_rpath): Call expand_dynamic_string_token with
 +      non-zero is_path.  Ignore empty rpaths.
 +      (_dl_map_object_from_fd): Call expand_dynamic_string_token
 +      with zero is_path.
 +
 +2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
 +
 +      * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
 +      differing bytes.
 +      * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
 +      * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
 +      * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
 +
 +2011-04-10  Ulrich Drepper  <drepper@gmail.com>
 +
 +      [BZ #12650]
 +      * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
 +      * sysdeps/ia64/dl-tls.h: Likewise.
 +      * sysdeps/powerpc/dl-tls.h: Likewise.
 +      * sysdeps/s390/dl-tls.h: Likewise.
 +      * sysdeps/sh/dl-tls.h: Likewise.
 +      * sysdeps/sparc/dl-tls.h: Likewise.
 +      * sysdeps/x86_64/dl-tls.h: Likewise.
 +      * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
 +
 +2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
 +
 +      * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
 +      END(__isnan) to END(__isnanf) to match function entry point/label
 +      EALIGN(__isnanf,...).
 +
 +2011-05-03  Ryan S. Arnold  <rsa@us.ibm.com>
 +
 +      * elf/dynamic-link.h (elf_get_dynamic_info): Remove assert() around
 +      DT_RUNPATH and DT_RPATH which prevents running a dynamic linker with
 +      an embedded RPATH flag, which is what a compiler modified to embed a
 +      non-default INTERP section would do.
 +
+ 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
+       [BZ #12454]
+       * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
+       when there are multiple maps.
+       * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
+       (_dl_fini): Remove test here.
+       * elf/rtld.c (dl_main): Don't allow the loader to load itself.
+ 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
+       [BZ #12653]
+       * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
+       MEMCPY_CHK with USE_AS_BCOPY ifdef check.
+       * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
+       * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
+       * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
  2010-09-28  Andreas Schwab  <schwab@redhat.com>
            Ulrich Drepper  <drepper@gmail.com>
  
diff --cc elf/dl-deps.c
Simple merge