summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-01-02 21:37:22 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-21 09:32:43 +0000
commit91a1baaf57153a86b7e14318c9d36e1cc38e3077 (patch)
tree51bb1d2724bbc5d3b98d9412de9cab8fb7b02524 /meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
parentc1f9507c69cac8cc28fec837a4bbb070c52a8a39 (diff)
downloadpoky-91a1baaf57153a86b7e14318c9d36e1cc38e3077.tar.gz
glibc: Upgrade to 2.23
Drop kconfig and options-group support Forward port cross-localedef support Assume ssp support in libc when building gcc-initial (From OE-Core rev: 9c3d461c4d54d684b38ec4c038a1c3c2fb9923f0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch')
-rw-r--r--meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
new file mode 100644
index 0000000000..21f04a1321
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
@@ -0,0 +1,32 @@
1From 2e1638115f0f924ee8235eee9265047054c15cfd Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Dec 2015 14:35:35 -0800
4Subject: [PATCH 04/24] nativesdk-glibc: Allow 64 bit atomics for x86
5
6The fix consist of allowing 64bit atomic ops for x86.
7This should be safe for i586 and newer CPUs.
8It also makes the synchronization more efficient.
9
10Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
11Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 sysdeps/i386/atomic-machine.h | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/sysdeps/i386/atomic-machine.h b/sysdeps/i386/atomic-machine.h
18index 59f3d34..6f6b7ff 100644
19--- a/sysdeps/i386/atomic-machine.h
20+++ b/sysdeps/i386/atomic-machine.h
21@@ -54,7 +54,7 @@ typedef uintmax_t uatomic_max_t;
22 # endif
23 #endif
24
25-#define __HAVE_64B_ATOMICS 0
26+#define __HAVE_64B_ATOMICS 1
27 #define USE_ATOMIC_COMPILER_BUILTINS 0
28
29
30--
312.6.4
32