summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-04-14 18:23:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-11 15:57:08 +0100
commit1f4f343ff290019987f25d06ea0c00d495660919 (patch)
treef139bbba8e209a1094a0fc14d446a4e0aba9e9be
parent715b05e9e193200c2e41fe4881b2ab1fdb639cc2 (diff)
downloadpoky-1f4f343ff290019987f25d06ea0c00d495660919.tar.gz
glibc: Upgrade to 2.25.90
Eventually it will be released as 2.26 final (From OE-Core rev: 5a58883258206893d15990953c8691b05473eecb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/distro/include/tcmode-default.inc2
-rw-r--r--meta/recipes-core/glibc/cross-localedef-native_2.25.90.bb (renamed from meta/recipes-core/glibc/cross-localedef-native_2.25.bb)26
-rw-r--r--meta/recipes-core/glibc/glibc-initial_2.25.90.bb (renamed from meta/recipes-core/glibc/glibc-initial_2.25.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-locale_2.25.90.bb (renamed from meta/recipes-core/glibc/glibc-locale_2.25.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-mtrace_2.25.90.bb (renamed from meta/recipes-core/glibc/glibc-mtrace_2.25.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-scripts_2.25.90.bb (renamed from meta/recipes-core/glibc/glibc-scripts_2.25.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch36
-rw-r--r--meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch13
-rw-r--r--meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch44
-rw-r--r--meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch30
-rw-r--r--meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch30
-rw-r--r--meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch10
-rw-r--r--meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch10
-rw-r--r--meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch44
-rw-r--r--meta/recipes-core/glibc/glibc/0012-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch (renamed from meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch)10
-rw-r--r--meta/recipes-core/glibc/glibc/0013-Add-unused-attribute.patch (renamed from meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch)8
-rw-r--r--meta/recipes-core/glibc/glibc/0014-yes-within-the-path-sets-wrong-config-variables.patch (renamed from meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch)30
-rw-r--r--meta/recipes-core/glibc/glibc/0015-timezone-re-written-tzselect-as-posix-sh.patch (renamed from meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch)12
-rw-r--r--meta/recipes-core/glibc/glibc/0016-Remove-bash-dependency-for-nscd-init-script.patch (renamed from meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch)11
-rw-r--r--meta/recipes-core/glibc/glibc/0017-eglibc-Cross-building-and-testing-instructions.patch (renamed from meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch)10
-rw-r--r--meta/recipes-core/glibc/glibc/0018-eglibc-Help-bootstrap-cross-toolchain.patch (renamed from meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch)10
-rw-r--r--meta/recipes-core/glibc/glibc/0019-eglibc-Clear-cache-lines-on-ppc8xx.patch (renamed from meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch)10
-rw-r--r--meta/recipes-core/glibc/glibc/0020-eglibc-Resolve-__fpscr_values-on-SH4.patch (renamed from meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch)10
-rw-r--r--meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch64
-rw-r--r--meta/recipes-core/glibc/glibc/0021-eglibc-Install-PIC-archives.patch (renamed from meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch)20
-rw-r--r--meta/recipes-core/glibc/glibc/0022-eglibc-Forward-port-cross-locale-generation-support.patch (renamed from meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch)36
-rw-r--r--meta/recipes-core/glibc/glibc/0023-Define-DUMMY_LOCALE_T-if-not-defined.patch (renamed from meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch)8
-rw-r--r--meta/recipes-core/glibc/glibc/0024-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch (renamed from meta/recipes-core/glibc/glibc/0026-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch)8
-rw-r--r--meta/recipes-core/glibc/glibc/0025-locale-fix-hard-coded-reference-to-gcc-E.patch (renamed from meta/recipes-core/glibc/glibc/0027-locale-fix-hard-coded-reference-to-gcc-E.patch)10
-rw-r--r--meta/recipes-core/glibc/glibc_2.25.90.bb (renamed from meta/recipes-core/glibc/glibc_2.25.bb)35
34 files changed, 231 insertions, 338 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index 424b8887cc..8ffb8ad046 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -26,7 +26,7 @@ GCCVERSION ?= "7.%"
26SDKGCCVERSION ?= "${GCCVERSION}" 26SDKGCCVERSION ?= "${GCCVERSION}"
27BINUVERSION ?= "2.28%" 27BINUVERSION ?= "2.28%"
28GDBVERSION ?= "8.0%" 28GDBVERSION ?= "8.0%"
29GLIBCVERSION ?= "2.25" 29GLIBCVERSION ?= "2.25%"
30LINUXLIBCVERSION ?= "4.10%" 30LINUXLIBCVERSION ?= "4.10%"
31 31
32PREFERRED_VERSION_gcc ?= "${GCCVERSION}" 32PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.25.bb b/meta/recipes-core/glibc/cross-localedef-native_2.25.90.bb
index cbd16f7263..5dd0c70400 100644
--- a/meta/recipes-core/glibc/cross-localedef-native_2.25.bb
+++ b/meta/recipes-core/glibc/cross-localedef-native_2.25.90.bb
@@ -17,25 +17,25 @@ inherit autotools
17 17
18FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:" 18FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:"
19 19
20SRCBRANCH ?= "release/${PV}/master" 20#SRCBRANCH ?= "release/${PV}/master"
21SRCBRANCH ?= "master"
21GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" 22GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
22UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)" 23UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"
23 24
24SRCREV_glibc ?= "db0242e3023436757bbc7c488a779e6e3343db04" 25SRCREV_glibc ?= "43a9f537fc121a867981ca31ea9d79f33ce0fd24"
25SRCREV_localedef ?= "29869b6dc11427c5bab839bdb155c85a7c644c71" 26SRCREV_localedef ?= "dfb4afe551c6c6e94f9cc85417bd1f582168c843"
26 27
27SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ 28SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
28 git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \ 29 git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \
29 file://0016-timezone-re-written-tzselect-as-posix-sh.patch \ 30 file://0015-timezone-re-written-tzselect-as-posix-sh.patch \
30 file://0017-Remove-bash-dependency-for-nscd-init-script.patch \ 31 file://0016-Remove-bash-dependency-for-nscd-init-script.patch \
31 file://0018-eglibc-Cross-building-and-testing-instructions.patch \ 32 file://0017-eglibc-Cross-building-and-testing-instructions.patch \
32 file://0019-eglibc-Help-bootstrap-cross-toolchain.patch \ 33 file://0018-eglibc-Help-bootstrap-cross-toolchain.patch \
33 file://0020-eglibc-cherry-picked-from.patch \ 34 file://0019-eglibc-Clear-cache-lines-on-ppc8xx.patch \
34 file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \ 35 file://0020-eglibc-Resolve-__fpscr_values-on-SH4.patch \
35 file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \ 36 file://0021-eglibc-Install-PIC-archives.patch \
36 file://0023-eglibc-Install-PIC-archives.patch \ 37 file://0022-eglibc-Forward-port-cross-locale-generation-support.patch \
37 file://0024-eglibc-Forward-port-cross-locale-generation-support.patch \ 38 file://0023-Define-DUMMY_LOCALE_T-if-not-defined.patch \
38 file://0025-Define-DUMMY_LOCALE_T-if-not-defined.patch \
39" 39"
40# Makes for a rather long rev (22 characters), but... 40# Makes for a rather long rev (22 characters), but...
41# 41#
diff --git a/meta/recipes-core/glibc/glibc-initial_2.25.bb b/meta/recipes-core/glibc/glibc-initial_2.25.90.bb
index e86770e12d..e86770e12d 100644
--- a/meta/recipes-core/glibc/glibc-initial_2.25.bb
+++ b/meta/recipes-core/glibc/glibc-initial_2.25.90.bb
diff --git a/meta/recipes-core/glibc/glibc-locale_2.25.bb b/meta/recipes-core/glibc/glibc-locale_2.25.90.bb
index f7702e0358..f7702e0358 100644
--- a/meta/recipes-core/glibc/glibc-locale_2.25.bb
+++ b/meta/recipes-core/glibc/glibc-locale_2.25.90.bb
diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.25.bb b/meta/recipes-core/glibc/glibc-mtrace_2.25.90.bb
index 0b69bad46a..0b69bad46a 100644
--- a/meta/recipes-core/glibc/glibc-mtrace_2.25.bb
+++ b/meta/recipes-core/glibc/glibc-mtrace_2.25.90.bb
diff --git a/meta/recipes-core/glibc/glibc-scripts_2.25.bb b/meta/recipes-core/glibc/glibc-scripts_2.25.90.bb
index 5a89bd8022..5a89bd8022 100644
--- a/meta/recipes-core/glibc/glibc-scripts_2.25.bb
+++ b/meta/recipes-core/glibc/glibc-scripts_2.25.90.bb
diff --git a/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch b/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
index 0553f8a472..19c1d9bf14 100644
--- a/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
+++ b/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
@@ -1,7 +1,7 @@
1From 2727e58d1d269994de17cadb12195001b14585e7 Mon Sep 17 00:00:00 2001 1From 81346b2f7735698078d5bf919a78b6c0269d6fee Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:48:24 +0000 3Date: Wed, 18 Mar 2015 01:48:24 +0000
4Subject: [PATCH 01/26] nativesdk-glibc: Look for host system ld.so.cache as 4Subject: [PATCH 01/25] nativesdk-glibc: Look for host system ld.so.cache as
5 well 5 well
6 6
7Upstream-Status: Inappropriate [embedded specific] 7Upstream-Status: Inappropriate [embedded specific]
@@ -31,7 +31,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
31 1 file changed, 8 insertions(+), 8 deletions(-) 31 1 file changed, 8 insertions(+), 8 deletions(-)
32 32
33diff --git a/elf/dl-load.c b/elf/dl-load.c 33diff --git a/elf/dl-load.c b/elf/dl-load.c
34index 51fb0d0..f503dbc 100644 34index c1b6d4ba0f..d7af9ebcbc 100644
35--- a/elf/dl-load.c 35--- a/elf/dl-load.c
36+++ b/elf/dl-load.c 36+++ b/elf/dl-load.c
37@@ -2054,6 +2054,14 @@ _dl_map_object (struct link_map *loader, const char *name, 37@@ -2054,6 +2054,14 @@ _dl_map_object (struct link_map *loader, const char *name,
@@ -65,5 +65,5 @@ index 51fb0d0..f503dbc 100644
65 if (__glibc_unlikely (GLRO(dl_debug_mask) & DL_DEBUG_LIBS)) 65 if (__glibc_unlikely (GLRO(dl_debug_mask) & DL_DEBUG_LIBS))
66 _dl_debug_printf ("\n"); 66 _dl_debug_printf ("\n");
67-- 67--
682.10.2 682.13.2
69 69
diff --git a/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch b/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
index e5ef3410e9..2ce240be6f 100644
--- a/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
+++ b/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
@@ -1,7 +1,7 @@
1From 1578f52647ec8804186d1944d4cd2095132efc39 Mon Sep 17 00:00:00 2001 1From 82f2e910ec0e2de6a9e2b007825bddfc5850575d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:50:00 +0000 3Date: Wed, 18 Mar 2015 01:50:00 +0000
4Subject: [PATCH 02/26] nativesdk-glibc: Fix buffer overrun with a relocated 4Subject: [PATCH 02/25] nativesdk-glibc: Fix buffer overrun with a relocated
5 SDK 5 SDK
6 6
7When ld-linux-*.so.2 is relocated to a path that is longer than the 7When ld-linux-*.so.2 is relocated to a path that is longer than the
@@ -22,7 +22,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
22 1 file changed, 12 insertions(+) 22 1 file changed, 12 insertions(+)
23 23
24diff --git a/elf/dl-load.c b/elf/dl-load.c 24diff --git a/elf/dl-load.c b/elf/dl-load.c
25index f503dbc..3a3d112 100644 25index d7af9ebcbc..19c1db9948 100644
26--- a/elf/dl-load.c 26--- a/elf/dl-load.c
27+++ b/elf/dl-load.c 27+++ b/elf/dl-load.c
28@@ -1753,7 +1753,19 @@ open_path (const char *name, size_t namelen, int mode, 28@@ -1753,7 +1753,19 @@ open_path (const char *name, size_t namelen, int mode,
@@ -46,5 +46,5 @@ index f503dbc..3a3d112 100644
46 { 46 {
47 struct r_search_path_elem *this_dir = *dirs; 47 struct r_search_path_elem *this_dir = *dirs;
48-- 48--
492.10.2 492.13.2
50 50
diff --git a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
index 9e207e44d9..397e8b3169 100644
--- a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
+++ b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
@@ -1,7 +1,7 @@
1From e53968d61804b6bab32ec6e13cc0b3cd57214796 Mon Sep 17 00:00:00 2001 1From 490a0eb4da1af726ea5d68e3efc0d18ba94c4054 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:51:38 +0000 3Date: Wed, 18 Mar 2015 01:51:38 +0000
4Subject: [PATCH 03/26] nativesdk-glibc: Raise the size of arrays containing dl 4Subject: [PATCH 03/25] nativesdk-glibc: Raise the size of arrays containing dl
5 paths 5 paths
6 6
7This patch puts the dynamic loader path in the binaries, SYSTEM_DIRS strings 7This patch puts the dynamic loader path in the binaries, SYSTEM_DIRS strings
@@ -26,10 +26,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 7 files changed, 14 insertions(+), 10 deletions(-) 26 7 files changed, 14 insertions(+), 10 deletions(-)
27 27
28diff --git a/elf/dl-cache.c b/elf/dl-cache.c 28diff --git a/elf/dl-cache.c b/elf/dl-cache.c
29index cfa335e..daa12ec 100644 29index e9632da0b3..4de529d2cf 100644
30--- a/elf/dl-cache.c 30--- a/elf/dl-cache.c
31+++ b/elf/dl-cache.c 31+++ b/elf/dl-cache.c
32@@ -132,6 +132,10 @@ do \ 32@@ -133,6 +133,10 @@ do \
33 while (0) 33 while (0)
34 34
35 35
@@ -41,7 +41,7 @@ index cfa335e..daa12ec 100644
41 internal_function 41 internal_function
42 _dl_cache_libcmp (const char *p1, const char *p2) 42 _dl_cache_libcmp (const char *p1, const char *p2)
43diff --git a/elf/dl-load.c b/elf/dl-load.c 43diff --git a/elf/dl-load.c b/elf/dl-load.c
44index 3a3d112..a1410e4 100644 44index 19c1db9948..70c259b400 100644
45--- a/elf/dl-load.c 45--- a/elf/dl-load.c
46+++ b/elf/dl-load.c 46+++ b/elf/dl-load.c
47@@ -106,8 +106,8 @@ static size_t max_capstrlen attribute_relro; 47@@ -106,8 +106,8 @@ static size_t max_capstrlen attribute_relro;
@@ -56,7 +56,7 @@ index 3a3d112..a1410e4 100644
56 SYSTEM_DIRS_LEN 56 SYSTEM_DIRS_LEN
57 }; 57 };
58diff --git a/elf/interp.c b/elf/interp.c 58diff --git a/elf/interp.c b/elf/interp.c
59index 9448802..e7e8c70 100644 59index b6e8f04444..47c20415bc 100644
60--- a/elf/interp.c 60--- a/elf/interp.c
61+++ b/elf/interp.c 61+++ b/elf/interp.c
62@@ -18,5 +18,5 @@ 62@@ -18,5 +18,5 @@
@@ -67,7 +67,7 @@ index 9448802..e7e8c70 100644
67+const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp"))) 67+const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp")))
68 = RUNTIME_LINKER; 68 = RUNTIME_LINKER;
69diff --git a/elf/ldconfig.c b/elf/ldconfig.c 69diff --git a/elf/ldconfig.c b/elf/ldconfig.c
70index 467ca82..631a2a9 100644 70index 99caf9e9bb..36ea5df5f1 100644
71--- a/elf/ldconfig.c 71--- a/elf/ldconfig.c
72+++ b/elf/ldconfig.c 72+++ b/elf/ldconfig.c
73@@ -168,6 +168,9 @@ static struct argp argp = 73@@ -168,6 +168,9 @@ static struct argp argp =
@@ -81,18 +81,18 @@ index 467ca82..631a2a9 100644
81 a platform. */ 81 a platform. */
82 static int 82 static int
83diff --git a/elf/rtld.c b/elf/rtld.c 83diff --git a/elf/rtld.c b/elf/rtld.c
84index 4ec25d7..e159c12 100644 84index 65647fb1c8..cd8381cb33 100644
85--- a/elf/rtld.c 85--- a/elf/rtld.c
86+++ b/elf/rtld.c 86+++ b/elf/rtld.c
87@@ -99,6 +99,7 @@ uintptr_t __pointer_chk_guard_local 87@@ -128,6 +128,7 @@ dso_name_valid_for_suid (const char *p)
88 strong_alias (__pointer_chk_guard_local, __pointer_chk_guard) 88 }
89 #endif 89 return *p != '\0';
90 90 }
91+extern const char LD_SO_CACHE[4096] __attribute__ ((section (".ldsocache"))); 91+extern const char LD_SO_CACHE[4096] __attribute__ ((section (".ldsocache")));
92 92
93 /* List of auditing DSOs. */ 93 /* LD_AUDIT variable contents. Must be processed before the
94 static struct audit_list 94 audit_list below. */
95@@ -854,12 +855,12 @@ of this helper program; chances are you did not intend to run this program.\n\ 95@@ -999,12 +1000,12 @@ of this helper program; chances are you did not intend to run this program.\n\
96 --list list all dependencies and how they are resolved\n\ 96 --list list all dependencies and how they are resolved\n\
97 --verify verify that given object really is a dynamically linked\n\ 97 --verify verify that given object really is a dynamically linked\n\
98 object we can handle\n\ 98 object we can handle\n\
@@ -108,7 +108,7 @@ index 4ec25d7..e159c12 100644
108 ++_dl_skip_args; 108 ++_dl_skip_args;
109 --_dl_argc; 109 --_dl_argc;
110diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c 110diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c
111index e235188..569f72e 100644 111index 5aa055de6e..b9a14b9bd3 100644
112--- a/iconv/gconv_conf.c 112--- a/iconv/gconv_conf.c
113+++ b/iconv/gconv_conf.c 113+++ b/iconv/gconv_conf.c
114@@ -36,7 +36,7 @@ 114@@ -36,7 +36,7 @@
@@ -121,7 +121,7 @@ index e235188..569f72e 100644
121 /* The path elements, as determined by the __gconv_get_path function. 121 /* The path elements, as determined by the __gconv_get_path function.
122 All path elements end in a slash. */ 122 All path elements end in a slash. */
123diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h 123diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h
124index eb2f900..505804e 100644 124index 1f0b8f629d..acbe68399d 100644
125--- a/sysdeps/generic/dl-cache.h 125--- a/sysdeps/generic/dl-cache.h
126+++ b/sysdeps/generic/dl-cache.h 126+++ b/sysdeps/generic/dl-cache.h
127@@ -27,10 +27,6 @@ 127@@ -27,10 +27,6 @@
@@ -136,5 +136,5 @@ index eb2f900..505804e 100644
136 # define add_system_dir(dir) add_dir (dir) 136 # define add_system_dir(dir) add_dir (dir)
137 #endif 137 #endif
138-- 138--
1392.10.2 1392.13.2
140 140
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
index 0926a110e0..8db47bca78 100644
--- 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
@@ -1,22 +1,23 @@
1From 0b95f34207ffed3aa53fa949662bfbccc7c864a4 Mon Sep 17 00:00:00 2001 1From 8fe1b56180c30d237cc2ab9a5a9c97a0311f41da Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Dec 2015 14:35:35 -0800 3Date: Thu, 31 Dec 2015 14:35:35 -0800
4Subject: [PATCH 04/26] nativesdk-glibc: Allow 64 bit atomics for x86 4Subject: [PATCH 04/25] nativesdk-glibc: Allow 64 bit atomics for x86
5 5
6The fix consist of allowing 64bit atomic ops for x86. 6The fix consist of allowing 64bit atomic ops for x86.
7This should be safe for i586 and newer CPUs. 7This should be safe for i586 and newer CPUs.
8It also makes the synchronization more efficient. 8It also makes the synchronization more efficient.
9 9
10Upstream-Status: Inappropriate [OE-Specific]
11
10Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> 12Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
11Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 13Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 14Signed-off-by: Khem Raj <raj.khem@gmail.com>
13Upstream-Status: Pending
14--- 15---
15 sysdeps/i386/atomic-machine.h | 2 +- 16 sysdeps/i386/atomic-machine.h | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
17 18
18diff --git a/sysdeps/i386/atomic-machine.h b/sysdeps/i386/atomic-machine.h 19diff --git a/sysdeps/i386/atomic-machine.h b/sysdeps/i386/atomic-machine.h
19index ce62b33..4fe44ea 100644 20index 0e24200617..1532f52dec 100644
20--- a/sysdeps/i386/atomic-machine.h 21--- a/sysdeps/i386/atomic-machine.h
21+++ b/sysdeps/i386/atomic-machine.h 22+++ b/sysdeps/i386/atomic-machine.h
22@@ -54,7 +54,7 @@ typedef uintmax_t uatomic_max_t; 23@@ -54,7 +54,7 @@ typedef uintmax_t uatomic_max_t;
@@ -26,8 +27,8 @@ index ce62b33..4fe44ea 100644
26-#define __HAVE_64B_ATOMICS 0 27-#define __HAVE_64B_ATOMICS 0
27+#define __HAVE_64B_ATOMICS 1 28+#define __HAVE_64B_ATOMICS 1
28 #define USE_ATOMIC_COMPILER_BUILTINS 0 29 #define USE_ATOMIC_COMPILER_BUILTINS 0
29 30 #define ATOMIC_EXCHANGE_USES_CAS 0
30 31
31-- 32--
322.10.2 332.13.2
33 34
diff --git a/meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch b/meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch
index ee50000319..956b2aae7a 100644
--- a/meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch
+++ b/meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch
@@ -1,7 +1,7 @@
1From 77a7495376c7d0c5507c0ec99bf1568150339ef4 Mon Sep 17 00:00:00 2001 1From b9edcc845641956b7286c60c833f05a9f70cfab9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:01:50 +0000 3Date: Wed, 18 Mar 2015 00:01:50 +0000
4Subject: [PATCH 05/26] fsl e500/e5500/e6500/603e fsqrt implementation 4Subject: [PATCH 05/25] fsl e500/e5500/e6500/603e fsqrt implementation
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7Signed-off-by: Edmar Wienskoski <edmar@freescale.com> 7Signed-off-by: Edmar Wienskoski <edmar@freescale.com>
@@ -49,7 +49,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
49 49
50diff --git a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c 50diff --git a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c
51new file mode 100644 51new file mode 100644
52index 0000000..71e516d 52index 0000000000..71e516d1c8
53--- /dev/null 53--- /dev/null
54+++ b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c 54+++ b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c
55@@ -0,0 +1,134 @@ 55@@ -0,0 +1,134 @@
@@ -189,7 +189,7 @@ index 0000000..71e516d
189+} 189+}
190diff --git a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c 190diff --git a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c
191new file mode 100644 191new file mode 100644
192index 0000000..26fa067 192index 0000000000..26fa067abf
193--- /dev/null 193--- /dev/null
194+++ b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c 194+++ b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c
195@@ -0,0 +1,101 @@ 195@@ -0,0 +1,101 @@
@@ -296,7 +296,7 @@ index 0000000..26fa067
296+} 296+}
297diff --git a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c 297diff --git a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c
298new file mode 100644 298new file mode 100644
299index 0000000..71e516d 299index 0000000000..71e516d1c8
300--- /dev/null 300--- /dev/null
301+++ b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c 301+++ b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c
302@@ -0,0 +1,134 @@ 302@@ -0,0 +1,134 @@
@@ -436,7 +436,7 @@ index 0000000..71e516d
436+} 436+}
437diff --git a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c 437diff --git a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c
438new file mode 100644 438new file mode 100644
439index 0000000..26fa067 439index 0000000000..26fa067abf
440--- /dev/null 440--- /dev/null
441+++ b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c 441+++ b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c
442@@ -0,0 +1,101 @@ 442@@ -0,0 +1,101 @@
@@ -543,7 +543,7 @@ index 0000000..26fa067
543+} 543+}
544diff --git a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c 544diff --git a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c
545new file mode 100644 545new file mode 100644
546index 0000000..71e516d 546index 0000000000..71e516d1c8
547--- /dev/null 547--- /dev/null
548+++ b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c 548+++ b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c
549@@ -0,0 +1,134 @@ 549@@ -0,0 +1,134 @@
@@ -683,7 +683,7 @@ index 0000000..71e516d
683+} 683+}
684diff --git a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c 684diff --git a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c
685new file mode 100644 685new file mode 100644
686index 0000000..26fa067 686index 0000000000..26fa067abf
687--- /dev/null 687--- /dev/null
688+++ b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c 688+++ b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c
689@@ -0,0 +1,101 @@ 689@@ -0,0 +1,101 @@
@@ -790,7 +790,7 @@ index 0000000..26fa067
790+} 790+}
791diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c 791diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c
792new file mode 100644 792new file mode 100644
793index 0000000..71e516d 793index 0000000000..71e516d1c8
794--- /dev/null 794--- /dev/null
795+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c 795+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c
796@@ -0,0 +1,134 @@ 796@@ -0,0 +1,134 @@
@@ -930,7 +930,7 @@ index 0000000..71e516d
930+} 930+}
931diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c 931diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c
932new file mode 100644 932new file mode 100644
933index 0000000..26fa067 933index 0000000000..26fa067abf
934--- /dev/null 934--- /dev/null
935+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c 935+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c
936@@ -0,0 +1,101 @@ 936@@ -0,0 +1,101 @@
@@ -1037,7 +1037,7 @@ index 0000000..26fa067
1037+} 1037+}
1038diff --git a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c 1038diff --git a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c
1039new file mode 100644 1039new file mode 100644
1040index 0000000..71e516d 1040index 0000000000..71e516d1c8
1041--- /dev/null 1041--- /dev/null
1042+++ b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c 1042+++ b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c
1043@@ -0,0 +1,134 @@ 1043@@ -0,0 +1,134 @@
@@ -1177,7 +1177,7 @@ index 0000000..71e516d
1177+} 1177+}
1178diff --git a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c 1178diff --git a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c
1179new file mode 100644 1179new file mode 100644
1180index 0000000..26fa067 1180index 0000000000..26fa067abf
1181--- /dev/null 1181--- /dev/null
1182+++ b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c 1182+++ b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c
1183@@ -0,0 +1,101 @@ 1183@@ -0,0 +1,101 @@
@@ -1284,7 +1284,7 @@ index 0000000..26fa067
1284+} 1284+}
1285diff --git a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c 1285diff --git a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c
1286new file mode 100644 1286new file mode 100644
1287index 0000000..71e516d 1287index 0000000000..71e516d1c8
1288--- /dev/null 1288--- /dev/null
1289+++ b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c 1289+++ b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c
1290@@ -0,0 +1,134 @@ 1290@@ -0,0 +1,134 @@
@@ -1424,7 +1424,7 @@ index 0000000..71e516d
1424+} 1424+}
1425diff --git a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c 1425diff --git a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c
1426new file mode 100644 1426new file mode 100644
1427index 0000000..26fa067 1427index 0000000000..26fa067abf
1428--- /dev/null 1428--- /dev/null
1429+++ b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c 1429+++ b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c
1430@@ -0,0 +1,101 @@ 1430@@ -0,0 +1,101 @@
@@ -1531,14 +1531,14 @@ index 0000000..26fa067
1531+} 1531+}
1532diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/fpu/Implies 1532diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/fpu/Implies
1533new file mode 100644 1533new file mode 100644
1534index 0000000..b103b4d 1534index 0000000000..b103b4dea5
1535--- /dev/null 1535--- /dev/null
1536+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/fpu/Implies 1536+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/fpu/Implies
1537@@ -0,0 +1 @@ 1537@@ -0,0 +1 @@
1538+powerpc/powerpc32/603e/fpu 1538+powerpc/powerpc32/603e/fpu
1539diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/e300c3/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e300c3/fpu/Implies 1539diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/e300c3/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e300c3/fpu/Implies
1540new file mode 100644 1540new file mode 100644
1541index 0000000..64db17f 1541index 0000000000..64db17fada
1542--- /dev/null 1542--- /dev/null
1543+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e300c3/fpu/Implies 1543+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e300c3/fpu/Implies
1544@@ -0,0 +1,2 @@ 1544@@ -0,0 +1,2 @@
@@ -1546,39 +1546,39 @@ index 0000000..64db17f
1546+powerpc/powerpc32/603e/fpu 1546+powerpc/powerpc32/603e/fpu
1547diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500mc/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500mc/fpu/Implies 1547diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500mc/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500mc/fpu/Implies
1548new file mode 100644 1548new file mode 100644
1549index 0000000..7eac5fc 1549index 0000000000..7eac5fcf02
1550--- /dev/null 1550--- /dev/null
1551+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500mc/fpu/Implies 1551+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500mc/fpu/Implies
1552@@ -0,0 +1 @@ 1552@@ -0,0 +1 @@
1553+powerpc/powerpc32/e500mc/fpu 1553+powerpc/powerpc32/e500mc/fpu
1554diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/e5500/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e5500/fpu/Implies 1554diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/e5500/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e5500/fpu/Implies
1555new file mode 100644 1555new file mode 100644
1556index 0000000..264b2a7 1556index 0000000000..264b2a7700
1557--- /dev/null 1557--- /dev/null
1558+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e5500/fpu/Implies 1558+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e5500/fpu/Implies
1559@@ -0,0 +1 @@ 1559@@ -0,0 +1 @@
1560+powerpc/powerpc32/e5500/fpu 1560+powerpc/powerpc32/e5500/fpu
1561diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/e6500/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e6500/fpu/Implies 1561diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/e6500/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e6500/fpu/Implies
1562new file mode 100644 1562new file mode 100644
1563index 0000000..a259344 1563index 0000000000..a25934467b
1564--- /dev/null 1564--- /dev/null
1565+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e6500/fpu/Implies 1565+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/e6500/fpu/Implies
1566@@ -0,0 +1 @@ 1566@@ -0,0 +1 @@
1567+powerpc/powerpc32/e6500/fpu 1567+powerpc/powerpc32/e6500/fpu
1568diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/e5500/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/e5500/fpu/Implies 1568diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/e5500/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/e5500/fpu/Implies
1569new file mode 100644 1569new file mode 100644
1570index 0000000..a7bc854 1570index 0000000000..a7bc854be8
1571--- /dev/null 1571--- /dev/null
1572+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/e5500/fpu/Implies 1572+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/e5500/fpu/Implies
1573@@ -0,0 +1 @@ 1573@@ -0,0 +1 @@
1574+powerpc/powerpc64/e5500/fpu 1574+powerpc/powerpc64/e5500/fpu
1575diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/e6500/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/e6500/fpu/Implies 1575diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/e6500/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/e6500/fpu/Implies
1576new file mode 100644 1576new file mode 100644
1577index 0000000..04ff8cc 1577index 0000000000..04ff8cc181
1578--- /dev/null 1578--- /dev/null
1579+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/e6500/fpu/Implies 1579+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/e6500/fpu/Implies
1580@@ -0,0 +1 @@ 1580@@ -0,0 +1 @@
1581+powerpc/powerpc64/e6500/fpu 1581+powerpc/powerpc64/e6500/fpu
1582-- 1582--
15832.10.2 15832.13.2
1584 1584
diff --git a/meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch b/meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
index 9088d29c4a..c74fead625 100644
--- a/meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
+++ b/meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
@@ -1,7 +1,7 @@
1From 520cb9e746af637cf01fea385b7f4ee4aadbdfdd Mon Sep 17 00:00:00 2001 1From 324202488a1c2439be345745722f5cb04c0e0847 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:11:22 +0000 3Date: Wed, 18 Mar 2015 00:11:22 +0000
4Subject: [PATCH 06/26] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known 4Subject: [PATCH 06/25] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known
5 names 5 names
6 6
7This bolts in a hook for OE to pass its own version of interpreter 7This bolts in a hook for OE to pass its own version of interpreter
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 1 file changed, 1 insertion(+) 17 1 file changed, 1 insertion(+)
18 18
19diff --git a/elf/readlib.c b/elf/readlib.c 19diff --git a/elf/readlib.c b/elf/readlib.c
20index 8a66ffe..08d56fc 100644 20index d278a189b2..a84cb85158 100644
21--- a/elf/readlib.c 21--- a/elf/readlib.c
22+++ b/elf/readlib.c 22+++ b/elf/readlib.c
23@@ -51,6 +51,7 @@ static struct known_names interpreters[] = 23@@ -51,6 +51,7 @@ static struct known_names interpreters[] =
@@ -29,5 +29,5 @@ index 8a66ffe..08d56fc 100644
29 29
30 static struct known_names known_libs[] = 30 static struct known_names known_libs[] =
31-- 31--
322.10.2 322.13.2
33 33
diff --git a/meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch b/meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch
index f33defe075..b64327667c 100644
--- a/meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch
+++ b/meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch
@@ -1,7 +1,7 @@
1From 64130262787d54e2e6695ae4ed8783bfec14ffef Mon Sep 17 00:00:00 2001 1From cf00bf9de8128171e79a019de809e35f3aeed281 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:15:07 +0000 3Date: Wed, 18 Mar 2015 00:15:07 +0000
4Subject: [PATCH 07/26] ppc/sqrt: Fix undefined reference to `__sqrt_finite' 4Subject: [PATCH 07/25] ppc/sqrt: Fix undefined reference to `__sqrt_finite'
5 5
6on ppc fixes the errors like below 6on ppc fixes the errors like below
7| ./.libs/libpulsecore-1.1.so: undefined reference to `__sqrt_finite' 7| ./.libs/libpulsecore-1.1.so: undefined reference to `__sqrt_finite'
@@ -36,7 +36,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
36 12 files changed, 12 insertions(+), 24 deletions(-) 36 12 files changed, 12 insertions(+), 24 deletions(-)
37 37
38diff --git a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c 38diff --git a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c
39index 71e516d..1795fd6 100644 39index 71e516d1c8..1795fd6c3e 100644
40--- a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c 40--- a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c
41+++ b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c 41+++ b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c
42@@ -39,14 +39,8 @@ static const float half = 0.5; 42@@ -39,14 +39,8 @@ static const float half = 0.5;
@@ -60,7 +60,7 @@ index 71e516d..1795fd6 100644
60 } 60 }
61+strong_alias (__ieee754_sqrt, __sqrt_finite) 61+strong_alias (__ieee754_sqrt, __sqrt_finite)
62diff --git a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c 62diff --git a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c
63index 26fa067..a917f31 100644 63index 26fa067abf..a917f313ab 100644
64--- a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c 64--- a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c
65+++ b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c 65+++ b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c
66@@ -37,14 +37,8 @@ static const float threehalf = 1.5; 66@@ -37,14 +37,8 @@ static const float threehalf = 1.5;
@@ -84,7 +84,7 @@ index 26fa067..a917f31 100644
84 } 84 }
85+strong_alias (__ieee754_sqrtf, __sqrtf_finite) 85+strong_alias (__ieee754_sqrtf, __sqrtf_finite)
86diff --git a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c 86diff --git a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c
87index 71e516d..fc4a749 100644 87index 71e516d1c8..fc4a74990e 100644
88--- a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c 88--- a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c
89+++ b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c 89+++ b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c
90@@ -132,3 +132,4 @@ __ieee754_sqrt (b) 90@@ -132,3 +132,4 @@ __ieee754_sqrt (b)
@@ -93,7 +93,7 @@ index 71e516d..fc4a749 100644
93 } 93 }
94+strong_alias (__ieee754_sqrt, __sqrt_finite) 94+strong_alias (__ieee754_sqrt, __sqrt_finite)
95diff --git a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c 95diff --git a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c
96index 26fa067..9d17512 100644 96index 26fa067abf..9d175122a8 100644
97--- a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c 97--- a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c
98+++ b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c 98+++ b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c
99@@ -99,3 +99,4 @@ __ieee754_sqrtf (b) 99@@ -99,3 +99,4 @@ __ieee754_sqrtf (b)
@@ -102,7 +102,7 @@ index 26fa067..9d17512 100644
102 } 102 }
103+strong_alias (__ieee754_sqrtf, __sqrtf_finite) 103+strong_alias (__ieee754_sqrtf, __sqrtf_finite)
104diff --git a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c 104diff --git a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c
105index 71e516d..fc4a749 100644 105index 71e516d1c8..fc4a74990e 100644
106--- a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c 106--- a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c
107+++ b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c 107+++ b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c
108@@ -132,3 +132,4 @@ __ieee754_sqrt (b) 108@@ -132,3 +132,4 @@ __ieee754_sqrt (b)
@@ -111,7 +111,7 @@ index 71e516d..fc4a749 100644
111 } 111 }
112+strong_alias (__ieee754_sqrt, __sqrt_finite) 112+strong_alias (__ieee754_sqrt, __sqrt_finite)
113diff --git a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c 113diff --git a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c
114index 26fa067..9d17512 100644 114index 26fa067abf..9d175122a8 100644
115--- a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c 115--- a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c
116+++ b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c 116+++ b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c
117@@ -99,3 +99,4 @@ __ieee754_sqrtf (b) 117@@ -99,3 +99,4 @@ __ieee754_sqrtf (b)
@@ -120,7 +120,7 @@ index 26fa067..9d17512 100644
120 } 120 }
121+strong_alias (__ieee754_sqrtf, __sqrtf_finite) 121+strong_alias (__ieee754_sqrtf, __sqrtf_finite)
122diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c 122diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c
123index 71e516d..fc4a749 100644 123index 71e516d1c8..fc4a74990e 100644
124--- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c 124--- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c
125+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c 125+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c
126@@ -132,3 +132,4 @@ __ieee754_sqrt (b) 126@@ -132,3 +132,4 @@ __ieee754_sqrt (b)
@@ -129,7 +129,7 @@ index 71e516d..fc4a749 100644
129 } 129 }
130+strong_alias (__ieee754_sqrt, __sqrt_finite) 130+strong_alias (__ieee754_sqrt, __sqrt_finite)
131diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c 131diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c
132index 26fa067..9d17512 100644 132index 26fa067abf..9d175122a8 100644
133--- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c 133--- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c
134+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c 134+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c
135@@ -99,3 +99,4 @@ __ieee754_sqrtf (b) 135@@ -99,3 +99,4 @@ __ieee754_sqrtf (b)
@@ -138,7 +138,7 @@ index 26fa067..9d17512 100644
138 } 138 }
139+strong_alias (__ieee754_sqrtf, __sqrtf_finite) 139+strong_alias (__ieee754_sqrtf, __sqrtf_finite)
140diff --git a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c 140diff --git a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c
141index 71e516d..1795fd6 100644 141index 71e516d1c8..1795fd6c3e 100644
142--- a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c 142--- a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c
143+++ b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c 143+++ b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c
144@@ -39,14 +39,8 @@ static const float half = 0.5; 144@@ -39,14 +39,8 @@ static const float half = 0.5;
@@ -162,7 +162,7 @@ index 71e516d..1795fd6 100644
162 } 162 }
163+strong_alias (__ieee754_sqrt, __sqrt_finite) 163+strong_alias (__ieee754_sqrt, __sqrt_finite)
164diff --git a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c 164diff --git a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c
165index 26fa067..a917f31 100644 165index 26fa067abf..a917f313ab 100644
166--- a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c 166--- a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c
167+++ b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c 167+++ b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c
168@@ -37,14 +37,8 @@ static const float threehalf = 1.5; 168@@ -37,14 +37,8 @@ static const float threehalf = 1.5;
@@ -186,7 +186,7 @@ index 26fa067..a917f31 100644
186 } 186 }
187+strong_alias (__ieee754_sqrtf, __sqrtf_finite) 187+strong_alias (__ieee754_sqrtf, __sqrtf_finite)
188diff --git a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c 188diff --git a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c
189index 71e516d..fc4a749 100644 189index 71e516d1c8..fc4a74990e 100644
190--- a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c 190--- a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c
191+++ b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c 191+++ b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c
192@@ -132,3 +132,4 @@ __ieee754_sqrt (b) 192@@ -132,3 +132,4 @@ __ieee754_sqrt (b)
@@ -195,7 +195,7 @@ index 71e516d..fc4a749 100644
195 } 195 }
196+strong_alias (__ieee754_sqrt, __sqrt_finite) 196+strong_alias (__ieee754_sqrt, __sqrt_finite)
197diff --git a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c 197diff --git a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c
198index 26fa067..9d17512 100644 198index 26fa067abf..9d175122a8 100644
199--- a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c 199--- a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c
200+++ b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c 200+++ b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c
201@@ -99,3 +99,4 @@ __ieee754_sqrtf (b) 201@@ -99,3 +99,4 @@ __ieee754_sqrtf (b)
@@ -204,5 +204,5 @@ index 26fa067..9d17512 100644
204 } 204 }
205+strong_alias (__ieee754_sqrtf, __sqrtf_finite) 205+strong_alias (__ieee754_sqrtf, __sqrtf_finite)
206-- 206--
2072.10.2 2072.13.2
208 208
diff --git a/meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch b/meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
index 26f65c5b17..3aeec5288b 100644
--- a/meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
+++ b/meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
@@ -1,7 +1,7 @@
1From 5afb0147e3e49c3b474404524014efe51b2bca5a Mon Sep 17 00:00:00 2001 1From babe311deca9ee2730278f13b061b914b5286dc3 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:16:38 +0000 3Date: Wed, 18 Mar 2015 00:16:38 +0000
4Subject: [PATCH 08/26] __ieee754_sqrt{,f} are now inline functions and call 4Subject: [PATCH 08/25] __ieee754_sqrt{,f} are now inline functions and call
5 out __slow versions 5 out __slow versions
6 6
7Upstream-Status: Pending 7Upstream-Status: Pending
@@ -23,7 +23,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
23 12 files changed, 114 insertions(+), 21 deletions(-) 23 12 files changed, 114 insertions(+), 21 deletions(-)
24 24
25diff --git a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c 25diff --git a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c
26index 1795fd6..daa83f3 100644 26index 1795fd6c3e..daa83f3fe8 100644
27--- a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c 27--- a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c
28+++ b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c 28+++ b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c
29@@ -40,7 +40,7 @@ static const float half = 0.5; 29@@ -40,7 +40,7 @@ static const float half = 0.5;
@@ -58,7 +58,7 @@ index 1795fd6..daa83f3 100644
58+ 58+
59 strong_alias (__ieee754_sqrt, __sqrt_finite) 59 strong_alias (__ieee754_sqrt, __sqrt_finite)
60diff --git a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c 60diff --git a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c
61index a917f31..b812cf1 100644 61index a917f313ab..b812cf1705 100644
62--- a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c 62--- a/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c
63+++ b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c 63+++ b/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c
64@@ -38,7 +38,7 @@ static const float threehalf = 1.5; 64@@ -38,7 +38,7 @@ static const float threehalf = 1.5;
@@ -82,7 +82,7 @@ index a917f31..b812cf1 100644
82+} 82+}
83 strong_alias (__ieee754_sqrtf, __sqrtf_finite) 83 strong_alias (__ieee754_sqrtf, __sqrtf_finite)
84diff --git a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c 84diff --git a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c
85index fc4a749..7038a70 100644 85index fc4a74990e..7038a70b47 100644
86--- a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c 86--- a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c
87+++ b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c 87+++ b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrt.c
88@@ -41,10 +41,10 @@ static const float half = 0.5; 88@@ -41,10 +41,10 @@ static const float half = 0.5;
@@ -121,7 +121,7 @@ index fc4a749..7038a70 100644
121+ 121+
122 strong_alias (__ieee754_sqrt, __sqrt_finite) 122 strong_alias (__ieee754_sqrt, __sqrt_finite)
123diff --git a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c 123diff --git a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c
124index 9d17512..10de1f0 100644 124index 9d175122a8..10de1f0cc3 100644
125--- a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c 125--- a/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c
126+++ b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c 126+++ b/sysdeps/powerpc/powerpc32/e500mc/fpu/e_sqrtf.c
127@@ -39,10 +39,10 @@ static const float threehalf = 1.5; 127@@ -39,10 +39,10 @@ static const float threehalf = 1.5;
@@ -151,7 +151,7 @@ index 9d17512..10de1f0 100644
151+ 151+
152 strong_alias (__ieee754_sqrtf, __sqrtf_finite) 152 strong_alias (__ieee754_sqrtf, __sqrtf_finite)
153diff --git a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c 153diff --git a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c
154index fc4a749..7038a70 100644 154index fc4a74990e..7038a70b47 100644
155--- a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c 155--- a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c
156+++ b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c 156+++ b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrt.c
157@@ -41,10 +41,10 @@ static const float half = 0.5; 157@@ -41,10 +41,10 @@ static const float half = 0.5;
@@ -190,7 +190,7 @@ index fc4a749..7038a70 100644
190+ 190+
191 strong_alias (__ieee754_sqrt, __sqrt_finite) 191 strong_alias (__ieee754_sqrt, __sqrt_finite)
192diff --git a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c 192diff --git a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c
193index 9d17512..10de1f0 100644 193index 9d175122a8..10de1f0cc3 100644
194--- a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c 194--- a/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c
195+++ b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c 195+++ b/sysdeps/powerpc/powerpc32/e5500/fpu/e_sqrtf.c
196@@ -39,10 +39,10 @@ static const float threehalf = 1.5; 196@@ -39,10 +39,10 @@ static const float threehalf = 1.5;
@@ -220,7 +220,7 @@ index 9d17512..10de1f0 100644
220+ 220+
221 strong_alias (__ieee754_sqrtf, __sqrtf_finite) 221 strong_alias (__ieee754_sqrtf, __sqrtf_finite)
222diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c 222diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c
223index fc4a749..1c34244 100644 223index fc4a74990e..1c34244bd8 100644
224--- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c 224--- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c
225+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c 225+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c
226@@ -132,4 +132,12 @@ __ieee754_sqrt (b) 226@@ -132,4 +132,12 @@ __ieee754_sqrt (b)
@@ -237,7 +237,7 @@ index fc4a749..1c34244 100644
237+ 237+
238 strong_alias (__ieee754_sqrt, __sqrt_finite) 238 strong_alias (__ieee754_sqrt, __sqrt_finite)
239diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c 239diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c
240index 9d17512..8126535 100644 240index 9d175122a8..812653558f 100644
241--- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c 241--- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c
242+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c 242+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c
243@@ -99,4 +99,12 @@ __ieee754_sqrtf (b) 243@@ -99,4 +99,12 @@ __ieee754_sqrtf (b)
@@ -254,7 +254,7 @@ index 9d17512..8126535 100644
254+ 254+
255 strong_alias (__ieee754_sqrtf, __sqrtf_finite) 255 strong_alias (__ieee754_sqrtf, __sqrtf_finite)
256diff --git a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c 256diff --git a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c
257index 1795fd6..13a8197 100644 257index 1795fd6c3e..13a81973e3 100644
258--- a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c 258--- a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c
259+++ b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c 259+++ b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c
260@@ -40,7 +40,7 @@ static const float half = 0.5; 260@@ -40,7 +40,7 @@ static const float half = 0.5;
@@ -289,7 +289,7 @@ index 1795fd6..13a8197 100644
289+ 289+
290 strong_alias (__ieee754_sqrt, __sqrt_finite) 290 strong_alias (__ieee754_sqrt, __sqrt_finite)
291diff --git a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c 291diff --git a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c
292index a917f31..fae2d81 100644 292index a917f313ab..fae2d81210 100644
293--- a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c 293--- a/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c
294+++ b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c 294+++ b/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c
295@@ -38,7 +38,7 @@ static const float threehalf = 1.5; 295@@ -38,7 +38,7 @@ static const float threehalf = 1.5;
@@ -314,7 +314,7 @@ index a917f31..fae2d81 100644
314+ 314+
315 strong_alias (__ieee754_sqrtf, __sqrtf_finite) 315 strong_alias (__ieee754_sqrtf, __sqrtf_finite)
316diff --git a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c 316diff --git a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c
317index fc4a749..7038a70 100644 317index fc4a74990e..7038a70b47 100644
318--- a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c 318--- a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c
319+++ b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c 319+++ b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrt.c
320@@ -41,10 +41,10 @@ static const float half = 0.5; 320@@ -41,10 +41,10 @@ static const float half = 0.5;
@@ -353,7 +353,7 @@ index fc4a749..7038a70 100644
353+ 353+
354 strong_alias (__ieee754_sqrt, __sqrt_finite) 354 strong_alias (__ieee754_sqrt, __sqrt_finite)
355diff --git a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c 355diff --git a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c
356index 9d17512..10de1f0 100644 356index 9d175122a8..10de1f0cc3 100644
357--- a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c 357--- a/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c
358+++ b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c 358+++ b/sysdeps/powerpc/powerpc64/e6500/fpu/e_sqrtf.c
359@@ -39,10 +39,10 @@ static const float threehalf = 1.5; 359@@ -39,10 +39,10 @@ static const float threehalf = 1.5;
@@ -383,5 +383,5 @@ index 9d17512..10de1f0 100644
383+ 383+
384 strong_alias (__ieee754_sqrtf, __sqrtf_finite) 384 strong_alias (__ieee754_sqrtf, __sqrtf_finite)
385-- 385--
3862.10.2 3862.13.2
387 387
diff --git a/meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch b/meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch
index d416acde3e..7d5c2e31f5 100644
--- a/meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch
+++ b/meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch
@@ -1,7 +1,7 @@
1From ddd51bb4e005432cb3c0f8f33822954408a9fee1 Mon Sep 17 00:00:00 2001 1From 93b5d6bed19939039031c45b777d29619db06184 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:20:09 +0000 3Date: Wed, 18 Mar 2015 00:20:09 +0000
4Subject: [PATCH 09/26] Quote from bug 1443 which explains what the patch does 4Subject: [PATCH 09/25] Quote from bug 1443 which explains what the patch does
5 : 5 :
6 6
7 We build some random program and link it with -lust. When we run it, 7 We build some random program and link it with -lust. When we run it,
@@ -45,10 +45,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
45 1 file changed, 1 insertion(+), 1 deletion(-) 45 1 file changed, 1 insertion(+), 1 deletion(-)
46 46
47diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h 47diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h
48index 60eee00..7d54d5e 100644 48index 7053ead16e..0b1e1716b0 100644
49--- a/sysdeps/arm/dl-machine.h 49--- a/sysdeps/arm/dl-machine.h
50+++ b/sysdeps/arm/dl-machine.h 50+++ b/sysdeps/arm/dl-machine.h
51@@ -499,7 +499,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc, 51@@ -500,7 +500,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
52 52
53 case R_ARM_TLS_DTPOFF32: 53 case R_ARM_TLS_DTPOFF32:
54 if (sym != NULL) 54 if (sym != NULL)
@@ -58,5 +58,5 @@ index 60eee00..7d54d5e 100644
58 58
59 case R_ARM_TLS_TPOFF32: 59 case R_ARM_TLS_TPOFF32:
60-- 60--
612.10.2 612.13.2
62 62
diff --git a/meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch b/meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
index 276f1fa4c2..7275c3e96d 100644
--- a/meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
+++ b/meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
@@ -1,7 +1,7 @@
1From d7e74670825330f5421a55f5aa2a1ce6fda7d7fb Mon Sep 17 00:00:00 2001 1From 1a6e0f4ee8584b04226156df1a3de3e467f0ef6f Mon Sep 17 00:00:00 2001
2From: Ting Liu <b28495@freescale.com> 2From: Ting Liu <b28495@freescale.com>
3Date: Wed, 19 Dec 2012 04:39:57 -0600 3Date: Wed, 19 Dec 2012 04:39:57 -0600
4Subject: [PATCH 10/26] eglibc: run libm-err-tab.pl with specific dirs in ${S} 4Subject: [PATCH 10/25] eglibc: run libm-err-tab.pl with specific dirs in ${S}
5 5
6libm-err-tab.pl will parse all the files named "libm-test-ulps" 6libm-err-tab.pl will parse all the files named "libm-test-ulps"
7in the given dir recursively. To avoid parsing the one in 7in the given dir recursively. To avoid parsing the one in
@@ -18,7 +18,7 @@ Signed-off-by: Ting Liu <b28495@freescale.com>
18 1 file changed, 2 insertions(+), 1 deletion(-) 18 1 file changed, 2 insertions(+), 1 deletion(-)
19 19
20diff --git a/manual/Makefile b/manual/Makefile 20diff --git a/manual/Makefile b/manual/Makefile
21index f2f694f..e062833 100644 21index 4ed63a8ef3..e89919eb19 100644
22--- a/manual/Makefile 22--- a/manual/Makefile
23+++ b/manual/Makefile 23+++ b/manual/Makefile
24@@ -105,7 +105,8 @@ $(objpfx)libm-err.texi: $(objpfx)stamp-libm-err 24@@ -105,7 +105,8 @@ $(objpfx)libm-err.texi: $(objpfx)stamp-libm-err
@@ -32,5 +32,5 @@ index f2f694f..e062833 100644
32 touch $@ 32 touch $@
33 33
34-- 34--
352.10.2 352.13.2
36 36
diff --git a/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch b/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
index 096dab5474..84f2ca5234 100644
--- a/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
+++ b/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
@@ -1,7 +1,7 @@
1From d6e2076571263e45c48889896d3d94ff576df2be Mon Sep 17 00:00:00 2001 1From 9b2af6cbf68d3353d72519e7f6c46becb7bd1d0f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:24:46 +0000 3Date: Wed, 18 Mar 2015 00:24:46 +0000
4Subject: [PATCH 11/26] __ieee754_sqrt{,f} are now inline functions and call 4Subject: [PATCH 11/25] __ieee754_sqrt{,f} are now inline functions and call
5 out __slow versions 5 out __slow versions
6 6
7Upstream-Status: Pending 7Upstream-Status: Pending
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 2 files changed, 5 insertions(+), 5 deletions(-) 14 2 files changed, 5 insertions(+), 5 deletions(-)
15 15
16diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c 16diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c
17index 1c34244..7038a70 100644 17index 1c34244bd8..7038a70b47 100644
18--- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c 18--- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c
19+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c 19+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrt.c
20@@ -41,10 +41,10 @@ static const float half = 0.5; 20@@ -41,10 +41,10 @@ static const float half = 0.5;
@@ -40,7 +40,7 @@ index 1c34244..7038a70 100644
40 #define FMADD(a_, c_, b_) \ 40 #define FMADD(a_, c_, b_) \
41 ({ double __r; \ 41 ({ double __r; \
42diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c 42diff --git a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c
43index 8126535..10de1f0 100644 43index 812653558f..10de1f0cc3 100644
44--- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c 44--- a/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c
45+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c 45+++ b/sysdeps/powerpc/powerpc32/e6500/fpu/e_sqrtf.c
46@@ -39,10 +39,10 @@ static const float threehalf = 1.5; 46@@ -39,10 +39,10 @@ static const float threehalf = 1.5;
@@ -57,5 +57,5 @@ index 8126535..10de1f0 100644
57 #endif 57 #endif
58 { 58 {
59-- 59--
602.10.2 602.13.2
61 61
diff --git a/meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch b/meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch
deleted file mode 100644
index 7728c61a9d..0000000000
--- a/meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From c0974c746e026650bef5d1940eb3f519765c77af Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:25:45 +0000
4Subject: [PATCH 12/26] Make ld --version output matching grok gold's output
5
6adapted from from upstream branch roland/gold-vs-libc
7
8Upstream-Status: Backport
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 configure | 2 +-
13 configure.ac | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/configure b/configure
17index 5cf3230..391f29d 100755
18--- a/configure
19+++ b/configure
20@@ -4555,7 +4555,7 @@ else
21 # Found it, now check the version.
22 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
23 $as_echo_n "checking version of $LD... " >&6; }
24- ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
25+ ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU [Bbinutilsd][^.]* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
26 case $ac_prog_version in
27 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
28 2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*)
29diff --git a/configure.ac b/configure.ac
30index d719fad..5b5877c 100644
31--- a/configure.ac
32+++ b/configure.ac
33@@ -990,7 +990,7 @@ AC_CHECK_PROG_VER(AS, $AS, --version,
34 [2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*],
35 AS=: critic_missing="$critic_missing as")
36 AC_CHECK_PROG_VER(LD, $LD, --version,
37- [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)],
38+ [GNU [Bbinutilsd][^.]* \([0-9][0-9]*\.[0-9.]*\)],
39 [2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*],
40 LD=: critic_missing="$critic_missing ld")
41
42--
432.10.2
44
diff --git a/meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch b/meta/recipes-core/glibc/glibc/0012-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
index 1c81c729db..2bf6b23ad1 100644
--- a/meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
+++ b/meta/recipes-core/glibc/glibc/0012-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
@@ -1,7 +1,7 @@
1From 2a12eadfd7940b6b0913de8e95d851254cce7953 Mon Sep 17 00:00:00 2001 1From ffd3c5a04d8f2f26fea71fed4ce41e88b6f51086 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:27:10 +0000 3Date: Wed, 18 Mar 2015 00:27:10 +0000
4Subject: [PATCH 13/26] sysdeps/gnu/configure.ac: handle correctly 4Subject: [PATCH 12/25] sysdeps/gnu/configure.ac: handle correctly
5 $libc_cv_rootsbindir 5 $libc_cv_rootsbindir
6 6
7Upstream-Status:Pending 7Upstream-Status:Pending
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 2 files changed, 2 insertions(+), 2 deletions(-) 14 2 files changed, 2 insertions(+), 2 deletions(-)
15 15
16diff --git a/sysdeps/gnu/configure b/sysdeps/gnu/configure 16diff --git a/sysdeps/gnu/configure b/sysdeps/gnu/configure
17index 71243ad..f578187 100644 17index 71243ad0c6..f578187576 100644
18--- a/sysdeps/gnu/configure 18--- a/sysdeps/gnu/configure
19+++ b/sysdeps/gnu/configure 19+++ b/sysdeps/gnu/configure
20@@ -32,6 +32,6 @@ case "$prefix" in 20@@ -32,6 +32,6 @@ case "$prefix" in
@@ -26,7 +26,7 @@ index 71243ad..f578187 100644
26 ;; 26 ;;
27 esac 27 esac
28diff --git a/sysdeps/gnu/configure.ac b/sysdeps/gnu/configure.ac 28diff --git a/sysdeps/gnu/configure.ac b/sysdeps/gnu/configure.ac
29index 634fe4d..3db1697 100644 29index 634fe4de2a..3db1697f4f 100644
30--- a/sysdeps/gnu/configure.ac 30--- a/sysdeps/gnu/configure.ac
31+++ b/sysdeps/gnu/configure.ac 31+++ b/sysdeps/gnu/configure.ac
32@@ -21,6 +21,6 @@ case "$prefix" in 32@@ -21,6 +21,6 @@ case "$prefix" in
@@ -38,5 +38,5 @@ index 634fe4d..3db1697 100644
38 ;; 38 ;;
39 esac 39 esac
40-- 40--
412.10.2 412.13.2
42 42
diff --git a/meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch b/meta/recipes-core/glibc/glibc/0013-Add-unused-attribute.patch
index b23e104ff8..099fe50ee2 100644
--- a/meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch
+++ b/meta/recipes-core/glibc/glibc/0013-Add-unused-attribute.patch
@@ -1,7 +1,7 @@
1From ec4f7763b30603b7ba0b70bd7750e34d442821b3 Mon Sep 17 00:00:00 2001 1From 049cce82f35e0d864d98075b83888dbba4d68afd Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:28:41 +0000 3Date: Wed, 18 Mar 2015 00:28:41 +0000
4Subject: [PATCH 14/26] Add unused attribute 4Subject: [PATCH 13/25] Add unused attribute
5 5
6Helps in avoiding gcc warning when header is is included in 6Helps in avoiding gcc warning when header is is included in
7a source file which does not use both functions 7a source file which does not use both functions
@@ -17,7 +17,7 @@ Upstream-Status: Pending
17 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
18 18
19diff --git a/iconv/gconv_charset.h b/iconv/gconv_charset.h 19diff --git a/iconv/gconv_charset.h b/iconv/gconv_charset.h
20index 95cbce7..191a0dd 100644 20index 18d8bd6ae7..eb729da5d3 100644
21--- a/iconv/gconv_charset.h 21--- a/iconv/gconv_charset.h
22+++ b/iconv/gconv_charset.h 22+++ b/iconv/gconv_charset.h
23@@ -21,7 +21,7 @@ 23@@ -21,7 +21,7 @@
@@ -30,5 +30,5 @@ index 95cbce7..191a0dd 100644
30 { 30 {
31 int slash_count = 0; 31 int slash_count = 0;
32-- 32--
332.10.2 332.13.2
34 34
diff --git a/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch b/meta/recipes-core/glibc/glibc/0014-yes-within-the-path-sets-wrong-config-variables.patch
index 98d425a7bd..ddc70e0e60 100644
--- a/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch
+++ b/meta/recipes-core/glibc/glibc/0014-yes-within-the-path-sets-wrong-config-variables.patch
@@ -1,7 +1,7 @@
1From 18d64951cbb68d8d75e8ef347cbd0e0a5c14604b Mon Sep 17 00:00:00 2001 1From 3b904bee81a1cfe81e3f437b5f3296efd54a51ac Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:31:06 +0000 3Date: Wed, 18 Mar 2015 00:31:06 +0000
4Subject: [PATCH 15/26] 'yes' within the path sets wrong config variables 4Subject: [PATCH 14/25] 'yes' within the path sets wrong config variables
5 5
6It seems that the 'AC_EGREP_CPP(yes...' example is quite popular 6It seems that the 'AC_EGREP_CPP(yes...' example is quite popular
7but being such a short word to grep it is likely to produce 7but being such a short word to grep it is likely to produce
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 12 files changed, 28 insertions(+), 28 deletions(-) 29 12 files changed, 28 insertions(+), 28 deletions(-)
30 30
31diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure 31diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure
32index 5bd355a..3bc5537 100644 32index 5bd355a691..3bc5537bc0 100644
33--- a/sysdeps/aarch64/configure 33--- a/sysdeps/aarch64/configure
34+++ b/sysdeps/aarch64/configure 34+++ b/sysdeps/aarch64/configure
35@@ -148,12 +148,12 @@ else 35@@ -148,12 +148,12 @@ else
@@ -48,7 +48,7 @@ index 5bd355a..3bc5537 100644
48 else 48 else
49 libc_cv_aarch64_be=no 49 libc_cv_aarch64_be=no
50diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac 50diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac
51index 7851dd4..6e92381 100644 51index 7851dd4dac..6e9238171f 100644
52--- a/sysdeps/aarch64/configure.ac 52--- a/sysdeps/aarch64/configure.ac
53+++ b/sysdeps/aarch64/configure.ac 53+++ b/sysdeps/aarch64/configure.ac
54@@ -10,8 +10,8 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. 54@@ -10,8 +10,8 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
@@ -63,7 +63,7 @@ index 7851dd4..6e92381 100644
63 ], libc_cv_aarch64_be=yes, libc_cv_aarch64_be=no)]) 63 ], libc_cv_aarch64_be=yes, libc_cv_aarch64_be=no)])
64 if test $libc_cv_aarch64_be = yes; then 64 if test $libc_cv_aarch64_be = yes; then
65diff --git a/sysdeps/arm/configure b/sysdeps/arm/configure 65diff --git a/sysdeps/arm/configure b/sysdeps/arm/configure
66index 431e843..e152461 100644 66index 431e843b2b..e152461138 100644
67--- a/sysdeps/arm/configure 67--- a/sysdeps/arm/configure
68+++ b/sysdeps/arm/configure 68+++ b/sysdeps/arm/configure
69@@ -151,12 +151,12 @@ else 69@@ -151,12 +151,12 @@ else
@@ -82,7 +82,7 @@ index 431e843..e152461 100644
82 else 82 else
83 libc_cv_arm_pcs_vfp=no 83 libc_cv_arm_pcs_vfp=no
84diff --git a/sysdeps/arm/configure.ac b/sysdeps/arm/configure.ac 84diff --git a/sysdeps/arm/configure.ac b/sysdeps/arm/configure.ac
85index 90cdd69..05a262b 100644 85index 90cdd69c75..05a262ba00 100644
86--- a/sysdeps/arm/configure.ac 86--- a/sysdeps/arm/configure.ac
87+++ b/sysdeps/arm/configure.ac 87+++ b/sysdeps/arm/configure.ac
88@@ -15,8 +15,8 @@ AC_DEFINE(PI_STATIC_AND_HIDDEN) 88@@ -15,8 +15,8 @@ AC_DEFINE(PI_STATIC_AND_HIDDEN)
@@ -97,7 +97,7 @@ index 90cdd69..05a262b 100644
97 ], libc_cv_arm_pcs_vfp=yes, libc_cv_arm_pcs_vfp=no)]) 97 ], libc_cv_arm_pcs_vfp=yes, libc_cv_arm_pcs_vfp=no)])
98 if test $libc_cv_arm_pcs_vfp = yes; then 98 if test $libc_cv_arm_pcs_vfp = yes; then
99diff --git a/sysdeps/mips/configure b/sysdeps/mips/configure 99diff --git a/sysdeps/mips/configure b/sysdeps/mips/configure
100index 4e13248..f14af95 100644 100index 4e13248c03..f14af952d0 100644
101--- a/sysdeps/mips/configure 101--- a/sysdeps/mips/configure
102+++ b/sysdeps/mips/configure 102+++ b/sysdeps/mips/configure
103@@ -143,11 +143,11 @@ else 103@@ -143,11 +143,11 @@ else
@@ -115,7 +115,7 @@ index 4e13248..f14af95 100644
115 else 115 else
116 libc_cv_mips_nan2008=no 116 libc_cv_mips_nan2008=no
117diff --git a/sysdeps/mips/configure.ac b/sysdeps/mips/configure.ac 117diff --git a/sysdeps/mips/configure.ac b/sysdeps/mips/configure.ac
118index bcbdaff..ad3057f 100644 118index bcbdaffd9f..ad3057f4cc 100644
119--- a/sysdeps/mips/configure.ac 119--- a/sysdeps/mips/configure.ac
120+++ b/sysdeps/mips/configure.ac 120+++ b/sysdeps/mips/configure.ac
121@@ -6,9 +6,9 @@ dnl position independent way. 121@@ -6,9 +6,9 @@ dnl position independent way.
@@ -131,7 +131,7 @@ index bcbdaff..ad3057f 100644
131 if test x$libc_cv_mips_nan2008 = xyes; then 131 if test x$libc_cv_mips_nan2008 = xyes; then
132 AC_DEFINE(HAVE_MIPS_NAN2008) 132 AC_DEFINE(HAVE_MIPS_NAN2008)
133diff --git a/sysdeps/nios2/configure b/sysdeps/nios2/configure 133diff --git a/sysdeps/nios2/configure b/sysdeps/nios2/configure
134index 14c8a3a..dde3814 100644 134index 14c8a3a014..dde3814ef2 100644
135--- a/sysdeps/nios2/configure 135--- a/sysdeps/nios2/configure
136+++ b/sysdeps/nios2/configure 136+++ b/sysdeps/nios2/configure
137@@ -142,12 +142,12 @@ else 137@@ -142,12 +142,12 @@ else
@@ -150,7 +150,7 @@ index 14c8a3a..dde3814 100644
150 else 150 else
151 libc_cv_nios2_be=no 151 libc_cv_nios2_be=no
152diff --git a/sysdeps/nios2/configure.ac b/sysdeps/nios2/configure.ac 152diff --git a/sysdeps/nios2/configure.ac b/sysdeps/nios2/configure.ac
153index f05f438..dc86399 100644 153index f05f43802b..dc8639902d 100644
154--- a/sysdeps/nios2/configure.ac 154--- a/sysdeps/nios2/configure.ac
155+++ b/sysdeps/nios2/configure.ac 155+++ b/sysdeps/nios2/configure.ac
156@@ -4,8 +4,8 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. 156@@ -4,8 +4,8 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
@@ -165,7 +165,7 @@ index f05f438..dc86399 100644
165 ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)]) 165 ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)])
166 if test $libc_cv_nios2_be = yes; then 166 if test $libc_cv_nios2_be = yes; then
167diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure 167diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure
168index a5513fa..283b293 100644 168index a5513fad48..283b293ff3 100644
169--- a/sysdeps/unix/sysv/linux/mips/configure 169--- a/sysdeps/unix/sysv/linux/mips/configure
170+++ b/sysdeps/unix/sysv/linux/mips/configure 170+++ b/sysdeps/unix/sysv/linux/mips/configure
171@@ -414,11 +414,11 @@ else 171@@ -414,11 +414,11 @@ else
@@ -183,7 +183,7 @@ index a5513fa..283b293 100644
183 else 183 else
184 libc_cv_mips_nan2008=no 184 libc_cv_mips_nan2008=no
185diff --git a/sysdeps/unix/sysv/linux/mips/configure.ac b/sysdeps/unix/sysv/linux/mips/configure.ac 185diff --git a/sysdeps/unix/sysv/linux/mips/configure.ac b/sysdeps/unix/sysv/linux/mips/configure.ac
186index 9147aa4..7898e24 100644 186index 9147aa4582..7898e24738 100644
187--- a/sysdeps/unix/sysv/linux/mips/configure.ac 187--- a/sysdeps/unix/sysv/linux/mips/configure.ac
188+++ b/sysdeps/unix/sysv/linux/mips/configure.ac 188+++ b/sysdeps/unix/sysv/linux/mips/configure.ac
189@@ -105,9 +105,9 @@ AC_COMPILE_IFELSE( 189@@ -105,9 +105,9 @@ AC_COMPILE_IFELSE(
@@ -199,7 +199,7 @@ index 9147aa4..7898e24 100644
199 199
200 libc_mips_nan= 200 libc_mips_nan=
201diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure 201diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure
202index af06970..27b8c1b 100644 202index 4e7fcf1d97..44a9cb3791 100644
203--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure 203--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure
204+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure 204+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure
205@@ -155,12 +155,12 @@ else 205@@ -155,12 +155,12 @@ else
@@ -233,7 +233,7 @@ index af06970..27b8c1b 100644
233 else 233 else
234 libc_cv_ppc64_def_call_elf=no 234 libc_cv_ppc64_def_call_elf=no
235diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac 235diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
236index 0822915..9a32fdd 100644 236index f9cba6e15d..b21f72f1e4 100644
237--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac 237--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
238+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac 238+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
239@@ -6,8 +6,8 @@ LIBC_SLIBDIR_RTLDDIR([lib64], [lib64]) 239@@ -6,8 +6,8 @@ LIBC_SLIBDIR_RTLDDIR([lib64], [lib64])
@@ -259,5 +259,5 @@ index 0822915..9a32fdd 100644
259 ], libc_cv_ppc64_def_call_elf=yes, libc_cv_ppc64_def_call_elf=no)]) 259 ], libc_cv_ppc64_def_call_elf=yes, libc_cv_ppc64_def_call_elf=no)])
260 if test $libc_cv_ppc64_def_call_elf = no; then 260 if test $libc_cv_ppc64_def_call_elf = no; then
261-- 261--
2622.10.2 2622.13.2
263 263
diff --git a/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch b/meta/recipes-core/glibc/glibc/0015-timezone-re-written-tzselect-as-posix-sh.patch
index 426a2c0c2d..b5feffa06a 100644
--- a/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
+++ b/meta/recipes-core/glibc/glibc/0015-timezone-re-written-tzselect-as-posix-sh.patch
@@ -1,7 +1,7 @@
1From 2bed515b9f9f613ae0db9b9607d8fa60a4afca5b Mon Sep 17 00:00:00 2001 1From b8cb8cb242cb751d888feb1ada5c4d0f05cbc1d7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:33:03 +0000 3Date: Wed, 18 Mar 2015 00:33:03 +0000
4Subject: [PATCH 16/26] timezone: re-written tzselect as posix sh 4Subject: [PATCH 15/25] timezone: re-written tzselect as posix sh
5 5
6To avoid the bash dependency. 6To avoid the bash dependency.
7 7
@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 2 files changed, 2 insertions(+), 2 deletions(-) 15 2 files changed, 2 insertions(+), 2 deletions(-)
16 16
17diff --git a/timezone/Makefile b/timezone/Makefile 17diff --git a/timezone/Makefile b/timezone/Makefile
18index dee7568..66a50be 100644 18index d6cc7ba357..e4ead6e1a7 100644
19--- a/timezone/Makefile 19--- a/timezone/Makefile
20+++ b/timezone/Makefile 20+++ b/timezone/Makefile
21@@ -120,7 +120,7 @@ $(testdata)/XT%: testdata/XT% 21@@ -122,7 +122,7 @@ $(testdata)/XT%: testdata/XT%
22 cp $< $@ 22 cp $< $@
23 23
24 $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make 24 $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
@@ -28,7 +28,7 @@ index dee7568..66a50be 100644
28 -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \ 28 -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \
29 -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \ 29 -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \
30diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh 30diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh
31index 2c3b2f4..0c04a61 100755 31index d2c3a6d1dd..089679f306 100755
32--- a/timezone/tzselect.ksh 32--- a/timezone/tzselect.ksh
33+++ b/timezone/tzselect.ksh 33+++ b/timezone/tzselect.ksh
34@@ -35,7 +35,7 @@ REPORT_BUGS_TO=tz@iana.org 34@@ -35,7 +35,7 @@ REPORT_BUGS_TO=tz@iana.org
@@ -41,5 +41,5 @@ index 2c3b2f4..0c04a61 100755
41 # Output one argument as-is to standard output. 41 # Output one argument as-is to standard output.
42 # Safer than 'echo', which can mishandle '\' or leading '-'. 42 # Safer than 'echo', which can mishandle '\' or leading '-'.
43-- 43--
442.10.2 442.13.2
45 45
diff --git a/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch b/meta/recipes-core/glibc/glibc/0016-Remove-bash-dependency-for-nscd-init-script.patch
index e44be894f6..1d9983b8e5 100644
--- a/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch
+++ b/meta/recipes-core/glibc/glibc/0016-Remove-bash-dependency-for-nscd-init-script.patch
@@ -1,20 +1,21 @@
1From c8814875b362efbfd778345d0d2777478bf11a30 Mon Sep 17 00:00:00 2001 1From 69d378001adfe9a359d2f4b069c1ed2d36de4480 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Dec 2015 14:33:02 -0800 3Date: Thu, 31 Dec 2015 14:33:02 -0800
4Subject: [PATCH 17/26] Remove bash dependency for nscd init script 4Subject: [PATCH 16/25] Remove bash dependency for nscd init script
5 5
6The nscd init script uses #! /bin/bash but only really uses one bashism 6The nscd init script uses #! /bin/bash but only really uses one bashism
7(translated strings), so remove them and switch the shell to #!/bin/sh. 7(translated strings), so remove them and switch the shell to #!/bin/sh.
8 8
9Upstream-Status: Pending
10
9Signed-off-by: Ross Burton <ross.burton@intel.com> 11Signed-off-by: Ross Burton <ross.burton@intel.com>
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
11Upstream-Status: Inappropriate
12--- 13---
13 nscd/nscd.init | 14 +++++++------- 14 nscd/nscd.init | 14 +++++++-------
14 1 file changed, 7 insertions(+), 7 deletions(-) 15 1 file changed, 7 insertions(+), 7 deletions(-)
15 16
16diff --git a/nscd/nscd.init b/nscd/nscd.init 17diff --git a/nscd/nscd.init b/nscd/nscd.init
17index a882da7..b02986e 100644 18index a882da7d8b..b02986ec15 100644
18--- a/nscd/nscd.init 19--- a/nscd/nscd.init
19+++ b/nscd/nscd.init 20+++ b/nscd/nscd.init
20@@ -1,4 +1,4 @@ 21@@ -1,4 +1,4 @@
@@ -70,5 +71,5 @@ index a882da7..b02986e 100644
70 ;; 71 ;;
71 esac 72 esac
72-- 73--
732.10.2 742.13.2
74 75
diff --git a/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch b/meta/recipes-core/glibc/glibc/0017-eglibc-Cross-building-and-testing-instructions.patch
index 2ec01f05c7..3e39d7458c 100644
--- a/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch
+++ b/meta/recipes-core/glibc/glibc/0017-eglibc-Cross-building-and-testing-instructions.patch
@@ -1,7 +1,7 @@
1From df96d6b61bb60f13cd3d4989d1afc56d705f4a33 Mon Sep 17 00:00:00 2001 1From cdc88dffa226815e3a218604655459e33dc86483 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:42:58 +0000 3Date: Wed, 18 Mar 2015 00:42:58 +0000
4Subject: [PATCH 18/26] eglibc: Cross building and testing instructions 4Subject: [PATCH 17/25] eglibc: Cross building and testing instructions
5 5
6Ported from eglibc 6Ported from eglibc
7Upstream-Status: Pending 7Upstream-Status: Pending
@@ -16,7 +16,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
16 16
17diff --git a/GLIBC.cross-building b/GLIBC.cross-building 17diff --git a/GLIBC.cross-building b/GLIBC.cross-building
18new file mode 100644 18new file mode 100644
19index 0000000..e6e0da1 19index 0000000000..e6e0da1aaf
20--- /dev/null 20--- /dev/null
21+++ b/GLIBC.cross-building 21+++ b/GLIBC.cross-building
22@@ -0,0 +1,383 @@ 22@@ -0,0 +1,383 @@
@@ -405,7 +405,7 @@ index 0000000..e6e0da1
405+ Hello, C++ world! 405+ Hello, C++ world!
406diff --git a/GLIBC.cross-testing b/GLIBC.cross-testing 406diff --git a/GLIBC.cross-testing b/GLIBC.cross-testing
407new file mode 100644 407new file mode 100644
408index 0000000..b67b468 408index 0000000000..b67b468466
409--- /dev/null 409--- /dev/null
410+++ b/GLIBC.cross-testing 410+++ b/GLIBC.cross-testing
411@@ -0,0 +1,205 @@ 411@@ -0,0 +1,205 @@
@@ -615,5 +615,5 @@ index 0000000..b67b468
615+ simply place copies of these libraries in the top GLIBC build 615+ simply place copies of these libraries in the top GLIBC build
616+ directory. 616+ directory.
617-- 617--
6182.10.2 6182.13.2
619 619
diff --git a/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch b/meta/recipes-core/glibc/glibc/0018-eglibc-Help-bootstrap-cross-toolchain.patch
index f5921bb7be..02f35f4e7b 100644
--- a/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch
+++ b/meta/recipes-core/glibc/glibc/0018-eglibc-Help-bootstrap-cross-toolchain.patch
@@ -1,7 +1,7 @@
1From 2cb7e3cae4020f431d426ad1740bb25506cde899 Mon Sep 17 00:00:00 2001 1From 1161cd1c683547d29a03626d9d7de7f9cc03b74a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:49:28 +0000 3Date: Wed, 18 Mar 2015 00:49:28 +0000
4Subject: [PATCH 19/26] eglibc: Help bootstrap cross toolchain 4Subject: [PATCH 18/25] eglibc: Help bootstrap cross toolchain
5 5
6Taken from EGLIBC, r1484 + r1525 6Taken from EGLIBC, r1484 + r1525
7 7
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 create mode 100644 include/stubs-bootstrap.h 29 create mode 100644 include/stubs-bootstrap.h
30 30
31diff --git a/Makefile b/Makefile 31diff --git a/Makefile b/Makefile
32index 1ae3281..26ab7bf 100644 32index 3e0ae6f43b..24dc66d17c 100644
33--- a/Makefile 33--- a/Makefile
34+++ b/Makefile 34+++ b/Makefile
35@@ -70,9 +70,18 @@ subdir-dirs = include 35@@ -70,9 +70,18 @@ subdir-dirs = include
@@ -79,7 +79,7 @@ index 1ae3281..26ab7bf 100644
79 # Since stubs.h is never needed when building the library, we simplify the 79 # Since stubs.h is never needed when building the library, we simplify the
80diff --git a/include/stubs-bootstrap.h b/include/stubs-bootstrap.h 80diff --git a/include/stubs-bootstrap.h b/include/stubs-bootstrap.h
81new file mode 100644 81new file mode 100644
82index 0000000..1d2b669 82index 0000000000..1d2b669aff
83--- /dev/null 83--- /dev/null
84+++ b/include/stubs-bootstrap.h 84+++ b/include/stubs-bootstrap.h
85@@ -0,0 +1,12 @@ 85@@ -0,0 +1,12 @@
@@ -96,5 +96,5 @@ index 0000000..1d2b669
96+ EGLIBC subdir 'stubs' make targets, on every .o file in EGLIBC, but 96+ EGLIBC subdir 'stubs' make targets, on every .o file in EGLIBC, but
97+ an empty stubs.h like this will do fine for GCC. */ 97+ an empty stubs.h like this will do fine for GCC. */
98-- 98--
992.10.2 992.13.2
100 100
diff --git a/meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch b/meta/recipes-core/glibc/glibc/0019-eglibc-Clear-cache-lines-on-ppc8xx.patch
index a9a73916f3..adb28cfd34 100644
--- a/meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch
+++ b/meta/recipes-core/glibc/glibc/0019-eglibc-Clear-cache-lines-on-ppc8xx.patch
@@ -1,7 +1,7 @@
1From 000ab518aa1269714bc0a9a4633b0a538fae91d9 Mon Sep 17 00:00:00 2001 1From 1732c7f25453c879c17701839ef34876a7357008 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Dec 2015 15:15:09 -0800 3Date: Thu, 31 Dec 2015 15:15:09 -0800
4Subject: [PATCH 21/26] eglibc: Clear cache lines on ppc8xx 4Subject: [PATCH 19/25] eglibc: Clear cache lines on ppc8xx
5 5
62007-06-13 Nathan Sidwell <nathan@codesourcery.com> 62007-06-13 Nathan Sidwell <nathan@codesourcery.com>
7 Mark Shinwell <shinwell@codesourcery.com> 7 Mark Shinwell <shinwell@codesourcery.com>
@@ -21,7 +21,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 2 files changed, 28 insertions(+), 2 deletions(-) 21 2 files changed, 28 insertions(+), 2 deletions(-)
22 22
23diff --git a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c 23diff --git a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24index 98ec2b3..b384ae0 100644 24index 23f5d5d388..7e45288db7 100644
25--- a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c 25--- a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26+++ b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c 26+++ b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27@@ -24,9 +24,21 @@ int __cache_line_size attribute_hidden; 27@@ -24,9 +24,21 @@ int __cache_line_size attribute_hidden;
@@ -48,7 +48,7 @@ index 98ec2b3..b384ae0 100644
48 break; 48 break;
49 49
50diff --git a/sysdeps/unix/sysv/linux/powerpc/libc-start.c b/sysdeps/unix/sysv/linux/powerpc/libc-start.c 50diff --git a/sysdeps/unix/sysv/linux/powerpc/libc-start.c b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
51index 0efd297..8cc0ef8 100644 51index ad036c1e4b..afee56a3da 100644
52--- a/sysdeps/unix/sysv/linux/powerpc/libc-start.c 52--- a/sysdeps/unix/sysv/linux/powerpc/libc-start.c
53+++ b/sysdeps/unix/sysv/linux/powerpc/libc-start.c 53+++ b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
54@@ -73,11 +73,25 @@ __libc_start_main (int argc, char **argv, 54@@ -73,11 +73,25 @@ __libc_start_main (int argc, char **argv,
@@ -79,5 +79,5 @@ index 0efd297..8cc0ef8 100644
79 break; 79 break;
80 #ifndef SHARED 80 #ifndef SHARED
81-- 81--
822.10.2 822.13.2
83 83
diff --git a/meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch b/meta/recipes-core/glibc/glibc/0020-eglibc-Resolve-__fpscr_values-on-SH4.patch
index c0cd5b0d12..f835d871ab 100644
--- a/meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch
+++ b/meta/recipes-core/glibc/glibc/0020-eglibc-Resolve-__fpscr_values-on-SH4.patch
@@ -1,7 +1,7 @@
1From a50c6e80543fb4cbc589978c11fe846bf4a94492 Mon Sep 17 00:00:00 2001 1From 108b3a1df96a85522c52a0dec032fc2c106f5f2d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:55:53 +0000 3Date: Wed, 18 Mar 2015 00:55:53 +0000
4Subject: [PATCH 22/26] eglibc: Resolve __fpscr_values on SH4 4Subject: [PATCH 20/25] eglibc: Resolve __fpscr_values on SH4
5 5
62010-09-29 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> 62010-09-29 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7 Andrew Stubbs <ams@codesourcery.com> 7 Andrew Stubbs <ams@codesourcery.com>
@@ -21,7 +21,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 2 files changed, 12 insertions(+) 21 2 files changed, 12 insertions(+)
22 22
23diff --git a/sysdeps/unix/sysv/linux/sh/Versions b/sysdeps/unix/sysv/linux/sh/Versions 23diff --git a/sysdeps/unix/sysv/linux/sh/Versions b/sysdeps/unix/sysv/linux/sh/Versions
24index e0938c4..ca1d7da 100644 24index e0938c4165..ca1d7da339 100644
25--- a/sysdeps/unix/sysv/linux/sh/Versions 25--- a/sysdeps/unix/sysv/linux/sh/Versions
26+++ b/sysdeps/unix/sysv/linux/sh/Versions 26+++ b/sysdeps/unix/sysv/linux/sh/Versions
27@@ -2,6 +2,7 @@ libc { 27@@ -2,6 +2,7 @@ libc {
@@ -33,7 +33,7 @@ index e0938c4..ca1d7da 100644
33 # a* 33 # a*
34 alphasort64; 34 alphasort64;
35diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S 35diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S
36index 0024d79..d1db7e4 100644 36index 5f11bc737b..2fd217b00b 100644
37--- a/sysdeps/unix/sysv/linux/sh/sysdep.S 37--- a/sysdeps/unix/sysv/linux/sh/sysdep.S
38+++ b/sysdeps/unix/sysv/linux/sh/sysdep.S 38+++ b/sysdeps/unix/sysv/linux/sh/sysdep.S
39@@ -30,3 +30,14 @@ ENTRY (__syscall_error) 39@@ -30,3 +30,14 @@ ENTRY (__syscall_error)
@@ -52,5 +52,5 @@ index 0024d79..d1db7e4 100644
52+weak_alias (___fpscr_values, __fpscr_values) 52+weak_alias (___fpscr_values, __fpscr_values)
53+ 53+
54-- 54--
552.10.2 552.13.2
56 56
diff --git a/meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch b/meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch
deleted file mode 100644
index 43445739b1..0000000000
--- a/meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch
+++ /dev/null
@@ -1,64 +0,0 @@
1From b2ed906ec864583b43379ef9ad2b5630c1232565 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Dec 2015 15:10:33 -0800
4Subject: [PATCH 20/26] eglibc: cherry-picked from
5
6http://www.eglibc.org/archives/patches/msg00772.html
7
8Not yet merged into glibc
9
10Upstream-Status: Pending
11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 resolv/res_libc.c | 14 +++++++++++++-
15 1 file changed, 13 insertions(+), 1 deletion(-)
16
17diff --git a/resolv/res_libc.c b/resolv/res_libc.c
18index a4b376f..3256e12 100644
19--- a/resolv/res_libc.c
20+++ b/resolv/res_libc.c
21@@ -21,11 +21,13 @@
22 #include <atomic.h>
23 #include <limits.h>
24 #include <sys/types.h>
25+#include <sys/stat.h>
26 #include <netinet/in.h>
27 #include <arpa/nameser.h>
28 #include <resolv.h>
29 #include <libc-lock.h>
30
31+__libc_lock_define_initialized (static, lock);
32 extern unsigned long long int __res_initstamp attribute_hidden;
33 /* We have atomic increment operations on 64-bit platforms. */
34 #if __WORDSIZE == 64
35@@ -33,7 +35,6 @@ extern unsigned long long int __res_initstamp attribute_hidden;
36 # define atomicincunlock(lock) (void) 0
37 # define atomicinc(var) catomic_increment (&(var))
38 #else
39-__libc_lock_define_initialized (static, lock);
40 # define atomicinclock(lock) __libc_lock_lock (lock)
41 # define atomicincunlock(lock) __libc_lock_unlock (lock)
42 # define atomicinc(var) ++var
43@@ -92,7 +93,18 @@ res_init(void) {
44 int
45 __res_maybe_init (res_state resp, int preinit)
46 {
47+ static time_t last_mtime;
48+ struct stat statbuf;
49+ int ret;
50+
51 if (resp->options & RES_INIT) {
52+ ret = stat (_PATH_RESCONF, &statbuf);
53+ __libc_lock_lock (lock);
54+ if ((ret == 0) && (last_mtime != statbuf.st_mtime)) {
55+ last_mtime = statbuf.st_mtime;
56+ atomicinc (__res_initstamp);
57+ }
58+ __libc_lock_unlock (lock);
59 if (__res_initstamp != resp->_u._ext.initstamp) {
60 if (resp->nscount > 0)
61 __res_iclose (resp, true);
62--
632.10.2
64
diff --git a/meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch b/meta/recipes-core/glibc/glibc/0021-eglibc-Install-PIC-archives.patch
index c3e571f8a9..6ee397bf75 100644
--- a/meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch
+++ b/meta/recipes-core/glibc/glibc/0021-eglibc-Install-PIC-archives.patch
@@ -1,7 +1,7 @@
1From 101568daf48d99e71b280a2fdd85460fe740d583 Mon Sep 17 00:00:00 2001 1From 3392ee83b0132c089dffb1e9892b4b252ce1ec0e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:57:01 +0000 3Date: Wed, 18 Mar 2015 01:57:01 +0000
4Subject: [PATCH 23/26] eglibc: Install PIC archives 4Subject: [PATCH 21/25] eglibc: Install PIC archives
5 5
6Forward port from eglibc 6Forward port from eglibc
7 7
@@ -29,10 +29,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 1 file changed, 40 insertions(+), 2 deletions(-) 29 1 file changed, 40 insertions(+), 2 deletions(-)
30 30
31diff --git a/Makerules b/Makerules 31diff --git a/Makerules b/Makerules
32index 61a0240..373e628 100644 32index 9bb707c168..74cbefb9ba 100644
33--- a/Makerules 33--- a/Makerules
34+++ b/Makerules 34+++ b/Makerules
35@@ -762,6 +762,9 @@ ifeq ($(build-shared),yes) 35@@ -775,6 +775,9 @@ ifeq ($(build-shared),yes)
36 $(common-objpfx)libc.so: $(common-objpfx)libc.map 36 $(common-objpfx)libc.so: $(common-objpfx)libc.map
37 endif 37 endif
38 common-generated += libc.so libc_pic.os 38 common-generated += libc.so libc_pic.os
@@ -42,7 +42,7 @@ index 61a0240..373e628 100644
42 ifdef libc.so-version 42 ifdef libc.so-version
43 $(common-objpfx)libc.so$(libc.so-version): $(common-objpfx)libc.so 43 $(common-objpfx)libc.so$(libc.so-version): $(common-objpfx)libc.so
44 $(make-link) 44 $(make-link)
45@@ -1004,6 +1007,7 @@ endif 45@@ -1026,6 +1029,7 @@ endif
46 46
47 install: check-install-supported 47 install: check-install-supported
48 48
@@ -50,7 +50,7 @@ index 61a0240..373e628 100644
50 install: $(installed-libcs) 50 install: $(installed-libcs)
51 $(installed-libcs): $(inst_libdir)/lib$(libprefix)%: lib $(+force) 51 $(installed-libcs): $(inst_libdir)/lib$(libprefix)%: lib $(+force)
52 $(make-target-directory) 52 $(make-target-directory)
53@@ -1032,6 +1036,22 @@ versioned := $(strip $(foreach so,$(install-lib.so),\ 53@@ -1054,6 +1058,22 @@ versioned := $(strip $(foreach so,$(install-lib.so),\
54 install-lib.so-versioned := $(filter $(versioned), $(install-lib.so)) 54 install-lib.so-versioned := $(filter $(versioned), $(install-lib.so))
55 install-lib.so-unversioned := $(filter-out $(versioned), $(install-lib.so)) 55 install-lib.so-unversioned := $(filter-out $(versioned), $(install-lib.so))
56 56
@@ -73,7 +73,7 @@ index 61a0240..373e628 100644
73 # For versioned libraries, we install three files: 73 # For versioned libraries, we install three files:
74 # $(inst_libdir)/libfoo.so -- for linking, symlink or ld script 74 # $(inst_libdir)/libfoo.so -- for linking, symlink or ld script
75 # $(inst_slibdir)/libfoo.so.NN -- for loading by SONAME, symlink 75 # $(inst_slibdir)/libfoo.so.NN -- for loading by SONAME, symlink
76@@ -1275,9 +1295,22 @@ $(addprefix $(inst_includedir)/,$(headers-nonh)): $(inst_includedir)/%: \ 76@@ -1298,9 +1318,22 @@ $(addprefix $(inst_includedir)/,$(headers-nonh)): $(inst_includedir)/%: \
77 endif # headers-nonh 77 endif # headers-nonh
78 endif # headers 78 endif # headers
79 79
@@ -97,7 +97,7 @@ index 61a0240..373e628 100644
97 install-bin-nosubdir: $(addprefix $(inst_bindir)/,$(install-bin)) 97 install-bin-nosubdir: $(addprefix $(inst_bindir)/,$(install-bin))
98 install-bin-script-nosubdir: $(addprefix $(inst_bindir)/,$(install-bin-script)) 98 install-bin-script-nosubdir: $(addprefix $(inst_bindir)/,$(install-bin-script))
99 install-rootsbin-nosubdir: \ 99 install-rootsbin-nosubdir: \
100@@ -1290,6 +1323,10 @@ install-data-nosubdir: $(addprefix $(inst_datadir)/,$(install-data)) 100@@ -1313,6 +1346,10 @@ install-data-nosubdir: $(addprefix $(inst_datadir)/,$(install-data))
101 install-headers-nosubdir: $(addprefix $(inst_includedir)/,$(headers)) 101 install-headers-nosubdir: $(addprefix $(inst_includedir)/,$(headers))
102 install-others-nosubdir: $(install-others) 102 install-others-nosubdir: $(install-others)
103 install-others-programs-nosubdir: $(install-others-programs) 103 install-others-programs-nosubdir: $(install-others-programs)
@@ -108,7 +108,7 @@ index 61a0240..373e628 100644
108 108
109 # We need all the `-nosubdir' targets so that `install' in the parent 109 # We need all the `-nosubdir' targets so that `install' in the parent
110 # doesn't depend on several things which each iterate over the subdirs. 110 # doesn't depend on several things which each iterate over the subdirs.
111@@ -1299,7 +1336,8 @@ install-%:: install-%-nosubdir ; 111@@ -1322,7 +1359,8 @@ install-%:: install-%-nosubdir ;
112 112
113 .PHONY: install install-no-libc.a-nosubdir 113 .PHONY: install install-no-libc.a-nosubdir
114 install-no-libc.a-nosubdir: install-headers-nosubdir install-data-nosubdir \ 114 install-no-libc.a-nosubdir: install-headers-nosubdir install-data-nosubdir \
@@ -119,5 +119,5 @@ index 61a0240..373e628 100644
119 install-no-libc.a-nosubdir: install-bin-nosubdir install-bin-script-nosubdir \ 119 install-no-libc.a-nosubdir: install-bin-nosubdir install-bin-script-nosubdir \
120 install-rootsbin-nosubdir install-sbin-nosubdir \ 120 install-rootsbin-nosubdir install-sbin-nosubdir \
121-- 121--
1222.10.2 1222.13.2
123 123
diff --git a/meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch b/meta/recipes-core/glibc/glibc/0022-eglibc-Forward-port-cross-locale-generation-support.patch
index 3399890de1..2a8a20ac8d 100644
--- a/meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch
+++ b/meta/recipes-core/glibc/glibc/0022-eglibc-Forward-port-cross-locale-generation-support.patch
@@ -1,7 +1,7 @@
1From 82516e3ed372f618c886a2de4f9498f597aa8a8b Mon Sep 17 00:00:00 2001 1From d97533dc201cfd863765b1a67a27fde3e2622da7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:33:49 +0000 3Date: Wed, 18 Mar 2015 01:33:49 +0000
4Subject: [PATCH 24/26] eglibc: Forward port cross locale generation support 4Subject: [PATCH 22/25] eglibc: Forward port cross locale generation support
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
@@ -23,11 +23,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
23 create mode 100644 locale/catnames.c 23 create mode 100644 locale/catnames.c
24 24
25diff --git a/locale/Makefile b/locale/Makefile 25diff --git a/locale/Makefile b/locale/Makefile
26index c5379e6..c98c675 100644 26index 98ee76272d..bc3afb2248 100644
27--- a/locale/Makefile 27--- a/locale/Makefile
28+++ b/locale/Makefile 28+++ b/locale/Makefile
29@@ -25,7 +25,8 @@ include ../Makeconfig 29@@ -26,7 +26,8 @@ headers = langinfo.h locale.h bits/locale.h \
30 headers = locale.h bits/locale.h langinfo.h xlocale.h 30 bits/types/locale_t.h bits/types/__locale_t.h
31 routines = setlocale findlocale loadlocale loadarchive \ 31 routines = setlocale findlocale loadlocale loadarchive \
32 localeconv nl_langinfo nl_langinfo_l mb_cur_max \ 32 localeconv nl_langinfo nl_langinfo_l mb_cur_max \
33- newlocale duplocale freelocale uselocale 33- newlocale duplocale freelocale uselocale
@@ -38,7 +38,7 @@ index c5379e6..c98c675 100644
38 address telephone measurement identification collate 38 address telephone measurement identification collate
39diff --git a/locale/catnames.c b/locale/catnames.c 39diff --git a/locale/catnames.c b/locale/catnames.c
40new file mode 100644 40new file mode 100644
41index 0000000..9fad357 41index 0000000000..9fad357db1
42--- /dev/null 42--- /dev/null
43+++ b/locale/catnames.c 43+++ b/locale/catnames.c
44@@ -0,0 +1,48 @@ 44@@ -0,0 +1,48 @@
@@ -91,10 +91,10 @@ index 0000000..9fad357
91+ [LC_ALL] = sizeof ("LC_ALL") - 1 91+ [LC_ALL] = sizeof ("LC_ALL") - 1
92+ }; 92+ };
93diff --git a/locale/localeinfo.h b/locale/localeinfo.h 93diff --git a/locale/localeinfo.h b/locale/localeinfo.h
94index 1f4da92..7f68935 100644 94index 4e1c8c568a..f7ed946f1c 100644
95--- a/locale/localeinfo.h 95--- a/locale/localeinfo.h
96+++ b/locale/localeinfo.h 96+++ b/locale/localeinfo.h
97@@ -224,7 +224,7 @@ __libc_tsd_define (extern, __locale_t, LOCALE) 97@@ -224,7 +224,7 @@ __libc_tsd_define (extern, locale_t, LOCALE)
98 unused. We can manage this playing some tricks with weak references. 98 unused. We can manage this playing some tricks with weak references.
99 But with thread-local locale settings, it becomes quite ungainly unless 99 But with thread-local locale settings, it becomes quite ungainly unless
100 we can use __thread variables. So only in that case do we attempt this. */ 100 we can use __thread variables. So only in that case do we attempt this. */
@@ -104,7 +104,7 @@ index 1f4da92..7f68935 100644
104 # define NL_CURRENT_INDIRECT 1 104 # define NL_CURRENT_INDIRECT 1
105 #endif 105 #endif
106diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c 106diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c
107index 99fcd35..5e528dc 100644 107index e55ab86e28..0f87e6dd28 100644
108--- a/locale/programs/charmap-dir.c 108--- a/locale/programs/charmap-dir.c
109+++ b/locale/programs/charmap-dir.c 109+++ b/locale/programs/charmap-dir.c
110@@ -19,7 +19,9 @@ 110@@ -19,7 +19,9 @@
@@ -150,7 +150,7 @@ index 99fcd35..5e528dc 100644
150 return NULL; 150 return NULL;
151 } 151 }
152diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c 152diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
153index 1e125f6..3b2867f 100644 153index cec848cb7c..fcd768eb7d 100644
154--- a/locale/programs/ld-collate.c 154--- a/locale/programs/ld-collate.c
155+++ b/locale/programs/ld-collate.c 155+++ b/locale/programs/ld-collate.c
156@@ -350,7 +350,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen, 156@@ -350,7 +350,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen,
@@ -199,7 +199,7 @@ index 1e125f6..3b2867f 100644
199 == runp->wcnext->wcs[runp->nwcs - 1] + 1)); 199 == runp->wcnext->wcs[runp->nwcs - 1] + 1));
200 200
201diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c 201diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
202index 0fd141c..68136e6 100644 202index df266c20d6..05c0152ec9 100644
203--- a/locale/programs/ld-ctype.c 203--- a/locale/programs/ld-ctype.c
204+++ b/locale/programs/ld-ctype.c 204+++ b/locale/programs/ld-ctype.c
205@@ -926,7 +926,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap, 205@@ -926,7 +926,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap,
@@ -281,7 +281,7 @@ index 0fd141c..68136e6 100644
281 srunp = srunp->next; 281 srunp = srunp->next;
282 } 282 }
283diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c 283diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c
284index 87531bc..5f2c266 100644 284index 32e9c41e35..6a61fcedeb 100644
285--- a/locale/programs/ld-time.c 285--- a/locale/programs/ld-time.c
286+++ b/locale/programs/ld-time.c 286+++ b/locale/programs/ld-time.c
287@@ -215,8 +215,10 @@ No definition for %s category found"), "LC_TIME")); 287@@ -215,8 +215,10 @@ No definition for %s category found"), "LC_TIME"));
@@ -350,7 +350,7 @@ index 87531bc..5f2c266 100644
350 350
351 351
352diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c 352diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
353index b885f65..0afb631 100644 353index 52b340963a..1a8bce17b4 100644
354--- a/locale/programs/linereader.c 354--- a/locale/programs/linereader.c
355+++ b/locale/programs/linereader.c 355+++ b/locale/programs/linereader.c
356@@ -595,7 +595,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap, 356@@ -595,7 +595,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap,
@@ -363,7 +363,7 @@ index b885f65..0afb631 100644
363 size_t bufmax = 56; 363 size_t bufmax = 56;
364 364
365diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c 365diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c
366index b4c48f1..ed08d48 100644 366index 6acc1342c7..df87740f8b 100644
367--- a/locale/programs/localedef.c 367--- a/locale/programs/localedef.c
368+++ b/locale/programs/localedef.c 368+++ b/locale/programs/localedef.c
369@@ -108,6 +108,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; 369@@ -108,6 +108,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
@@ -409,7 +409,7 @@ index b4c48f1..ed08d48 100644
409 force_output = 1; 409 force_output = 1;
410 break; 410 break;
411diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c 411diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c
412index 32f5cd2..02967b0 100644 412index 0990ef11be..683422c908 100644
413--- a/locale/programs/locfile.c 413--- a/locale/programs/locfile.c
414+++ b/locale/programs/locfile.c 414+++ b/locale/programs/locfile.c
415@@ -544,6 +544,9 @@ compare_files (const char *filename1, const char *filename2, size_t size, 415@@ -544,6 +544,9 @@ compare_files (const char *filename1, const char *filename2, size_t size,
@@ -432,7 +432,7 @@ index 32f5cd2..02967b0 100644
432 432
433 /* Record that FILE's next element is the 32-bit integer VALUE. */ 433 /* Record that FILE's next element is the 32-bit integer VALUE. */
434diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h 434diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h
435index a3dd904..2c7763a 100644 435index 3407e13c13..0bb556caf8 100644
436--- a/locale/programs/locfile.h 436--- a/locale/programs/locfile.h
437+++ b/locale/programs/locfile.h 437+++ b/locale/programs/locfile.h
438@@ -71,6 +71,8 @@ extern void write_all_categories (struct localedef_t *definitions, 438@@ -71,6 +71,8 @@ extern void write_all_categories (struct localedef_t *definitions,
@@ -521,7 +521,7 @@ index a3dd904..2c7763a 100644
521+ 521+
522 #endif /* locfile.h */ 522 #endif /* locfile.h */
523diff --git a/locale/setlocale.c b/locale/setlocale.c 523diff --git a/locale/setlocale.c b/locale/setlocale.c
524index 69b3141..1cef0be 100644 524index 19acc4b2c7..c89d3b87ad 100644
525--- a/locale/setlocale.c 525--- a/locale/setlocale.c
526+++ b/locale/setlocale.c 526+++ b/locale/setlocale.c
527@@ -64,36 +64,6 @@ static char *const _nl_current_used[] = 527@@ -64,36 +64,6 @@ static char *const _nl_current_used[] =
@@ -562,5 +562,5 @@ index 69b3141..1cef0be 100644
562 # define WEAK_POSTLOAD(postload) weak_extern (postload) 562 # define WEAK_POSTLOAD(postload) weak_extern (postload)
563 #else 563 #else
564-- 564--
5652.10.2 5652.13.2
566 566
diff --git a/meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch b/meta/recipes-core/glibc/glibc/0023-Define-DUMMY_LOCALE_T-if-not-defined.patch
index 1f0f5d4da2..9e580d44b1 100644
--- a/meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch
+++ b/meta/recipes-core/glibc/glibc/0023-Define-DUMMY_LOCALE_T-if-not-defined.patch
@@ -1,7 +1,7 @@
1From c2d8cdeab116caacdfedb35eeb3e743b44807bec Mon Sep 17 00:00:00 2001 1From cb4d00eac7f84092314de593626eea40f9529038 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 20 Apr 2016 21:11:00 -0700 3Date: Wed, 20 Apr 2016 21:11:00 -0700
4Subject: [PATCH 25/26] Define DUMMY_LOCALE_T if not defined 4Subject: [PATCH 23/25] Define DUMMY_LOCALE_T if not defined
5 5
6This is a hack to fix building the locale bits on an older 6This is a hack to fix building the locale bits on an older
7CentOs 5.X machine 7CentOs 5.X machine
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 1 file changed, 3 insertions(+) 14 1 file changed, 3 insertions(+)
15 15
16diff --git a/locale/programs/config.h b/locale/programs/config.h 16diff --git a/locale/programs/config.h b/locale/programs/config.h
17index f606365..0e5f8c3 100644 17index 5b416be0d8..79e66eed5e 100644
18--- a/locale/programs/config.h 18--- a/locale/programs/config.h
19+++ b/locale/programs/config.h 19+++ b/locale/programs/config.h
20@@ -19,6 +19,9 @@ 20@@ -19,6 +19,9 @@
@@ -28,5 +28,5 @@ index f606365..0e5f8c3 100644
28 #define PACKAGE _libc_intl_domainname 28 #define PACKAGE _libc_intl_domainname
29 #ifndef VERSION 29 #ifndef VERSION
30-- 30--
312.10.2 312.13.2
32 32
diff --git a/meta/recipes-core/glibc/glibc/0026-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch b/meta/recipes-core/glibc/glibc/0024-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch
index 852f5304ce..0b59352536 100644
--- a/meta/recipes-core/glibc/glibc/0026-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch
+++ b/meta/recipes-core/glibc/glibc/0024-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch
@@ -1,7 +1,7 @@
1From fb315c197cca61299a6f6588ea3460145c255d06 Mon Sep 17 00:00:00 2001 1From a784742739c90eea0d4ccbbd073a067d55ca95e8 Mon Sep 17 00:00:00 2001
2From: Mark Hatle <mark.hatle@windriver.com> 2From: Mark Hatle <mark.hatle@windriver.com>
3Date: Thu, 18 Aug 2016 14:07:58 -0500 3Date: Thu, 18 Aug 2016 14:07:58 -0500
4Subject: [PATCH 26/26] elf/dl-deps.c: Make _dl_build_local_scope breadth first 4Subject: [PATCH 24/25] elf/dl-deps.c: Make _dl_build_local_scope breadth first
5 5
6According to the ELF specification: 6According to the ELF specification:
7 7
@@ -24,7 +24,7 @@ Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
24 1 file changed, 10 insertions(+), 4 deletions(-) 24 1 file changed, 10 insertions(+), 4 deletions(-)
25 25
26diff --git a/elf/dl-deps.c b/elf/dl-deps.c 26diff --git a/elf/dl-deps.c b/elf/dl-deps.c
27index 6a82987..53be824 100644 27index 1b8bac6593..c616808f31 100644
28--- a/elf/dl-deps.c 28--- a/elf/dl-deps.c
29+++ b/elf/dl-deps.c 29+++ b/elf/dl-deps.c
30@@ -73,13 +73,19 @@ _dl_build_local_scope (struct link_map **list, struct link_map *map) 30@@ -73,13 +73,19 @@ _dl_build_local_scope (struct link_map **list, struct link_map *map)
@@ -52,5 +52,5 @@ index 6a82987..53be824 100644
52 } 52 }
53 53
54-- 54--
552.10.2 552.13.2
56 56
diff --git a/meta/recipes-core/glibc/glibc/0027-locale-fix-hard-coded-reference-to-gcc-E.patch b/meta/recipes-core/glibc/glibc/0025-locale-fix-hard-coded-reference-to-gcc-E.patch
index bce90557cf..f653077405 100644
--- a/meta/recipes-core/glibc/glibc/0027-locale-fix-hard-coded-reference-to-gcc-E.patch
+++ b/meta/recipes-core/glibc/glibc/0025-locale-fix-hard-coded-reference-to-gcc-E.patch
@@ -1,7 +1,7 @@
1From a2fc86cb8d0366171f100ebd033aeb9609fa40de Mon Sep 17 00:00:00 2001 1From f3a670496c8fe6d4acf045f5b167a19cf41b044e Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rosen?= <jeremy.rosen@smile.fr> 2From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rosen?= <jeremy.rosen@smile.fr>
3Date: Mon, 22 Aug 2016 16:09:25 +0200 3Date: Mon, 22 Aug 2016 16:09:25 +0200
4Subject: [PATCH 27/27] locale: fix hard-coded reference to gcc -E 4Subject: [PATCH 25/25] locale: fix hard-coded reference to gcc -E
5 5
6When new version of compilers are published, they may not be compatible with 6When new version of compilers are published, they may not be compatible with
7older versions of software. This is particularly common when software is built 7older versions of software. This is particularly common when software is built
@@ -17,13 +17,13 @@ environment.
17This patch replaces the hard-coded reference to the gcc binary with the proper 17This patch replaces the hard-coded reference to the gcc binary with the proper
18environment variable, thus allowing a user to override it. 18environment variable, thus allowing a user to override it.
19 19
20Upstream-Status: Submitted [https://sourceware.org/ml/libc-alpha/2016-08/msg00746.html] 20Upstream-Status : Submitted [https://sourceware.org/ml/libc-alpha/2016-08/msg00746.html]
21--- 21---
22 locale/gen-translit.pl | 2 +- 22 locale/gen-translit.pl | 2 +-
23 1 file changed, 1 insertion(+), 1 deletion(-) 23 1 file changed, 1 insertion(+), 1 deletion(-)
24 24
25diff --git a/locale/gen-translit.pl b/locale/gen-translit.pl 25diff --git a/locale/gen-translit.pl b/locale/gen-translit.pl
26index 30d3f2f..e976530 100644 26index 30d3f2f195..e97653017c 100644
27--- a/locale/gen-translit.pl 27--- a/locale/gen-translit.pl
28+++ b/locale/gen-translit.pl 28+++ b/locale/gen-translit.pl
29@@ -1,5 +1,5 @@ 29@@ -1,5 +1,5 @@
@@ -34,5 +34,5 @@ index 30d3f2f..e976530 100644
34 34
35 sub cstrlen { 35 sub cstrlen {
36-- 36--
372.10.2 372.13.2
38 38
diff --git a/meta/recipes-core/glibc/glibc_2.25.bb b/meta/recipes-core/glibc/glibc_2.25.90.bb
index c37438a2d1..24f5a3809c 100644
--- a/meta/recipes-core/glibc/glibc_2.25.bb
+++ b/meta/recipes-core/glibc/glibc_2.25.90.bb
@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \
7 7
8DEPENDS += "gperf-native" 8DEPENDS += "gperf-native"
9 9
10SRCREV ?= "db0242e3023436757bbc7c488a779e6e3343db04" 10SRCREV ?= "43a9f537fc121a867981ca31ea9d79f33ce0fd24"
11 11
12SRCBRANCH ?= "release/${PV}/master" 12#SRCBRANCH ?= "release/${PV}/master"
13SRCBRANCH ?= "master"
13 14
14GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" 15GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
15UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)" 16UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"
@@ -26,22 +27,20 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
26 file://0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch \ 27 file://0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch \
27 file://0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch \ 28 file://0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch \
28 file://0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch \ 29 file://0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch \
29 file://0012-Make-ld-version-output-matching-grok-gold-s-output.patch \ 30 file://0012-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch \
30 file://0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch \ 31 file://0013-Add-unused-attribute.patch \
31 file://0014-Add-unused-attribute.patch \ 32 file://0014-yes-within-the-path-sets-wrong-config-variables.patch \
32 file://0015-yes-within-the-path-sets-wrong-config-variables.patch \ 33 file://0015-timezone-re-written-tzselect-as-posix-sh.patch \
33 file://0016-timezone-re-written-tzselect-as-posix-sh.patch \ 34 file://0016-Remove-bash-dependency-for-nscd-init-script.patch \
34 file://0017-Remove-bash-dependency-for-nscd-init-script.patch \ 35 file://0017-eglibc-Cross-building-and-testing-instructions.patch \
35 file://0018-eglibc-Cross-building-and-testing-instructions.patch \ 36 file://0018-eglibc-Help-bootstrap-cross-toolchain.patch \
36 file://0019-eglibc-Help-bootstrap-cross-toolchain.patch \ 37 file://0019-eglibc-Clear-cache-lines-on-ppc8xx.patch \
37 file://0020-eglibc-cherry-picked-from.patch \ 38 file://0020-eglibc-Resolve-__fpscr_values-on-SH4.patch \
38 file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \ 39 file://0021-eglibc-Install-PIC-archives.patch \
39 file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \ 40 file://0022-eglibc-Forward-port-cross-locale-generation-support.patch \
40 file://0023-eglibc-Install-PIC-archives.patch \ 41 file://0023-Define-DUMMY_LOCALE_T-if-not-defined.patch \
41 file://0024-eglibc-Forward-port-cross-locale-generation-support.patch \ 42 file://0024-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch \
42 file://0025-Define-DUMMY_LOCALE_T-if-not-defined.patch \ 43 file://0025-locale-fix-hard-coded-reference-to-gcc-E.patch \
43 file://0026-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch \
44 file://0027-locale-fix-hard-coded-reference-to-gcc-E.patch \
45" 44"
46 45
47NATIVESDKFIXES ?= "" 46NATIVESDKFIXES ?= ""