]>
git.ipfire.org Git - thirdparty/glibc.git/log
Adhemerval Zanella [Wed, 13 Mar 2013 13:37:16 +0000 (10:37 -0300)]
PowerPC: Add missing file from previous commit.
Adhemerval Zanella [Wed, 13 Mar 2013 13:27:13 +0000 (10:27 -0300)]
PowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall.
Backport of
d5e0b9bd6e296f3ec5263fa296d39f3fed9b8fa2 .
Ryan S. Arnold [Tue, 12 Feb 2013 16:59:12 +0000 (10:59 -0600)]
Merge remote branch 'origin/release/2.13/master' into local_ibm_2.13
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!
Will Schmidt [Mon, 14 May 2012 17:15:55 +0000 (12:15 -0500)]
import memmove fix from Andreas Schwab for powerpc memmove/bcopy.
Will Schmidt [Mon, 14 May 2012 16:53:55 +0000 (11:53 -0500)]
Will Schmidt [Fri, 11 May 2012 14:41:06 +0000 (09:41 -0500)]
Add missing ChangeLog for previous commit.
Will Schmidt [Fri, 11 May 2012 02:48:13 +0000 (21:48 -0500)]
Backport of memmove changes
This commit merges in the following three origin/master changes into a
single commit.
commit
8ff41c4601f8b8d7dfa6682f596dc4071823424d
Author: Will Schmidt <will_schmidt@vnet.ibm.com>
Date: Wed Apr 18 16:44:27 2012 -0500
Have memmove call __builtin_memcopy on PowerPC if src and dest
don't overlap.
commit
6b652f46c3935088082bb5870b6fd9edbaa92125
Author: Will Schmidt <will_schmidt@vnet.ibm.com>
Date: Wed Apr 18 15:34:23 2012 -0500
Further simplify power6 wordcopy by removing switch statements.
This fix replaces switch statements that contain individual
[fwd|bwd]_align_merge (<constant>) calls with a single
[fwd|bwd]_align_merge (align) call.
commit
b282631e367f474bbd9e5d92e2aa54b3ce44efe8
Author: Will Schmidt <will_schmidt@vnet.ibm.com>
Date: Wed Apr 18 14:52:25 2012 -0500
Simplify power6 wordcopy by adding [fwd|bwd]_align_merge macros.
Adhemerval Zanella [Wed, 11 Jan 2012 18:16:27 +0000 (12:16 -0600)]
Merge Adhemerval Zanella's pipe2 fix into ibm/2.13/master
Ryan S. Arnold [Tue, 10 Jan 2012 21:40:14 +0000 (15:40 -0600)]
Fixed whitespace in ChangeLog that prevented a push.
Adhemerval Zanella [Fri, 30 Dec 2011 20:41:20 +0000 (15:41 -0500)]
Fix for AIO stack size (backported from 'master' branch)
Adhemerval Zanella [Fri, 30 Dec 2011 18:10:08 +0000 (13:10 -0500)]
Added __have_pipe2
Adhemerval Zanella [Fri, 30 Dec 2011 00:15:10 +0000 (19:15 -0500)]
PowerPC - Optimization for str[n]casecmp functions
This patch provides throughput boost for the strcasecmp function
(25% on ppc32 and 40% on ppc64) and strncasecmp (15% on both ppc32
and ppc64) for POWER7. The optimization is done by manually
(strcasecmp) or automatically (strncasecmp) unrolling the test loop
to avoid CPU stalls caused by a test followed by a load.
Adhemerval Zanella [Fri, 30 Dec 2011 00:10:41 +0000 (19:10 -0500)]
PowerPC - Optimization for nearbyint[f]
This patch provides throughput boost for the nearbyint[f] functions
for POWER. For POWER7, it improves performance for nearbyintf from
5 (ppc32) to 6 times (ppc64) and for nearbyint from 2.5 up to 5
times. For POWER6 it improves nearbyintf up to 2x (ppc64) and
nearbyint up to 4x.
Andreas Schwab [Thu, 29 Dec 2011 23:44:57 +0000 (18:44 -0500)]
Fix compilation due to __nan defines
Backport of commit #
ee2aafe08e68c88412b7dcfa4b1e0d11789348f8
Andreas Schwab [Thu, 29 Dec 2011 23:38:27 +0000 (18:38 -0500)]
Fix a wrong constant in powerpc hypot implementation
Backport of commit #
850fb039cec802072f70ed9763927881bbbf639c
Adhemerval Zanella [Thu, 29 Dec 2011 23:36:35 +0000 (18:36 -0500)]
PowerPC: Arithmetic function optimizations for POWER
This patch creates inline assembly functions that use intrinsic PPC
floating point instructions when the platform supports them but rely on
the internal GLIBC functions when the instructions are not implemented
(for instance, on POWER4).
Ulrich Drepper [Thu, 29 Dec 2011 23:36:05 +0000 (18:36 -0500)]
Optimize libm
libm is now somewhat integrated with gcc's -ffinite-math-only option
and lots of the wrapper functions have been optimized.
Backport of commit #
0ac5ae2335292908f39031b1ea9fe8edce433c0f
Andreas Schwab [Thu, 29 Dec 2011 23:35:19 +0000 (18:35 -0500)]
Fix PLT uses in libm on powerpc
Backport of commit #
edc121be8b53da57950daf6f42a619b5826f30b6
Alan Modra [Fri, 19 Aug 2011 16:39:38 +0000 (11:39 -0500)]
Fix profiling on powerpc32 secure-plt shared libs and PIEs
This patch moves the ppc32 _mcount to libc_shared.a, fixing a
long-standing bug with profiling of secure-plt shared libraries and
PIEs. The problem is that a ppc32 PIC PLT call stub uses r30 (GOT
pointer) to load the function address from the PLT, r30 being set up
in the function prologue, but _mcount is called before the function
prologue. So chances are good that r30 will be pointing to the
executable GOT when trying to call _mcount in a shared lib function.
A similar problem can occur in a PIE if a shared lib calls a function
in the executable.
Dave Flaherty [Fri, 19 Aug 2011 15:29:30 +0000 (10:29 -0500)]
Check for finite/infinity parms in IBM Long Double 128 fmal( )
This patch addresses some IBM Long Double 128 fmal () test-ldouble.out
and test-ildoubl.out failures. If the ‘x’ and ‘y’ parameters are
finite values and ‘z’ is infinity, the result of fmal () should be ‘z’
not NaN.
Will Schmidt [Thu, 18 Aug 2011 16:01:44 +0000 (11:01 -0500)]
Provide a throughput boost to the 64-bit power7 strncmp code of approx
15%. The 32-bit throughput is not notably affected by this change, so
the change to the 32-bit code is done to keep the two files in sync
with each other.
Adhemerval Zanella [Thu, 18 Aug 2011 14:25:37 +0000 (09:25 -0500)]
Trigonometric optimizations for POWER cpus
These POWER optimizations remove most of the FP->INT conversions in
hypot/hypotf and sinf/cosf on POWER making the computation done with
FP operations instead. This eliminates Load-Hit-Store (LHS) stalls,
increasing performance of hypot/hypotf (by about 100% on POWER7 and
12% on POWER6) and sinf/cosf (by 80% on POWER7 and 30% on POWER6).
Ryan S. Arnold [Thu, 18 Aug 2011 12:41:08 +0000 (07:41 -0500)]
Revert git commit
51f3cf36c1fc25ce2f2d932e087f29e8db19354c
Avoid deadcode and remove regressive optimization for POWER[5|6].
Revert git commit
6559b01648c2a08ea862ae923ce7d86c6e8cca45
Trigonometric optimizations for POWER cpus
Will Schmidt [Tue, 2 Aug 2011 22:55:36 +0000 (17:55 -0500)]
Optimize the aligned copy for power7 with vector-scalar insns.
Ulrich Drepper [Mon, 30 May 2011 16:31:25 +0000 (12:31 -0400)]
Handle DSOs without any dependency in ld.so
(cherry picked from commit
6b1e7d1992cd89032df431c0e0d1418b97e57cd8 )
ryanarn [Fri, 1 Jul 2011 14:42:21 +0000 (09:42 -0500)]
Remove pthread_attr_setstacksize from __aio_create_helper_thread.
(cherry picked from commit
2c3d9ba9a332cecb009b97ebac5bb78a13118c7c )
Adhemerval Zanella [Tue, 28 Jun 2011 20:50:13 +0000 (15:50 -0500)]
Avoid deadcode and remove regressive optimization for POWER[5|6].
(cherry picked from commit
ec11dbe1aabbb45d41f5e9c21e315e2496f3b473 )
Adhemerval Zanella [Fri, 17 Jun 2011 18:30:52 +0000 (13:30 -0500)]
Trigonometric optimizations for POWER cpus
These optimizations remove most of the FP->INT conversions making
the computation done with FP operations instead. This eliminates
Load-Hit-Store (LHS) stalls on POWER, increasing performance of
hypot/hypotf (about 50% on POWER7, 25% on POWER6, and 30% on POWER5)
and sinf/cosf (30% on POWER7, 15% on POWER6, and 10% on POWER5).
(cherry picked from commit
5939fc0867e1616a537c26d84ca1612b53b0303e )
Mike Frysinger [Mon, 18 Apr 2011 02:20:47 +0000 (22:20 -0400)]
Fix static linking with checking x86/x86-64 memcpy.
(cherry picked from commit
4c559bcdf38d7b655860c1a31c590109f37cc0fe )
Ryan S. Arnold [Wed, 18 May 2011 20:19:56 +0000 (15:19 -0500)]
Prevent Altivec and VSX insns on PowerPC64 when no FPRs or VRs are avail.
Jakub Jelinek [Tue, 15 Feb 2011 18:51:48 +0000 (13:51 -0500)]
Fix two printf handler issues.
(cherry picked from commit
c1d0e639a95d6d3d3f1c1f70cf97d596bd5a24ec )
Ryan Arnold [Tue, 11 May 2010 14:48:21 +0000 (09:48 -0500)]
This patch is not upstream. It is useful and non-invasive. It allows some
recent versions of GCC to compile GLIBC when altivec is configured.
2009-11-06 Petr Baudis <pasky@suse.cz>
* include/sys/uio.h: Change __vector to __iovec to avoid clash
with altivec.
(cherry picked from commit
bcb75669959f740e04208b773e99d87c5342dc34 )
Peter Bergner [Wed, 4 May 2011 05:55:37 +0000 (00:55 -0500)]
Add AT_PLATFORM env variable to ld.so to override auxv AT_PLATFORM.
Alan Modra [Tue, 3 May 2011 22:35:24 +0000 (17:35 -0500)]
Static TLS memory leak fix (DTV case)
Ryan S. Arnold [Tue, 3 May 2011 22:26:17 +0000 (17:26 -0500)]
Prevent erroneous inline optimization of initfini.s on PowerPC64.
Andreas Schwab [Sat, 26 Feb 2011 01:49:48 +0000 (20:49 -0500)]
Fix memory leak in dlopen with RTLD_NOLOAD.
(cherry picked from commit
4bff6e0175ed195871f4e01cc4c4c33274b8f6e3 )
Andreas Schwab [Fri, 25 Feb 2011 21:51:24 +0000 (16:51 -0500)]
Don't crash when dependencies are missing
(Cherry picked from commit
f2092faf2b6bd491a1891d5d5e393a8bf85d01d7 )
Andreas Schwab [Sun, 20 Feb 2011 12:24:56 +0000 (07:24 -0500)]
Move setting variable in relro data earlier in ld.so.
(cherry picked from commit
e23fe25b33324a9ea992276c1a4f04127bf9ba4b )
Andreas Schwab [Sat, 9 Apr 2011 15:07:18 +0000 (11:07 -0400)]
Make ppc sync_file_range cancelable.
(cherry picked from commit
f12a32e6f02c058c4996a138f16828f772059116 )
Andreas Schwab [Sat, 9 Apr 2011 18:55:26 +0000 (14:55 -0400)]
Don't leave empty element in rpath when skipping an element
(cherry picked from commit
34fe483e121660aff222ec1c15d57804f64191ea )
Andreas Schwab [Mon, 18 Apr 2011 02:03:53 +0000 (22:03 -0400)]
Fix POWER4/POWER7 optimized strncmp to not read past differing bytes
(cherry picked from commit
4420675c9d361643d1179ad67e0bb35c8fbdd1ce )
Ulrich Drepper [Mon, 11 Apr 2011 02:43:01 +0000 (22:43 -0400)]
Fix memory leak in TLS of loaded objects.
(cherry picked from commit
e6c61494125126d2ba77e5d99f83887a2ed49783 )
Ryan S. Arnold [Fri, 18 Mar 2011 09:15:00 +0000 (05:15 -0400)]
PowerPC: Fix POWER6 s_isnanf.S: END(__isnan) to END(__isnanf)
(cherry picked from commit
ccfe366e6fc64bb81183480bd2ae113041d3c84c )
Ryan S. Arnold [Tue, 3 May 2011 20:31:56 +0000 (15:31 -0500)]
Remove assert() if DT_RUNPATH and DT_RPATH flags are found in ld.so.
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.
Andreas Schwab [Sun, 20 Feb 2011 12:24:56 +0000 (07:24 -0500)]
Move setting variable in relro data earlier in ld.so.
(cherry picked from commit
e23fe25b33324a9ea992276c1a4f04127bf9ba4b )
Ryan S. Arnold [Thu, 17 Feb 2011 06:21:08 +0000 (01:21 -0500)]
Fix INTERNAL_[V]SYSCALL_NCS macros to not cast return val to int.
(cherry picked from commit
d55fd7a5573ea7c7c14af95bc37618469cde8a5f )
Ryan S. Arnold [Thu, 17 Feb 2011 05:59:15 +0000 (00:59 -0500)]
Disable VSX usage in rtld.c to prevent TOC ref before relocs are resolved.
(cherry picked from commit
2206397e1c46f69fb20eeb3de1920d3a7014c325 )
Petr Baudis [Thu, 3 Feb 2011 23:54:25 +0000 (00:54 +0100)]
NEWS: Remove section for version 2.14
We do not track lists of resolved bugs within stable releases.
Ulrich Drepper [Wed, 2 Feb 2011 16:50:49 +0000 (11:50 -0500)]
Fix passing symbol value to pltexit callbacks when ld.so auditing.
(cherry picked from commit
8517b15ee8e39fed11afb784fd0e249d977849f4 )
Andreas Schwab [Wed, 2 Feb 2011 13:59:04 +0000 (08:59 -0500)]
Fix range error handling in sgetspent.
(cherry picked from commit
10a656fe33d8257531ff3e9a882d3fd7db6ce5b3 )
Ulrich Drepper [Wed, 19 Jan 2011 20:36:47 +0000 (15:36 -0500)]
Patch followup.
Ulrich Drepper [Wed, 19 Jan 2011 20:32:35 +0000 (15:32 -0500)]
Fix ordering of DSO constructors and destructors.
Ulrich Drepper [Wed, 19 Jan 2011 20:50:05 +0000 (15:50 -0500)]
Fix decoding of canonical name in getaddrinfo.
Roland McGrath [Wed, 19 Jan 2011 18:20:38 +0000 (10:20 -0800)]
Fix comment typos.
Ulrich Drepper [Tue, 18 Jan 2011 17:30:07 +0000 (12:30 -0500)]
Run IFUNC tests unless no support build in at all.
Ulrich Drepper [Tue, 18 Jan 2011 04:34:07 +0000 (23:34 -0500)]
2.13 release
Ulrich Drepper [Mon, 17 Jan 2011 23:36:39 +0000 (18:36 -0500)]
Define AT_NO_AUTOMOUNT.
Ulrich Drepper [Mon, 17 Jan 2011 23:35:17 +0000 (18:35 -0500)]
Define MADV_NOHUGEPAGE.
Ulrich Drepper [Mon, 17 Jan 2011 23:24:59 +0000 (18:24 -0500)]
Define MADV_HUGEPAGE.
Ulrich Drepper [Mon, 17 Jan 2011 20:08:10 +0000 (15:08 -0500)]
Update copyright year.
Ulrich Drepper [Mon, 17 Jan 2011 19:21:02 +0000 (14:21 -0500)]
Add definitions for new socket protocols.
Andreas Schwab [Mon, 17 Jan 2011 02:32:07 +0000 (21:32 -0500)]
Fix missing dependencies and ensure correct CPPFLAGS.
Andreas Schwab [Mon, 17 Jan 2011 02:29:41 +0000 (21:29 -0500)]
Don't override --enable-multi-arch.
Ulrich Drepper [Sat, 15 Jan 2011 16:10:11 +0000 (11:10 -0500)]
Signal temporary host lookup errors in nscd as such to the requester.
Ulrich Drepper [Fri, 14 Jan 2011 13:42:11 +0000 (08:42 -0500)]
Change setgroups to affect all the threads in the process.
Ulrich Drepper [Fri, 14 Jan 2011 13:06:22 +0000 (08:06 -0500)]
FIx handling of unterminated [ expression in fnmatch.
Andreas Schwab [Thu, 13 Jan 2011 21:21:55 +0000 (16:21 -0500)]
Fix check-execstack test
Ulrich Drepper [Thu, 13 Jan 2011 21:21:04 +0000 (16:21 -0500)]
Clean up PLT use for getrlimit64.
Ulrich Drepper [Thu, 13 Jan 2011 19:01:56 +0000 (14:01 -0500)]
Fix PLT use due to __libc_alloca_cutoff.
Ulrich Drepper [Thu, 13 Jan 2011 18:27:46 +0000 (13:27 -0500)]
Relax requirement on close in child created by posix_spawn.
Ulrich Drepper [Thu, 13 Jan 2011 17:42:06 +0000 (12:42 -0500)]
Fix handling of missing syscall in Linux mkdirat.
Ulrich Drepper [Thu, 13 Jan 2011 16:28:17 +0000 (11:28 -0500)]
Handle long lines in host lookups in the right place.
Ulrich Drepper [Thu, 13 Jan 2011 04:10:00 +0000 (23:10 -0500)]
Fix assertion when handling DSTs during auditing.
Ulrich Drepper [Thu, 13 Jan 2011 01:59:32 +0000 (20:59 -0500)]
Fix alignment in x86 destructor calls.
Ulrich Drepper [Thu, 13 Jan 2011 01:58:21 +0000 (20:58 -0500)]
Add missing CL entry.
Ulrich Drepper [Thu, 13 Jan 2011 01:37:51 +0000 (20:37 -0500)]
Fix grouping when rounding increases number of integer digits.
Ulrich Drepper [Sun, 9 Jan 2011 21:49:17 +0000 (16:49 -0500)]
Clean up some bits/select.h headers.
Ulrich Drepper [Sat, 8 Jan 2011 14:38:14 +0000 (09:38 -0500)]
Update Japanese translations.
David S. Miller [Tue, 4 Jan 2011 20:13:05 +0000 (12:13 -0800)]
sparc64: Use i386 implementation for fxstat.
This was simply missed when Jakub converted all of the
other sparc64 xstat cases.
Jim Meyering [Mon, 27 Dec 2010 23:19:56 +0000 (18:19 -0500)]
Fix infloop on persistent failing calloc in regex.
Ulrich Drepper [Sun, 26 Dec 2010 18:54:08 +0000 (13:54 -0500)]
Update BZs.
Ulrich Drepper [Sun, 26 Dec 2010 01:12:27 +0000 (20:12 -0500)]
Use prlimit64 for 32-bit [gs]etrlimit64 implementation.
Ulrich Drepper [Sat, 25 Dec 2010 19:15:42 +0000 (14:15 -0500)]
Use fastbin macro everywhere.
Ulrich Drepper [Sat, 25 Dec 2010 18:56:48 +0000 (13:56 -0500)]
Change XPG-compliant strerror_r function to return error code.
Ulrich Drepper [Sat, 25 Dec 2010 01:15:45 +0000 (20:15 -0500)]
Pretty printing.
H.J. Lu [Sat, 25 Dec 2010 01:14:37 +0000 (20:14 -0500)]
Remove `.ctors' and `.dtors' output sections
Ulrich Drepper [Sat, 25 Dec 2010 00:28:32 +0000 (19:28 -0500)]
Always allow overwriting printf modifiers etc.
Ulrich Drepper [Mon, 20 Dec 2010 03:52:57 +0000 (22:52 -0500)]
Fix ChangeLogs.
Ryan S. Arnold [Mon, 20 Dec 2010 03:49:01 +0000 (22:49 -0500)]
Make PowerPC64 default to nonexecutable stack
Ulrich Drepper [Sun, 19 Dec 2010 21:00:59 +0000 (16:00 -0500)]
More accurate computatin of reclen in readdir_r.
Alignment issue can increase the reclen limit.
Make sure Linux 64-bit readdir_r also accounts for 64-bit alignment
in getdents.
Ulrich Drepper [Tue, 14 Dec 2010 18:09:28 +0000 (13:09 -0500)]
Undo accidental checkin.
Andreas Schwab [Fri, 10 Dec 2010 14:16:12 +0000 (09:16 -0500)]
Declare wcpcpy and wcpncpy only under _GNU_SOURCE
Andreas Schwab [Fri, 10 Dec 2010 14:15:01 +0000 (09:15 -0500)]
Fix use of restrict in wchar.h
Ulrich Drepper [Fri, 10 Dec 2010 00:22:52 +0000 (19:22 -0500)]
Fix typo in comment.
Ulrich Drepper [Thu, 9 Dec 2010 17:12:58 +0000 (12:12 -0500)]
Fix race in qsort_r initialization.
Jakub Jelinek [Thu, 9 Dec 2010 15:38:18 +0000 (10:38 -0500)]
Fix -D_FORTIFY_SOURCE memmove and bcop
Ulrich Drepper [Fri, 3 Dec 2010 14:50:35 +0000 (09:50 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
ChangeLog
Ulrich Drepper [Fri, 3 Dec 2010 14:49:21 +0000 (09:49 -0500)]
Update Italian translation.
H.J. Lu [Thu, 2 Dec 2010 03:18:31 +0000 (22:18 -0500)]
Remove dead code from x86-32 SSSE3 strncmp.
Ulrich Drepper [Tue, 30 Nov 2010 19:57:57 +0000 (14:57 -0500)]
Relax libm tests for x86-32.