Auto-sync with upstream master

Upstream commit: 468e525c81a4af10f2e613289b6ff7c950773a9e
This commit is contained in:
Carlos O'Donell 2017-01-12 22:17:58 -05:00
parent 41c1b49335
commit edb6156880
4 changed files with 13 additions and 3006 deletions

View File

@ -1,15 +0,0 @@
Index: b/sysdeps/unix/sysv/linux/x86/elision-conf.c
===================================================================
--- a/sysdeps/unix/sysv/linux/x86/elision-conf.c
+++ b/sysdeps/unix/sysv/linux/x86/elision-conf.c
@@ -58,6 +58,10 @@ elision_init (int argc __attribute__ ((u
char **environ)
{
int elision_available = HAS_CPU_FEATURE (RTM);
+#ifndef ENABLE_LOCK_ELISION
+ /* Override the CPU feature if elision is not enabled. */
+ elision_available = 0;
+#endif
#ifdef ENABLE_LOCK_ELISION
__pthread_force_elision = __libc_enable_secure ? 0 : elision_available;
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
%define glibcsrcdir glibc-2.24-592-g73dfd08
%define glibcsrcdir glibc-2.24-635-g468e525
%define glibcversion 2.24.90
%define glibcrelease 27%{?dist}
%define glibcrelease 28%{?dist}
# Pre-release tarballs are pulled in from git using a command that is
# effectively:
#
@ -241,9 +241,6 @@ Patch0046: glibc-rh1013801.patch
Patch0047: glibc-nscd-sysconfig.patch
# Disable rwlock elision if --enable-lock-elision is not used.
Patch0052: glibc-disable-rwlock-elision.patch
# confstr _CS_PATH should only return /usr/bin on Fedora since /bin is just a
# symlink to it.
Patch0053: glibc-cs-path.patch
@ -297,9 +294,6 @@ Patch2110: glibc-rh1351108-update-to-unicode-9.0.0.patch
# sln implemented by ldconfig, to conserve disk space.
Patch2112: glibc-rh1315476-2.patch
# New scalable read-write lock version 2.
Patch2113: glibc-new-rwlock.patch
##############################################################################
# End of glibc patches.
##############################################################################
@ -861,7 +855,6 @@ microbenchmark tests on the system.
%patch0047 -p1
%patch2033 -p1
%patch2034 -p1
%patch0052 -p1
%patch0053 -p1
%patch0059 -p1
%patch0060 -p1
@ -869,7 +862,6 @@ microbenchmark tests on the system.
%patch2037 -p1
%patch2110 -p1
%patch2112 -p1
%patch2113 -p1
##############################################################################
# %%prep - Additional prep required...
@ -2266,6 +2258,16 @@ rm -f *.filelist*
%endif
%changelog
* Thu Jan 12 2017 Carlos O'Donell <carlos@systemhalted.org> - 2.24.90-28
- Auto-sync with upstream master,
commit 468e525c81a4af10f2e613289b6ff7c950773a9e:
- Drop rwlock related patches applied upstream.
- Fix i686 memchr for large input sizes (swbz#21014)
- Fix x86 strncat for large input sizes (swbz#19390)
- powerpc: Fix write-after-destroy in lock elision (swbz#20822)
- New pthread rwlock that is more scalable.
- Fix testsuite build for GCC 7 -Wformat-truncation.
* Mon Jan 02 2017 Florian Weimer <fweimer@redhat.com> - 2.24.90-27
- Auto-sync with upstream master,
commit 73dfd088936b9237599e4ab737c7ae2ea7d710e1:

View File

@ -1 +1 @@
SHA512 (glibc-2.24-592-g73dfd08.tar.gz) = 35c610aafc89ddb53a227cbd928096ea701c7002460aba2c5b4c120a179aacde70d239df27d4d85070ac24ea6e85fc08ec039f4b97d8cfd813ce547b85f00423
SHA512 (glibc-2.24-635-g468e525.tar.gz) = 3d4f8e1ab2be44f39c7aa8bf1d75659e8460833adedb701d7db952a6fe0fb2216755f446dac2bc89986665986af88af23354f9f1a07333fda720e97170aae07e