summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-02-04 21:41:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-05 12:00:54 +0000
commit7b8df042d0c175388d6230f008b1c83d5c5cd5da (patch)
treeeffa543d93952e198887369a11b9667d94599349
parent77d9b5f02aec991540926fe144076e122c17f64d (diff)
downloadpoky-7b8df042d0c175388d6230f008b1c83d5c5cd5da.tar.gz
glibc: Upgrade to 2.33
Drop backported patches (From OE-Core rev: aa87638cf4f2bef66df92f961c7814f6b482fd3d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 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.33.bb (renamed from meta/recipes-core/glibc/cross-localedef-native_2.32.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-common.inc2
-rw-r--r--meta/recipes-core/glibc/glibc-locale_2.33.bb (renamed from meta/recipes-core/glibc/glibc-locale_2.32.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-mtrace_2.33.bb (renamed from meta/recipes-core/glibc/glibc-mtrace_2.32.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-scripts_2.33.bb (renamed from meta/recipes-core/glibc/glibc-scripts_2.32.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-testsuite_2.33.bb (renamed from meta/recipes-core/glibc/glibc-testsuite_2.32.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-version.inc6
-rw-r--r--meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch7
-rw-r--r--meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch7
-rw-r--r--meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch22
-rw-r--r--meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch12
-rw-r--r--meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch88
-rw-r--r--meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch13
-rw-r--r--meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch15
-rw-r--r--meta/recipes-core/glibc/glibc/0008-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch7
-rw-r--r--meta/recipes-core/glibc/glibc/0009-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch7
-rw-r--r--meta/recipes-core/glibc/glibc/0010-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch9
-rw-r--r--meta/recipes-core/glibc/glibc/0011-Quote-from-bug-1443-which-explains-what-the-patch-do.patch10
-rw-r--r--meta/recipes-core/glibc/glibc/0012-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch9
-rw-r--r--meta/recipes-core/glibc/glibc/0013-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch9
-rw-r--r--meta/recipes-core/glibc/glibc/0014-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch7
-rw-r--r--meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch19
-rw-r--r--meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch11
-rw-r--r--meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch7
-rw-r--r--meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch7
-rw-r--r--meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch13
-rw-r--r--meta/recipes-core/glibc/glibc/0020-eglibc-Resolve-__fpscr_values-on-SH4.patch9
-rw-r--r--meta/recipes-core/glibc/glibc/0021-eglibc-Forward-port-cross-locale-generation-support.patch29
-rw-r--r--meta/recipes-core/glibc/glibc/0022-Define-DUMMY_LOCALE_T-if-not-defined.patch9
-rw-r--r--meta/recipes-core/glibc/glibc/0023-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch10
-rw-r--r--meta/recipes-core/glibc/glibc/0024-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch9
-rw-r--r--meta/recipes-core/glibc/glibc/0025-intl-Emit-no-lines-in-bison-generated-files.patch9
-rw-r--r--meta/recipes-core/glibc/glibc/0027-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch9
-rw-r--r--meta/recipes-core/glibc/glibc/0028-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch10
-rw-r--r--meta/recipes-core/glibc/glibc/0029-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch29
-rw-r--r--meta/recipes-core/glibc/glibc/0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch7
-rw-r--r--meta/recipes-core/glibc/glibc/0031-linux-Allow-adjtime-with-NULL-argument-BZ-26833.patch110
-rw-r--r--meta/recipes-core/glibc/glibc/CVE-2020-29562.patch155
-rw-r--r--meta/recipes-core/glibc/glibc/CVE-2020-29573.patch56
-rw-r--r--meta/recipes-core/glibc/glibc_2.33.bb (renamed from meta/recipes-core/glibc/glibc_2.32.bb)6
41 files changed, 176 insertions, 570 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index ba6e360b30..8df328dc0d 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -20,7 +20,7 @@ GCCVERSION ?= "10.%"
20SDKGCCVERSION ?= "${GCCVERSION}" 20SDKGCCVERSION ?= "${GCCVERSION}"
21BINUVERSION ?= "2.36%" 21BINUVERSION ?= "2.36%"
22GDBVERSION ?= "10.%" 22GDBVERSION ?= "10.%"
23GLIBCVERSION ?= "2.32" 23GLIBCVERSION ?= "2.33"
24LINUXLIBCVERSION ?= "5.10%" 24LINUXLIBCVERSION ?= "5.10%"
25QEMUVERSION ?= "5.2%" 25QEMUVERSION ?= "5.2%"
26GOVERSION ?= "1.15%" 26GOVERSION ?= "1.15%"
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.32.bb b/meta/recipes-core/glibc/cross-localedef-native_2.33.bb
index ec59c6ba10..ec59c6ba10 100644
--- a/meta/recipes-core/glibc/cross-localedef-native_2.32.bb
+++ b/meta/recipes-core/glibc/cross-localedef-native_2.33.bb
diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc
index 027c700998..41ff7e9a19 100644
--- a/meta/recipes-core/glibc/glibc-common.inc
+++ b/meta/recipes-core/glibc/glibc-common.inc
@@ -22,4 +22,4 @@ ARM_INSTRUCTION_SET_armv6 = "arm"
22# 22#
23COMPATIBLE_HOST_libc-musl_class-target = "null" 23COMPATIBLE_HOST_libc-musl_class-target = "null"
24 24
25PV = "2.32" 25PV = "2.33"
diff --git a/meta/recipes-core/glibc/glibc-locale_2.32.bb b/meta/recipes-core/glibc/glibc-locale_2.33.bb
index f7702e0358..f7702e0358 100644
--- a/meta/recipes-core/glibc/glibc-locale_2.32.bb
+++ b/meta/recipes-core/glibc/glibc-locale_2.33.bb
diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.32.bb b/meta/recipes-core/glibc/glibc-mtrace_2.33.bb
index 0b69bad46a..0b69bad46a 100644
--- a/meta/recipes-core/glibc/glibc-mtrace_2.32.bb
+++ b/meta/recipes-core/glibc/glibc-mtrace_2.33.bb
diff --git a/meta/recipes-core/glibc/glibc-scripts_2.32.bb b/meta/recipes-core/glibc/glibc-scripts_2.33.bb
index 5a89bd8022..5a89bd8022 100644
--- a/meta/recipes-core/glibc/glibc-scripts_2.32.bb
+++ b/meta/recipes-core/glibc/glibc-scripts_2.33.bb
diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.32.bb b/meta/recipes-core/glibc/glibc-testsuite_2.33.bb
index d887aeff79..d887aeff79 100644
--- a/meta/recipes-core/glibc/glibc-testsuite_2.32.bb
+++ b/meta/recipes-core/glibc/glibc-testsuite_2.33.bb
diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc
index 586b2e207e..3a95173175 100644
--- a/meta/recipes-core/glibc/glibc-version.inc
+++ b/meta/recipes-core/glibc/glibc-version.inc
@@ -1,6 +1,6 @@
1SRCBRANCH ?= "release/2.32/master" 1SRCBRANCH ?= "release/2.33/master"
2PV = "2.32" 2PV = "2.33"
3SRCREV_glibc ?= "760e1d287825fa91d4d5a0cc921340c740d803e2" 3SRCREV_glibc ?= "9826b03b747b841f5fc6de2054bf1ef3f5c4bdf3"
4SRCREV_localedef ?= "bd644c9e6f3e20c5504da1488448173c69c56c28" 4SRCREV_localedef ?= "bd644c9e6f3e20c5504da1488448173c69c56c28"
5 5
6GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" 6GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
diff --git a/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch b/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch
index e0ec1887dc..f96da83a9b 100644
--- a/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch
+++ b/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch
@@ -1,7 +1,7 @@
1From 5db90855621a81d02f1434d5602cefea8c45de1c Mon Sep 17 00:00:00 2001 1From d1f1671034a222417f9a829dcaa4f0c3d4f8954d Mon Sep 17 00:00:00 2001
2From: Jason Wessel <jason.wessel@windriver.com> 2From: Jason Wessel <jason.wessel@windriver.com>
3Date: Sat, 7 Dec 2019 09:59:22 -0800 3Date: Sat, 7 Dec 2019 09:59:22 -0800
4Subject: [PATCH 01/29] localedef: Add hardlink resolver from util-linux 4Subject: [PATCH] localedef: Add hardlink resolver from util-linux
5 5
6The hard link resolver that is built into localedef cannot be run in 6The hard link resolver that is built into localedef cannot be run in
7parallel. It will search sibling directories (which are be processed 7parallel. It will search sibling directories (which are be processed
@@ -1128,6 +1128,3 @@ index 0000000000..0129a85e2e
1128+} 1128+}
1129+ 1129+
1130+#endif 1130+#endif
1131--
11322.27.0
1133
diff --git a/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch b/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch
index 05b76803b4..3dc4582f47 100644
--- a/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch
+++ b/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch
@@ -1,7 +1,7 @@
1From ab022ce3c1c01fd6c850f541a33efd0cacabe052 Mon Sep 17 00:00:00 2001 1From 14d256e2db009f8bac9a265e8393d7ed25050df9 Mon Sep 17 00:00:00 2001
2From: Jason Wessel <jason.wessel@windriver.com> 2From: Jason Wessel <jason.wessel@windriver.com>
3Date: Sat, 7 Dec 2019 10:01:37 -0800 3Date: Sat, 7 Dec 2019 10:01:37 -0800
4Subject: [PATCH 02/29] localedef: fix-ups hardlink to make it compile 4Subject: [PATCH] localedef: fix-ups hardlink to make it compile
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7Signed-off-by: Jason Wessel <jason.wessel@windriver.com> 7Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
@@ -236,6 +236,3 @@ index 63615896b0..726e6dd948 100644
236 } 236 }
237 continue; 237 continue;
238 } 238 }
239--
2402.27.0
241
diff --git a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
index 743994f2db..c4718a106f 100644
--- a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
+++ b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
@@ -1,8 +1,7 @@
1From de4322ef6d4dc9fc3ee9b69af1c10edbc64a66a3 Mon Sep 17 00:00:00 2001 1From 32a4b8ae046fe4bb1b19f61378d079d44deaede7 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 03/29] nativesdk-glibc: Look for host system ld.so.cache as 4Subject: [PATCH] nativesdk-glibc: Look for host system ld.so.cache as well
5 well
6 5
7Upstream-Status: Inappropriate [embedded specific] 6Upstream-Status: Inappropriate [embedded specific]
8 7
@@ -31,10 +30,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
31 1 file changed, 8 insertions(+), 8 deletions(-) 30 1 file changed, 8 insertions(+), 8 deletions(-)
32 31
33diff --git a/elf/dl-load.c b/elf/dl-load.c 32diff --git a/elf/dl-load.c b/elf/dl-load.c
34index e39980fb19..565b039b23 100644 33index 9e2089cfaa..ad01674027 100644
35--- a/elf/dl-load.c 34--- a/elf/dl-load.c
36+++ b/elf/dl-load.c 35+++ b/elf/dl-load.c
37@@ -2160,6 +2160,14 @@ _dl_map_object (struct link_map *loader, const char *name, 36@@ -2175,6 +2175,14 @@ _dl_map_object (struct link_map *loader, const char *name,
38 } 37 }
39 } 38 }
40 39
@@ -42,14 +41,14 @@ index e39980fb19..565b039b23 100644
42+ if (fd == -1 41+ if (fd == -1
43+ && ((l = loader ?: GL(dl_ns)[nsid]._ns_loaded) == NULL 42+ && ((l = loader ?: GL(dl_ns)[nsid]._ns_loaded) == NULL
44+ || __builtin_expect (!(l->l_flags_1 & DF_1_NODEFLIB), 1)) 43+ || __builtin_expect (!(l->l_flags_1 & DF_1_NODEFLIB), 1))
45+ && rtld_search_dirs.dirs != (void *) -1) 44+ && __rtld_search_dirs.dirs != (void *) -1)
46+ fd = open_path (name, namelen, mode & __RTLD_SECURE, &rtld_search_dirs, 45+ fd = open_path (name, namelen, mode & __RTLD_SECURE, &__rtld_search_dirs,
47+ &realname, &fb, l, LA_SER_DEFAULT, &found_other_class); 46+ &realname, &fb, l, LA_SER_DEFAULT, &found_other_class);
48+ /* Finally try ld.so.cache */ 47+ /* Finally try ld.so.cache */
49 #ifdef USE_LDCONFIG 48 #ifdef USE_LDCONFIG
50 if (fd == -1 49 if (fd == -1
51 && (__glibc_likely ((mode & __RTLD_SECURE) == 0) 50 && (__glibc_likely ((mode & __RTLD_SECURE) == 0)
52@@ -2218,14 +2226,6 @@ _dl_map_object (struct link_map *loader, const char *name, 51@@ -2233,14 +2241,6 @@ _dl_map_object (struct link_map *loader, const char *name,
53 } 52 }
54 #endif 53 #endif
55 54
@@ -57,13 +56,10 @@ index e39980fb19..565b039b23 100644
57- if (fd == -1 56- if (fd == -1
58- && ((l = loader ?: GL(dl_ns)[nsid]._ns_loaded) == NULL 57- && ((l = loader ?: GL(dl_ns)[nsid]._ns_loaded) == NULL
59- || __glibc_likely (!(l->l_flags_1 & DF_1_NODEFLIB))) 58- || __glibc_likely (!(l->l_flags_1 & DF_1_NODEFLIB)))
60- && rtld_search_dirs.dirs != (void *) -1) 59- && __rtld_search_dirs.dirs != (void *) -1)
61- fd = open_path (name, namelen, mode, &rtld_search_dirs, 60- fd = open_path (name, namelen, mode, &__rtld_search_dirs,
62- &realname, &fb, l, LA_SER_DEFAULT, &found_other_class); 61- &realname, &fb, l, LA_SER_DEFAULT, &found_other_class);
63- 62-
64 /* Add another newline when we are tracing the library loading. */ 63 /* Add another newline when we are tracing the library loading. */
65 if (__glibc_unlikely (GLRO(dl_debug_mask) & DL_DEBUG_LIBS)) 64 if (__glibc_unlikely (GLRO(dl_debug_mask) & DL_DEBUG_LIBS))
66 _dl_debug_printf ("\n"); 65 _dl_debug_printf ("\n");
67--
682.27.0
69
diff --git a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
index a3b5b7750c..a8e625d24c 100644
--- a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
+++ b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
@@ -1,8 +1,7 @@
1From 258c44e4ecffd830cb89d0016d45b2bac765f559 Mon Sep 17 00:00:00 2001 1From aa8393bff257e4badfd208b88473ead175c69362 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 04/29] nativesdk-glibc: Fix buffer overrun with a relocated 4Subject: [PATCH] nativesdk-glibc: Fix buffer overrun with a relocated SDK
5 SDK
6 5
7When ld-linux-*.so.2 is relocated to a path that is longer than the 6When ld-linux-*.so.2 is relocated to a path that is longer than the
8original fixed location, the dynamic loader will crash in open_path 7original fixed location, the dynamic loader will crash in open_path
@@ -22,10 +21,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
22 1 file changed, 12 insertions(+) 21 1 file changed, 12 insertions(+)
23 22
24diff --git a/elf/dl-load.c b/elf/dl-load.c 23diff --git a/elf/dl-load.c b/elf/dl-load.c
25index 565b039b23..e1b3486549 100644 24index ad01674027..f455207e79 100644
26--- a/elf/dl-load.c 25--- a/elf/dl-load.c
27+++ b/elf/dl-load.c 26+++ b/elf/dl-load.c
28@@ -1860,7 +1860,19 @@ open_path (const char *name, size_t namelen, int mode, 27@@ -1871,7 +1871,19 @@ open_path (const char *name, size_t namelen, int mode,
29 given on the command line when rtld is run directly. */ 28 given on the command line when rtld is run directly. */
30 return -1; 29 return -1;
31 30
@@ -45,6 +44,3 @@ index 565b039b23..e1b3486549 100644
45 do 44 do
46 { 45 {
47 struct r_search_path_elem *this_dir = *dirs; 46 struct r_search_path_elem *this_dir = *dirs;
48--
492.27.0
50
diff --git a/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch b/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
index 2073576aac..197caae921 100644
--- a/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
+++ b/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
@@ -1,8 +1,7 @@
1From 19cd858f5f04a6ac584fbd89a2fbc51791263b85 Mon Sep 17 00:00:00 2001 1From 3ea08e491a8494ff03e598b5e0fc2d8131e75da9 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 05/29] nativesdk-glibc: Raise the size of arrays containing dl 4Subject: [PATCH] nativesdk-glibc: Raise the size of arrays containing dl paths
5 paths
6 5
7This patch puts the dynamic loader path in the binaries, SYSTEM_DIRS strings 6This patch puts the dynamic loader path in the binaries, SYSTEM_DIRS strings
8and lengths as well as ld.so.cache path in the dynamic loader to specific 7and lengths as well as ld.so.cache path in the dynamic loader to specific
@@ -18,20 +17,21 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
18--- 17---
19 elf/dl-cache.c | 4 ++++ 18 elf/dl-cache.c | 4 ++++
20 elf/dl-load.c | 4 ++-- 19 elf/dl-load.c | 4 ++--
20 elf/dl-usage.c | 6 ++++--
21 elf/interp.c | 2 +- 21 elf/interp.c | 2 +-
22 elf/ldconfig.c | 3 +++ 22 elf/ldconfig.c | 3 +++
23 elf/rtld.c | 5 +++-- 23 elf/rtld.c | 1 +
24 iconv/gconv_conf.c | 2 +- 24 iconv/gconv_conf.c | 2 +-
25 sysdeps/generic/dl-cache.h | 4 ---- 25 sysdeps/generic/dl-cache.h | 4 ----
26 7 files changed, 14 insertions(+), 10 deletions(-) 26 8 files changed, 16 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 93d185e788..e115b18756 100644 29index 32f3bef5ea..71f3a82dc0 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@@ -133,6 +133,10 @@ do \ 32@@ -359,6 +359,10 @@ search_cache (const char *string_table, uint32_t string_table_size,
33 while (0) 33 return best;
34 34 }
35 35
36+const char LD_SO_CACHE[4096] __attribute__ ((section (".ldsocache"))) = 36+const char LD_SO_CACHE[4096] __attribute__ ((section (".ldsocache"))) =
37+ SYSCONFDIR "/ld.so.cache"; 37+ SYSCONFDIR "/ld.so.cache";
@@ -41,10 +41,10 @@ index 93d185e788..e115b18756 100644
41 _dl_cache_libcmp (const char *p1, const char *p2) 41 _dl_cache_libcmp (const char *p1, const char *p2)
42 { 42 {
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 e1b3486549..5226d0c4fa 100644 44index f455207e79..a144e24fcf 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@@ -111,8 +111,8 @@ static size_t max_capstrlen attribute_relro; 47@@ -115,8 +115,8 @@ enum { ncapstr = 1, max_capstrlen = 0 };
48 gen-trusted-dirs.awk. */ 48 gen-trusted-dirs.awk. */
49 #include "trusted-dirs.h" 49 #include "trusted-dirs.h"
50 50
@@ -55,8 +55,39 @@ index e1b3486549..5226d0c4fa 100644
55 { 55 {
56 SYSTEM_DIRS_LEN 56 SYSTEM_DIRS_LEN
57 }; 57 };
58diff --git a/elf/dl-usage.c b/elf/dl-usage.c
59index 6e26818bd7..f09e8b93e5 100644
60--- a/elf/dl-usage.c
61+++ b/elf/dl-usage.c
62@@ -25,6 +25,8 @@
63 #include <dl-procinfo.h>
64 #include <dl-hwcaps.h>
65
66+extern const char LD_SO_CACHE[4096] __attribute__ ((section (".ldsocache")));
67+
68 void
69 _dl_usage (const char *argv0, const char *wrong_option)
70 {
71@@ -244,7 +246,7 @@ setting environment variables (which would be inherited by subprocesses).\n\
72 --list list all dependencies and how they are resolved\n\
73 --verify verify that given object really is a dynamically linked\n\
74 object we can handle\n\
75- --inhibit-cache Do not use " LD_SO_CACHE "\n\
76+ --inhibit-cache Do not use %s\n\
77 --library-path PATH use given PATH instead of content of the environment\n\
78 variable LD_LIBRARY_PATH\n\
79 --glibc-hwcaps-prepend LIST\n\
80@@ -266,7 +268,7 @@ setting environment variables (which would be inherited by subprocesses).\n\
81 \n\
82 This program interpreter self-identifies as: " RTLD "\n\
83 ",
84- argv0);
85+ argv0, LD_SO_CACHE);
86 print_search_path_for_help (state);
87 print_hwcaps_subdirectories (state);
88 print_legacy_hwcap_directories ();
58diff --git a/elf/interp.c b/elf/interp.c 89diff --git a/elf/interp.c b/elf/interp.c
59index 331cc1df48..885b2d9476 100644 90index 91966702ca..dc86c20e83 100644
60--- a/elf/interp.c 91--- a/elf/interp.c
61+++ b/elf/interp.c 92+++ b/elf/interp.c
62@@ -18,5 +18,5 @@ 93@@ -18,5 +18,5 @@
@@ -67,10 +98,10 @@ index 331cc1df48..885b2d9476 100644
67+const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp"))) 98+const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp")))
68 = RUNTIME_LINKER; 99 = RUNTIME_LINKER;
69diff --git a/elf/ldconfig.c b/elf/ldconfig.c 100diff --git a/elf/ldconfig.c b/elf/ldconfig.c
70index 0c090dca15..6bb6e0fe72 100644 101index 28ed637a29..5d38a60c5d 100644
71--- a/elf/ldconfig.c 102--- a/elf/ldconfig.c
72+++ b/elf/ldconfig.c 103+++ b/elf/ldconfig.c
73@@ -171,6 +171,9 @@ static struct argp argp = 104@@ -176,6 +176,9 @@ static struct argp argp =
74 options, parse_opt, NULL, doc, NULL, more_help, NULL 105 options, parse_opt, NULL, doc, NULL, more_help, NULL
75 }; 106 };
76 107
@@ -81,10 +112,10 @@ index 0c090dca15..6bb6e0fe72 100644
81 a platform. */ 112 a platform. */
82 static int 113 static int
83diff --git a/elf/rtld.c b/elf/rtld.c 114diff --git a/elf/rtld.c b/elf/rtld.c
84index 5b882163fa..db407b5d8b 100644 115index 596b6ac3d9..1ccd33f668 100644
85--- a/elf/rtld.c 116--- a/elf/rtld.c
86+++ b/elf/rtld.c 117+++ b/elf/rtld.c
87@@ -217,6 +217,7 @@ dso_name_valid_for_suid (const char *p) 118@@ -185,6 +185,7 @@ dso_name_valid_for_suid (const char *p)
88 } 119 }
89 return *p != '\0'; 120 return *p != '\0';
90 } 121 }
@@ -92,24 +123,8 @@ index 5b882163fa..db407b5d8b 100644
92 123
93 static void 124 static void
94 audit_list_init (struct audit_list *list) 125 audit_list_init (struct audit_list *list)
95@@ -1286,13 +1287,13 @@ 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\
97 --verify verify that given object really is a dynamically linked\n\
98 object we can handle\n\
99- --inhibit-cache Do not use " LD_SO_CACHE "\n\
100+ --inhibit-cache Do not use %s\n\
101 --library-path PATH use given PATH instead of content of the environment\n\
102 variable LD_LIBRARY_PATH\n\
103 --inhibit-rpath LIST ignore RUNPATH and RPATH information in object names\n\
104 in LIST\n\
105 --audit LIST use objects named in LIST as auditors\n\
106- --preload LIST preload objects named in LIST\n");
107+ --preload LIST preload objects named in LIST\n", LD_SO_CACHE);
108
109 ++_dl_skip_args;
110 --_dl_argc;
111diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c 126diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c
112index 735bd1f2d5..25100ba666 100644 127index 682f949834..7eed87bc9d 100644
113--- a/iconv/gconv_conf.c 128--- a/iconv/gconv_conf.c
114+++ b/iconv/gconv_conf.c 129+++ b/iconv/gconv_conf.c
115@@ -36,7 +36,7 @@ 130@@ -36,7 +36,7 @@
@@ -122,10 +137,10 @@ index 735bd1f2d5..25100ba666 100644
122 /* Type to represent search path. */ 137 /* Type to represent search path. */
123 struct path_elem 138 struct path_elem
124diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h 139diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h
125index 6b310e9e15..3877311df4 100644 140index 964d50a486..94bf68ca9d 100644
126--- a/sysdeps/generic/dl-cache.h 141--- a/sysdeps/generic/dl-cache.h
127+++ b/sysdeps/generic/dl-cache.h 142+++ b/sysdeps/generic/dl-cache.h
128@@ -27,10 +27,6 @@ 143@@ -34,10 +34,6 @@
129 ((flags) == 1 || (flags) == _DL_CACHE_DEFAULT_ID) 144 ((flags) == 1 || (flags) == _DL_CACHE_DEFAULT_ID)
130 #endif 145 #endif
131 146
@@ -136,6 +151,3 @@ index 6b310e9e15..3877311df4 100644
136 #ifndef add_system_dir 151 #ifndef add_system_dir
137 # define add_system_dir(dir) add_dir (dir) 152 # define add_system_dir(dir) add_dir (dir)
138 #endif 153 #endif
139--
1402.27.0
141
diff --git a/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch b/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
index 372dca727e..172ade8d97 100644
--- a/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
+++ b/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
@@ -1,7 +1,7 @@
1From bd0486cab67c3441210aed48caab67418610a765 Mon Sep 17 00:00:00 2001 1From 19e3e45eb1838ee80af13c3d27fcff446773211e 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 06/29] nativesdk-glibc: Allow 64 bit atomics for x86 4Subject: [PATCH] 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.
@@ -17,11 +17,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 1 file changed, 1 insertion(+), 2 deletions(-) 17 1 file changed, 1 insertion(+), 2 deletions(-)
18 18
19diff --git a/sysdeps/x86/atomic-machine.h b/sysdeps/x86/atomic-machine.h 19diff --git a/sysdeps/x86/atomic-machine.h b/sysdeps/x86/atomic-machine.h
20index bb49648374..aa08d3c0a7 100644 20index 695222e4fa..9d39bfdbd5 100644
21--- a/sysdeps/x86/atomic-machine.h 21--- a/sysdeps/x86/atomic-machine.h
22+++ b/sysdeps/x86/atomic-machine.h 22+++ b/sysdeps/x86/atomic-machine.h
23@@ -58,15 +58,14 @@ typedef uintmax_t uatomic_max_t; 23@@ -52,15 +52,14 @@ typedef uintmax_t uatomic_max_t;
24 #endif 24 #define LOCK_PREFIX "lock;"
25 25
26 #define USE_ATOMIC_COMPILER_BUILTINS 1 26 #define USE_ATOMIC_COMPILER_BUILTINS 1
27+# define __HAVE_64B_ATOMICS 1 27+# define __HAVE_64B_ATOMICS 1
@@ -37,6 +37,3 @@ index bb49648374..aa08d3c0a7 100644
37 # define SP_REG "esp" 37 # define SP_REG "esp"
38 # define SEG_REG "gs" 38 # define SEG_REG "gs"
39 # define BR_CONSTRAINT "r" 39 # define BR_CONSTRAINT "r"
40--
412.27.0
42
diff --git a/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch b/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch
index 729ce1b42d..14697567c2 100644
--- a/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch
+++ b/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch
@@ -1,7 +1,7 @@
1From 9a8bf11ea375a2fe5eddb30bc10943e64d3b96a4 Mon Sep 17 00:00:00 2001 1From 732d4f4954fe60718870048d0583a20a7a8a8540 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 3 Aug 2018 09:55:12 -0700 3Date: Fri, 3 Aug 2018 09:55:12 -0700
4Subject: [PATCH 07/29] nativesdk-glibc: Make relocatable install for locales 4Subject: [PATCH] nativesdk-glibc: Make relocatable install for locales
5 5
6The glibc locale path is hard-coded to the install prefix, but in SDKs we need 6The glibc locale path is hard-coded to the install prefix, but in SDKs we need
7to be able to relocate the binaries. Expand the strings to 4K and put them in a 7to be able to relocate the binaries. Expand the strings to 4K and put them in a
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 4 files changed, 8 insertions(+), 7 deletions(-) 19 4 files changed, 8 insertions(+), 7 deletions(-)
20 20
21diff --git a/locale/findlocale.c b/locale/findlocale.c 21diff --git a/locale/findlocale.c b/locale/findlocale.c
22index 9cd3b71a6d..84272310e0 100644 22index ab09122b0c..f42cc75780 100644
23--- a/locale/findlocale.c 23--- a/locale/findlocale.c
24+++ b/locale/findlocale.c 24+++ b/locale/findlocale.c
25@@ -56,7 +56,7 @@ struct __locale_data *const _nl_C[] attribute_hidden = 25@@ -56,7 +56,7 @@ struct __locale_data *const _nl_C[] attribute_hidden =
@@ -41,7 +41,7 @@ index 9cd3b71a6d..84272310e0 100644
41 else 41 else
42 /* We really have to load some data. First see whether the name is 42 /* We really have to load some data. First see whether the name is
43diff --git a/locale/loadarchive.c b/locale/loadarchive.c 43diff --git a/locale/loadarchive.c b/locale/loadarchive.c
44index ba0fe45648..9737fd4cda 100644 44index 4177fc8972..40247b1e68 100644
45--- a/locale/loadarchive.c 45--- a/locale/loadarchive.c
46+++ b/locale/loadarchive.c 46+++ b/locale/loadarchive.c
47@@ -42,7 +42,7 @@ 47@@ -42,7 +42,7 @@
@@ -54,7 +54,7 @@ index ba0fe45648..9737fd4cda 100644
54 /* Size of initial mapping window, optimal if large enough to 54 /* Size of initial mapping window, optimal if large enough to
55 cover the header plus the initial locale. */ 55 cover the header plus the initial locale. */
56diff --git a/locale/localeinfo.h b/locale/localeinfo.h 56diff --git a/locale/localeinfo.h b/locale/localeinfo.h
57index 1bfe22aa7f..fdc283c69a 100644 57index b3d4da0185..22f9dc1140 100644
58--- a/locale/localeinfo.h 58--- a/locale/localeinfo.h
59+++ b/locale/localeinfo.h 59+++ b/locale/localeinfo.h
60@@ -331,7 +331,7 @@ _nl_lookup_word (locale_t l, int category, int item) 60@@ -331,7 +331,7 @@ _nl_lookup_word (locale_t l, int category, int item)
@@ -67,7 +67,7 @@ index 1bfe22aa7f..fdc283c69a 100644
67 /* Load the locale data for CATEGORY from the file specified by *NAME. 67 /* Load the locale data for CATEGORY from the file specified by *NAME.
68 If *NAME is "", use environment variables as specified by POSIX, and 68 If *NAME is "", use environment variables as specified by POSIX, and
69diff --git a/locale/programs/locale.c b/locale/programs/locale.c 69diff --git a/locale/programs/locale.c b/locale/programs/locale.c
70index e2e309c2a1..61a92cdcd1 100644 70index 575b208e82..5ec630c3a4 100644
71--- a/locale/programs/locale.c 71--- a/locale/programs/locale.c
72+++ b/locale/programs/locale.c 72+++ b/locale/programs/locale.c
73@@ -632,6 +632,7 @@ nameentcmp (const void *a, const void *b) 73@@ -632,6 +632,7 @@ nameentcmp (const void *a, const void *b)
@@ -98,6 +98,3 @@ index e2e309c2a1..61a92cdcd1 100644
98 98
99 locrec = (struct locrecent *) (addr + names[cnt].locrec_offset); 99 locrec = (struct locrecent *) (addr + names[cnt].locrec_offset);
100 100
101--
1022.27.0
103
diff --git a/meta/recipes-core/glibc/glibc/0008-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch b/meta/recipes-core/glibc/glibc/0008-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch
index 5e3b3e2d7b..2162bf38c2 100644
--- a/meta/recipes-core/glibc/glibc/0008-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch
+++ b/meta/recipes-core/glibc/glibc/0008-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch
@@ -1,7 +1,7 @@
1From 59b0a78ae706a540dbd8905bc97c875220d6aeb2 Mon Sep 17 00:00:00 2001 1From 3d58330390a7d4f4ed32f4a9c25628af3e0dd5c1 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 08/29] fsl e500/e5500/e6500/603e fsqrt implementation 4Subject: [PATCH] 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>
@@ -1579,6 +1579,3 @@ index 0000000000..04ff8cc181
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--
15832.27.0
1584
diff --git a/meta/recipes-core/glibc/glibc/0009-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch b/meta/recipes-core/glibc/glibc/0009-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch
index a94ed207f5..0c8bf94a75 100644
--- a/meta/recipes-core/glibc/glibc/0009-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch
+++ b/meta/recipes-core/glibc/glibc/0009-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch
@@ -1,7 +1,7 @@
1From 78f67f016ca9e3f7a37af86cf6e400cf17cf1d05 Mon Sep 17 00:00:00 2001 1From 3b5fe5b1a7390cde0f07351415e3891f62d1f7e0 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 09/29] ppc/sqrt: Fix undefined reference to `__sqrt_finite' 4Subject: [PATCH] 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'
@@ -203,6 +203,3 @@ index 26fa067abf..9d175122a8 100644
203 return f_washf (b); 203 return f_washf (b);
204 } 204 }
205+strong_alias (__ieee754_sqrtf, __sqrtf_finite) 205+strong_alias (__ieee754_sqrtf, __sqrtf_finite)
206--
2072.27.0
208
diff --git a/meta/recipes-core/glibc/glibc/0010-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch b/meta/recipes-core/glibc/glibc/0010-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
index 743bea1433..cadaa0b2e2 100644
--- a/meta/recipes-core/glibc/glibc/0010-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
+++ b/meta/recipes-core/glibc/glibc/0010-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
@@ -1,8 +1,8 @@
1From 670b5d70ab62b42ab02a8e18b8fcee2879b8c4a0 Mon Sep 17 00:00:00 2001 1From 6b6e1dcd707017598ea3bdc2d91a761943b62218 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 10/29] __ieee754_sqrt{,f} are now inline functions and call 4Subject: [PATCH] __ieee754_sqrt{,f} are now inline functions and call out
5 out __slow versions 5 __slow versions
6 6
7Upstream-Status: Pending 7Upstream-Status: Pending
8 8
@@ -382,6 +382,3 @@ index 9d175122a8..10de1f0cc3 100644
382+} 382+}
383+ 383+
384 strong_alias (__ieee754_sqrtf, __sqrtf_finite) 384 strong_alias (__ieee754_sqrtf, __sqrtf_finite)
385--
3862.27.0
387
diff --git a/meta/recipes-core/glibc/glibc/0011-Quote-from-bug-1443-which-explains-what-the-patch-do.patch b/meta/recipes-core/glibc/glibc/0011-Quote-from-bug-1443-which-explains-what-the-patch-do.patch
index a9280b7c34..e4c78b5c79 100644
--- a/meta/recipes-core/glibc/glibc/0011-Quote-from-bug-1443-which-explains-what-the-patch-do.patch
+++ b/meta/recipes-core/glibc/glibc/0011-Quote-from-bug-1443-which-explains-what-the-patch-do.patch
@@ -1,8 +1,7 @@
1From de7a7c04a92dbc5d35cb37e47c471e12784cc95e Mon Sep 17 00:00:00 2001 1From 297bac9429260f8df495b81d3fae8ae4c6913f5f 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 11/29] Quote from bug 1443 which explains what the patch does 4Subject: [PATCH] Quote from bug 1443 which explains what the patch does :
5 :
6 5
7 We build some random program and link it with -lust. When we run it, 6 We build some random program and link it with -lust. When we run it,
8 it dies with a SIGSEGV before reaching main(). 7 it dies with a SIGSEGV before reaching main().
@@ -45,7 +44,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
45 1 file changed, 1 insertion(+), 1 deletion(-) 44 1 file changed, 1 insertion(+), 1 deletion(-)
46 45
47diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h 46diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h
48index 90856779b1..a29bb86c56 100644 47index ff5e09e207..d68bfe5cbe 100644
49--- a/sysdeps/arm/dl-machine.h 48--- a/sysdeps/arm/dl-machine.h
50+++ b/sysdeps/arm/dl-machine.h 49+++ b/sysdeps/arm/dl-machine.h
51@@ -510,7 +510,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc, 50@@ -510,7 +510,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
@@ -57,6 +56,3 @@ index 90856779b1..a29bb86c56 100644
57 break; 56 break;
58 57
59 case R_ARM_TLS_TPOFF32: 58 case R_ARM_TLS_TPOFF32:
60--
612.27.0
62
diff --git a/meta/recipes-core/glibc/glibc/0012-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch b/meta/recipes-core/glibc/glibc/0012-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
index ab07455ade..c5e8e6473a 100644
--- a/meta/recipes-core/glibc/glibc/0012-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
+++ b/meta/recipes-core/glibc/glibc/0012-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
@@ -1,7 +1,7 @@
1From c8807899367e64d803585e7dd4b56a1085d5893b Mon Sep 17 00:00:00 2001 1From f389babf3c920e68b7d7391556a78ebf62a21ebe 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 12/29] eglibc: run libm-err-tab.pl with specific dirs in ${S} 4Subject: [PATCH] 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 c61e11dcd7..5d859e6f84 100644 21index e83444341e..aa2645bc55 100644
22--- a/manual/Makefile 22--- a/manual/Makefile
23+++ b/manual/Makefile 23+++ b/manual/Makefile
24@@ -103,7 +103,8 @@ $(objpfx)stamp-libm-err: $(..)math/gen-libm-test.py \ 24@@ -103,7 +103,8 @@ $(objpfx)stamp-libm-err: $(..)math/gen-libm-test.py \
@@ -31,6 +31,3 @@ index c61e11dcd7..5d859e6f84 100644
31 $(move-if-change) $(objpfx)libm-err-tmp $(objpfx)libm-err.texi 31 $(move-if-change) $(objpfx)libm-err-tmp $(objpfx)libm-err.texi
32 touch $@ 32 touch $@
33 33
34--
352.27.0
36
diff --git a/meta/recipes-core/glibc/glibc/0013-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch b/meta/recipes-core/glibc/glibc/0013-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
index d875825ff9..7f362cace0 100644
--- a/meta/recipes-core/glibc/glibc/0013-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
+++ b/meta/recipes-core/glibc/glibc/0013-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
@@ -1,8 +1,8 @@
1From 86fea3409b89f9d8884053a519282f2f30d7ea87 Mon Sep 17 00:00:00 2001 1From 4b0d41a315e66f688fef7b0c2e2b6ce9fa16ec93 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 13/29] __ieee754_sqrt{,f} are now inline functions and call 4Subject: [PATCH] __ieee754_sqrt{,f} are now inline functions and call out
5 out __slow versions 5 __slow versions
6 6
7Upstream-Status: Pending 7Upstream-Status: Pending
8 8
@@ -56,6 +56,3 @@ index 812653558f..10de1f0cc3 100644
56 float b; 56 float b;
57 #endif 57 #endif
58 { 58 {
59--
602.27.0
61
diff --git a/meta/recipes-core/glibc/glibc/0014-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch b/meta/recipes-core/glibc/glibc/0014-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
index 954534bae2..4da0e003c0 100644
--- a/meta/recipes-core/glibc/glibc/0014-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
+++ b/meta/recipes-core/glibc/glibc/0014-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
@@ -1,7 +1,7 @@
1From a3c4f67fb3cb02855073a9cdbcf2881fb53144f0 Mon Sep 17 00:00:00 2001 1From c062a462fee53a30a85d693c8288b5bd8fe4ec6e 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 14/29] sysdeps/gnu/configure.ac: handle correctly 4Subject: [PATCH] sysdeps/gnu/configure.ac: handle correctly
5 $libc_cv_rootsbindir 5 $libc_cv_rootsbindir
6 6
7Upstream-Status:Pending 7Upstream-Status:Pending
@@ -37,6 +37,3 @@ index 634fe4de2a..3db1697f4f 100644
37+ test -n "$libc_cv_rootsbindir" || libc_cv_rootsbindir=/sbin 37+ test -n "$libc_cv_rootsbindir" || libc_cv_rootsbindir=/sbin
38 ;; 38 ;;
39 esac 39 esac
40--
412.27.0
42
diff --git a/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch b/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch
index 04a9bf01c4..15e83f8917 100644
--- a/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch
+++ b/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch
@@ -1,7 +1,7 @@
1From 17a602b89cbe53a5a92d0153ccb013a737f028cb Mon Sep 17 00:00:00 2001 1From 0bd39d8907953f18e01742f42b24647ac7689d0a 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/29] 'yes' within the path sets wrong config variables 4Subject: [PATCH] '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,10 +29,10 @@ 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 ac3cf6fd36..32add94df9 100644 32index 83c3a23e44..a68c946277 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@@ -157,12 +157,12 @@ else
36 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37 /* end confdefs.h. */ 37 /* end confdefs.h. */
38 #ifdef __AARCH64EB__ 38 #ifdef __AARCH64EB__
@@ -48,10 +48,10 @@ index ac3cf6fd36..32add94df9 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 8b042d6d05..3cdd262951 100644 51index 66f755078a..a32b265bbe 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@@ -17,8 +17,8 @@ AC_DEFINE(SUPPORT_STATIC_PIE)
55 # the dynamic linker via %ifdef. 55 # the dynamic linker via %ifdef.
56 AC_CACHE_CHECK([for big endian], 56 AC_CACHE_CHECK([for big endian],
57 [libc_cv_aarch64_be], 57 [libc_cv_aarch64_be],
@@ -165,7 +165,7 @@ index f05f43802b..dc8639902d 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 25f98e0c7b..e95bfae359 100644 168index f25f2a3a65..1b7483e6c6 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 25f98e0c7b..e95bfae359 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 3db1b32b08..f8cd375ebc 100644 186index 049a0f4bdf..005526d4e8 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(
@@ -258,6 +258,3 @@ index f9cba6e15d..b21f72f1e4 100644
258 #endif 258 #endif
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--
2622.27.0
263
diff --git a/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch b/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
index cd072018e5..79bd704153 100644
--- a/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
+++ b/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
@@ -1,7 +1,7 @@
1From 4762386b599f5c3287310a69ad3555e0129e0c51 Mon Sep 17 00:00:00 2001 1From 3feb4213628f1485000ffe1d3fd26e37a7b14336 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/29] timezone: re-written tzselect as posix sh 4Subject: [PATCH] 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 75f38df527..74e1ab7ff7 100644 18index 395abfeebd..2d939edf75 100644
19--- a/timezone/Makefile 19--- a/timezone/Makefile
20+++ b/timezone/Makefile 20+++ b/timezone/Makefile
21@@ -122,7 +122,7 @@ $(testdata)/XT%: testdata/XT% 21@@ -123,7 +123,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
@@ -40,6 +40,3 @@ index 18fce27e24..70745f9d36 100755
40 40
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--
442.27.0
45
diff --git a/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch b/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch
index 57907fe660..c32d70b593 100644
--- a/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch
+++ b/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch
@@ -1,7 +1,7 @@
1From dac46c07736a799fc82be03aa546b2d24c19ad78 Mon Sep 17 00:00:00 2001 1From f6119b98a9caa80642d69a97edc98f57ecef5c3c 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/29] Remove bash dependency for nscd init script 4Subject: [PATCH] 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.
@@ -70,6 +70,3 @@ index a882da7d8b..b02986ec15 100644
70 RETVAL=1 70 RETVAL=1
71 ;; 71 ;;
72 esac 72 esac
73--
742.27.0
75
diff --git a/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch b/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch
index 58d41ffe04..826e5af465 100644
--- a/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch
+++ b/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch
@@ -1,7 +1,7 @@
1From 0bd1dedf77194151397c53b12e0355c2edb8bccc Mon Sep 17 00:00:00 2001 1From 060ba13b5ac5e90517d540f009ebdcdcf62f9685 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/29] eglibc: Cross building and testing instructions 4Subject: [PATCH] eglibc: Cross building and testing instructions
5 5
6Ported from eglibc 6Ported from eglibc
7Upstream-Status: Pending 7Upstream-Status: Pending
@@ -614,6 +614,3 @@ index 0000000000..b67b468466
614+- Some tests require access to libstdc++.so.6 and libgcc_s.so.1; we 614+- Some tests require access to libstdc++.so.6 and libgcc_s.so.1; we
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--
6182.27.0
619
diff --git a/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch b/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch
index f633079f34..afac2e04f6 100644
--- a/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch
+++ b/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch
@@ -1,7 +1,7 @@
1From 5591b7653411da26fa2939352e50ea4121b327e6 Mon Sep 17 00:00:00 2001 1From f13c2f525e9bc82ce13e4cf486f7fe0831fc3fac 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/29] eglibc: Help bootstrap cross toolchain 4Subject: [PATCH] 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 6dcfe40c25..bc37c32e5a 100644 32index 50f99ca611..31eed15f02 100644
33--- a/Makefile 33--- a/Makefile
34+++ b/Makefile 34+++ b/Makefile
35@@ -79,9 +79,18 @@ subdir-dirs = include 35@@ -79,9 +79,18 @@ subdir-dirs = include
@@ -52,7 +52,7 @@ index 6dcfe40c25..bc37c32e5a 100644
52 ifeq (yes,$(build-shared)) 52 ifeq (yes,$(build-shared))
53 headers += gnu/lib-names.h 53 headers += gnu/lib-names.h
54 endif 54 endif
55@@ -407,6 +416,16 @@ others: $(common-objpfx)testrun.sh $(common-objpfx)debugglibc.sh 55@@ -416,6 +425,16 @@ others: $(common-objpfx)testrun.sh $(common-objpfx)debugglibc.sh
56 56
57 subdir-stubs := $(foreach dir,$(subdirs),$(common-objpfx)$(dir)/stubs) 57 subdir-stubs := $(foreach dir,$(subdirs),$(common-objpfx)$(dir)/stubs)
58 58
@@ -69,7 +69,7 @@ index 6dcfe40c25..bc37c32e5a 100644
69 ifndef abi-variants 69 ifndef abi-variants
70 installed-stubs = $(inst_includedir)/gnu/stubs.h 70 installed-stubs = $(inst_includedir)/gnu/stubs.h
71 else 71 else
72@@ -433,6 +452,7 @@ $(inst_includedir)/gnu/stubs.h: $(+force) 72@@ -442,6 +461,7 @@ $(inst_includedir)/gnu/stubs.h: $(+force)
73 73
74 install-others-nosubdir: $(installed-stubs) 74 install-others-nosubdir: $(installed-stubs)
75 endif 75 endif
@@ -95,6 +95,3 @@ index 0000000000..1d2b669aff
95+ difficult headers. The <gnu/stubs.h> header depends, via the 95+ difficult headers. The <gnu/stubs.h> header depends, via the
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--
992.27.0
100
diff --git a/meta/recipes-core/glibc/glibc/0020-eglibc-Resolve-__fpscr_values-on-SH4.patch b/meta/recipes-core/glibc/glibc/0020-eglibc-Resolve-__fpscr_values-on-SH4.patch
index bb21c54721..9a610c6703 100644
--- a/meta/recipes-core/glibc/glibc/0020-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 d3451c186f96c6b2434a4ac9304c01730bf22061 Mon Sep 17 00:00:00 2001 1From 330c4e50e28e29c31fb8d6ab39cdbb2af4d3def7 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 20/29] eglibc: Resolve __fpscr_values on SH4 4Subject: [PATCH] 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>
@@ -33,7 +33,7 @@ index e0938c4165..ca1d7da339 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 85ff3f900e..7743b8d57a 100644 36index a18fbb2e8b..59421bfbb0 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)
@@ -51,6 +51,3 @@ index 85ff3f900e..7743b8d57a 100644
51+ .long 0x80000 51+ .long 0x80000
52+weak_alias (___fpscr_values, __fpscr_values) 52+weak_alias (___fpscr_values, __fpscr_values)
53+ 53+
54--
552.27.0
56
diff --git a/meta/recipes-core/glibc/glibc/0021-eglibc-Forward-port-cross-locale-generation-support.patch b/meta/recipes-core/glibc/glibc/0021-eglibc-Forward-port-cross-locale-generation-support.patch
index 7fe5db0c2a..0b2f020fdd 100644
--- a/meta/recipes-core/glibc/glibc/0021-eglibc-Forward-port-cross-locale-generation-support.patch
+++ b/meta/recipes-core/glibc/glibc/0021-eglibc-Forward-port-cross-locale-generation-support.patch
@@ -1,7 +1,7 @@
1From e4b8abdc2d884d721fd89d67b689546f2f780924 Mon Sep 17 00:00:00 2001 1From 557ed640b26bd208ce8d4a6fd725b124893668d7 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 21/29] eglibc: Forward port cross locale generation support 4Subject: [PATCH] eglibc: Forward port cross locale generation support
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
@@ -23,7 +23,7 @@ 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 49c0c78c7d..ebfcf4f4da 100644 26index b7c60681fa..07c606cde3 100644
27--- a/locale/Makefile 27--- a/locale/Makefile
28+++ b/locale/Makefile 28+++ b/locale/Makefile
29@@ -26,7 +26,8 @@ headers = langinfo.h locale.h bits/locale.h \ 29@@ -26,7 +26,8 @@ headers = langinfo.h locale.h bits/locale.h \
@@ -89,7 +89,7 @@ index 0000000000..538f3f5edb
89+ [LC_ALL] = sizeof ("LC_ALL") - 1 89+ [LC_ALL] = sizeof ("LC_ALL") - 1
90+ }; 90+ };
91diff --git a/locale/localeinfo.h b/locale/localeinfo.h 91diff --git a/locale/localeinfo.h b/locale/localeinfo.h
92index fdc283c69a..4eeed35f90 100644 92index 22f9dc1140..fa31b3c5ea 100644
93--- a/locale/localeinfo.h 93--- a/locale/localeinfo.h
94+++ b/locale/localeinfo.h 94+++ b/locale/localeinfo.h
95@@ -230,7 +230,7 @@ __libc_tsd_define (extern, locale_t, LOCALE) 95@@ -230,7 +230,7 @@ __libc_tsd_define (extern, locale_t, LOCALE)
@@ -102,7 +102,7 @@ index fdc283c69a..4eeed35f90 100644
102 # define NL_CURRENT_INDIRECT 1 102 # define NL_CURRENT_INDIRECT 1
103 #endif 103 #endif
104diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c 104diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c
105index 1a526a240d..0fb2daf936 100644 105index 4841bfd05d..ffcba1fd79 100644
106--- a/locale/programs/charmap-dir.c 106--- a/locale/programs/charmap-dir.c
107+++ b/locale/programs/charmap-dir.c 107+++ b/locale/programs/charmap-dir.c
108@@ -18,7 +18,9 @@ 108@@ -18,7 +18,9 @@
@@ -148,7 +148,7 @@ index 1a526a240d..0fb2daf936 100644
148 return NULL; 148 return NULL;
149 } 149 }
150diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c 150diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
151index feb1a11258..5a8e522470 100644 151index 0af21e05e2..4980b0c52f 100644
152--- a/locale/programs/ld-collate.c 152--- a/locale/programs/ld-collate.c
153+++ b/locale/programs/ld-collate.c 153+++ b/locale/programs/ld-collate.c
154@@ -349,7 +349,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen, 154@@ -349,7 +349,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen,
@@ -197,7 +197,7 @@ index feb1a11258..5a8e522470 100644
197 == runp->wcnext->wcs[runp->nwcs - 1] + 1)); 197 == runp->wcnext->wcs[runp->nwcs - 1] + 1));
198 198
199diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c 199diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
200index 3328093d0e..d58fb0f4b7 100644 200index 2fb579bbbf..d0be99581c 100644
201--- a/locale/programs/ld-ctype.c 201--- a/locale/programs/ld-ctype.c
202+++ b/locale/programs/ld-ctype.c 202+++ b/locale/programs/ld-ctype.c
203@@ -915,7 +915,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap, 203@@ -915,7 +915,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap,
@@ -279,7 +279,7 @@ index 3328093d0e..d58fb0f4b7 100644
279 srunp = srunp->next; 279 srunp = srunp->next;
280 } 280 }
281diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c 281diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c
282index f7db873adb..fec3773c9d 100644 282index dcd2a2386d..6814740325 100644
283--- a/locale/programs/ld-time.c 283--- a/locale/programs/ld-time.c
284+++ b/locale/programs/ld-time.c 284+++ b/locale/programs/ld-time.c
285@@ -220,8 +220,10 @@ No definition for %s category found"), "LC_TIME"); 285@@ -220,8 +220,10 @@ No definition for %s category found"), "LC_TIME");
@@ -348,7 +348,7 @@ index f7db873adb..fec3773c9d 100644
348 348
349 349
350diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c 350diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
351index 7ebd933801..5753750756 100644 351index 96d3ab66db..3af379d2c3 100644
352--- a/locale/programs/linereader.c 352--- a/locale/programs/linereader.c
353+++ b/locale/programs/linereader.c 353+++ b/locale/programs/linereader.c
354@@ -595,7 +595,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap, 354@@ -595,7 +595,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap,
@@ -361,7 +361,7 @@ index 7ebd933801..5753750756 100644
361 size_t bufmax = 56; 361 size_t bufmax = 56;
362 362
363diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c 363diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c
364index b048bd05b9..fed15c42ec 100644 364index 832c8fd1fc..fe689b3ae1 100644
365--- a/locale/programs/localedef.c 365--- a/locale/programs/localedef.c
366+++ b/locale/programs/localedef.c 366+++ b/locale/programs/localedef.c
367@@ -109,6 +109,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; 367@@ -109,6 +109,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
@@ -407,7 +407,7 @@ index b048bd05b9..fed15c42ec 100644
407 force_output = 1; 407 force_output = 1;
408 break; 408 break;
409diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c 409diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c
410index eb2f4634da..d387147323 100644 410index 0f1affa1d4..7d86fae801 100644
411--- a/locale/programs/locfile.c 411--- a/locale/programs/locfile.c
412+++ b/locale/programs/locfile.c 412+++ b/locale/programs/locfile.c
413@@ -544,6 +544,9 @@ compare_files (const char *filename1, const char *filename2, size_t size, 413@@ -544,6 +544,9 @@ compare_files (const char *filename1, const char *filename2, size_t size,
@@ -430,7 +430,7 @@ index eb2f4634da..d387147323 100644
430 430
431 /* Record that FILE's next element is the 32-bit integer VALUE. */ 431 /* Record that FILE's next element is the 32-bit integer VALUE. */
432diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h 432diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h
433index 7ea10038b4..0888c09762 100644 433index c986d599ec..222a779176 100644
434--- a/locale/programs/locfile.h 434--- a/locale/programs/locfile.h
435+++ b/locale/programs/locfile.h 435+++ b/locale/programs/locfile.h
436@@ -71,6 +71,8 @@ extern void write_all_categories (struct localedef_t *definitions, 436@@ -71,6 +71,8 @@ extern void write_all_categories (struct localedef_t *definitions,
@@ -519,7 +519,7 @@ index 7ea10038b4..0888c09762 100644
519+ 519+
520 #endif /* locfile.h */ 520 #endif /* locfile.h */
521diff --git a/locale/setlocale.c b/locale/setlocale.c 521diff --git a/locale/setlocale.c b/locale/setlocale.c
522index 030f1727bd..096d8ed895 100644 522index 19ed85ae8e..f28ca11446 100644
523--- a/locale/setlocale.c 523--- a/locale/setlocale.c
524+++ b/locale/setlocale.c 524+++ b/locale/setlocale.c
525@@ -63,35 +63,6 @@ static char *const _nl_current_used[] = 525@@ -63,35 +63,6 @@ static char *const _nl_current_used[] =
@@ -558,6 +558,3 @@ index 030f1727bd..096d8ed895 100644
558 #ifdef NL_CURRENT_INDIRECT 558 #ifdef NL_CURRENT_INDIRECT
559 # define WEAK_POSTLOAD(postload) weak_extern (postload) 559 # define WEAK_POSTLOAD(postload) weak_extern (postload)
560 #else 560 #else
561--
5622.27.0
563
diff --git a/meta/recipes-core/glibc/glibc/0022-Define-DUMMY_LOCALE_T-if-not-defined.patch b/meta/recipes-core/glibc/glibc/0022-Define-DUMMY_LOCALE_T-if-not-defined.patch
index 0e93183087..33d912d356 100644
--- a/meta/recipes-core/glibc/glibc/0022-Define-DUMMY_LOCALE_T-if-not-defined.patch
+++ b/meta/recipes-core/glibc/glibc/0022-Define-DUMMY_LOCALE_T-if-not-defined.patch
@@ -1,7 +1,7 @@
1From ad5bc87134871b99e082e2449b8c1ce2f1375ef9 Mon Sep 17 00:00:00 2001 1From c8df3cf4556d8d78a98675865395ce42f3b67109 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 22/29] Define DUMMY_LOCALE_T if not defined 4Subject: [PATCH] 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 d76d9f7e8b..92b56d7df3 100644 17index 2edcf3696c..5350101e38 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 @@
@@ -27,6 +27,3 @@ index d76d9f7e8b..92b56d7df3 100644
27 /* Use the internal textdomain used for libc messages. */ 27 /* Use the internal textdomain used for libc messages. */
28 #define PACKAGE _libc_intl_domainname 28 #define PACKAGE _libc_intl_domainname
29 #ifndef VERSION 29 #ifndef VERSION
30--
312.27.0
32
diff --git a/meta/recipes-core/glibc/glibc/0023-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch b/meta/recipes-core/glibc/glibc/0023-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
index 7cbf6811a1..a5a7a0cad7 100644
--- a/meta/recipes-core/glibc/glibc/0023-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
+++ b/meta/recipes-core/glibc/glibc/0023-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
@@ -1,8 +1,7 @@
1From c5fd8a3d336b8288f631fb6b6dd85f9d1076f25b Mon Sep 17 00:00:00 2001 1From 2ec233ce078b74030de9195096058cd502fdc395 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 3 Aug 2018 09:42:06 -0700 3Date: Fri, 3 Aug 2018 09:42:06 -0700
4Subject: [PATCH 23/29] localedef --add-to-archive uses a hard-coded locale 4Subject: [PATCH] localedef --add-to-archive uses a hard-coded locale path
5 path
6 5
7it doesn't exist in normal use, and there's no way to pass an 6it doesn't exist in normal use, and there's no way to pass an
8alternative filename. 7alternative filename.
@@ -19,7 +18,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 1 file changed, 25 insertions(+), 10 deletions(-) 18 1 file changed, 25 insertions(+), 10 deletions(-)
20 19
21diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c 20diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c
22index dccaf04e3b..ae0b7fe155 100644 21index 6bb189ae37..0711c5c44e 100644
23--- a/locale/programs/locarchive.c 22--- a/locale/programs/locarchive.c
24+++ b/locale/programs/locarchive.c 23+++ b/locale/programs/locarchive.c
25@@ -340,12 +340,24 @@ enlarge_archive (struct locarhandle *ah, const struct locarhead *head) 24@@ -340,12 +340,24 @@ enlarge_archive (struct locarhandle *ah, const struct locarhead *head)
@@ -79,6 +78,3 @@ index dccaf04e3b..ae0b7fe155 100644
79 { 78 {
80 if (readonly) 79 if (readonly)
81 { 80 {
82--
832.27.0
84
diff --git a/meta/recipes-core/glibc/glibc/0024-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 02e73594a0..d2691e1ee7 100644
--- a/meta/recipes-core/glibc/glibc/0024-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 dffa52364f8c54c455b2459ebe83f05cb6ffc9fc Mon Sep 17 00:00:00 2001 1From f8289aa320b00f6db43213979cceab2325a7a611 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 24/29] elf/dl-deps.c: Make _dl_build_local_scope breadth first 4Subject: [PATCH] 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 b5a43232a7..8aa8f37fa3 100644 27index 087a49b212..c09f9334f2 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)
@@ -51,6 +51,3 @@ index b5a43232a7..8aa8f37fa3 100644
51 return p - list; 51 return p - list;
52 } 52 }
53 53
54--
552.27.0
56
diff --git a/meta/recipes-core/glibc/glibc/0025-intl-Emit-no-lines-in-bison-generated-files.patch b/meta/recipes-core/glibc/glibc/0025-intl-Emit-no-lines-in-bison-generated-files.patch
index 700fb28874..32f8fd22b8 100644
--- a/meta/recipes-core/glibc/glibc/0025-intl-Emit-no-lines-in-bison-generated-files.patch
+++ b/meta/recipes-core/glibc/glibc/0025-intl-Emit-no-lines-in-bison-generated-files.patch
@@ -1,7 +1,7 @@
1From bc3380877bd2a1f9368a913fa6a2ca1ee88fd95f Mon Sep 17 00:00:00 2001 1From 3156464f9a95bf1dafd2e22d19d7bf89c520acc1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 3 Aug 2018 09:44:00 -0700 3Date: Fri, 3 Aug 2018 09:44:00 -0700
4Subject: [PATCH 25/29] intl: Emit no lines in bison generated files 4Subject: [PATCH] intl: Emit no lines in bison generated files
5 5
6Improve reproducibility: 6Improve reproducibility:
7Do not put any #line preprocessor commands in bison generated files. 7Do not put any #line preprocessor commands in bison generated files.
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
18 18
19diff --git a/intl/Makefile b/intl/Makefile 19diff --git a/intl/Makefile b/intl/Makefile
20index ce3072420f..58457840d9 100644 20index 93478d87e8..b27a7935eb 100644
21--- a/intl/Makefile 21--- a/intl/Makefile
22+++ b/intl/Makefile 22+++ b/intl/Makefile
23@@ -155,7 +155,7 @@ $(objpfx)tst-gettext6.out: $(objpfx)tst-gettext.out 23@@ -155,7 +155,7 @@ $(objpfx)tst-gettext6.out: $(objpfx)tst-gettext.out
@@ -29,6 +29,3 @@ index ce3072420f..58457840d9 100644
29 29
30 $(inst_localedir)/locale.alias: locale.alias $(+force) 30 $(inst_localedir)/locale.alias: locale.alias $(+force)
31 $(do-install) 31 $(do-install)
32--
332.27.0
34
diff --git a/meta/recipes-core/glibc/glibc/0027-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch b/meta/recipes-core/glibc/glibc/0027-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch
index d2c88d2354..782d931f22 100644
--- a/meta/recipes-core/glibc/glibc/0027-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch
+++ b/meta/recipes-core/glibc/glibc/0027-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch
@@ -1,7 +1,7 @@
1From 10aef8f0671d814aaf910ababc0225cf6f0a46e8 Mon Sep 17 00:00:00 2001 1From 881f5b8134afd9a30049b93fc79dda7a44947a5f Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com> 2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Mon, 17 Dec 2018 21:36:18 +0000 3Date: Mon, 17 Dec 2018 21:36:18 +0000
4Subject: [PATCH 27/29] locale: prevent maybe-uninitialized errors with -Os [BZ 4Subject: [PATCH] locale: prevent maybe-uninitialized errors with -Os [BZ
5 #19444] 5 #19444]
6 6
7Fixes following error when building for aarch64 with -Os: 7Fixes following error when building for aarch64 with -Os:
@@ -33,7 +33,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 1 file changed, 7 insertions(+) 33 1 file changed, 7 insertions(+)
34 34
35diff --git a/locale/weight.h b/locale/weight.h 35diff --git a/locale/weight.h b/locale/weight.h
36index e071253f85..2889c395f1 100644 36index 723e1fefda..f5798d379a 100644
37--- a/locale/weight.h 37--- a/locale/weight.h
38+++ b/locale/weight.h 38+++ b/locale/weight.h
39@@ -28,7 +28,14 @@ findidx (const int32_t *table, 39@@ -28,7 +28,14 @@ findidx (const int32_t *table,
@@ -51,6 +51,3 @@ index e071253f85..2889c395f1 100644
51 const unsigned char *cp; 51 const unsigned char *cp;
52 const unsigned char *usrc; 52 const unsigned char *usrc;
53 53
54--
552.27.0
56
diff --git a/meta/recipes-core/glibc/glibc/0028-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch b/meta/recipes-core/glibc/glibc/0028-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
index 25c046f5cd..d273cab4a3 100644
--- a/meta/recipes-core/glibc/glibc/0028-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
+++ b/meta/recipes-core/glibc/glibc/0028-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
@@ -1,8 +1,7 @@
1From 70731329feb7ba20364aa37aed83d920de97f028 Mon Sep 17 00:00:00 2001 1From b4e0a034b12b313dcb82d22341bef6a66b3e9ef9 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 28/29] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known 4Subject: [PATCH] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known names
5 names
6 5
7This bolts in a hook for OE to pass its own version of interpreter 6This bolts in a hook for OE to pass its own version of interpreter
8names into glibc especially for multilib case, where it differs from any 7names into glibc especially for multilib case, where it differs from any
@@ -17,7 +16,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 1 file changed, 1 insertion(+) 16 1 file changed, 1 insertion(+)
18 17
19diff --git a/elf/readlib.c b/elf/readlib.c 18diff --git a/elf/readlib.c b/elf/readlib.c
20index 994a4426a1..baabf099b1 100644 19index 7383c23249..e97ea9449d 100644
21--- a/elf/readlib.c 20--- a/elf/readlib.c
22+++ b/elf/readlib.c 21+++ b/elf/readlib.c
23@@ -51,6 +51,7 @@ static struct known_names interpreters[] = 22@@ -51,6 +51,7 @@ static struct known_names interpreters[] =
@@ -28,6 +27,3 @@ index 994a4426a1..baabf099b1 100644
28 }; 27 };
29 28
30 static struct known_names known_libs[] = 29 static struct known_names known_libs[] =
31--
322.27.0
33
diff --git a/meta/recipes-core/glibc/glibc/0029-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch b/meta/recipes-core/glibc/glibc/0029-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
index 0ebf8a6183..791029c4c0 100644
--- a/meta/recipes-core/glibc/glibc/0029-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
+++ b/meta/recipes-core/glibc/glibc/0029-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
@@ -1,7 +1,7 @@
1From bf1c4b2f01c5f86bb770fd1711a69ea727e0f56e Mon Sep 17 00:00:00 2001 1From 2ae3ff3ae28abb1d0d100b4722da7ff188de9a30 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 15 May 2020 17:05:45 -0700 3Date: Fri, 15 May 2020 17:05:45 -0700
4Subject: [PATCH 29/29] wordsize.h: Unify the header between arm and aarch64 4Subject: [PATCH] wordsize.h: Unify the header between arm and aarch64
5 5
6This helps OE multilibs to not sythesize this header which causes all 6This helps OE multilibs to not sythesize this header which causes all
7kind of recursions and other issues since wordsize is fundamental header 7kind of recursions and other issues since wordsize is fundamental header
@@ -11,13 +11,13 @@ Upstream-Status: Inappropriate [ OE-Specific ]
11 11
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13--- 13---
14 sysdeps/aarch64/bits/wordsize.h | 8 ++++++-- 14 sysdeps/aarch64/bits/wordsize.h | 8 ++++++--
15 sysdeps/{aarch64 => arm}/bits/wordsize.h | 8 ++++++-- 15 sysdeps/{aarch64 => arm}/bits/wordsize.h | 10 +++++++---
16 2 files changed, 12 insertions(+), 4 deletions(-) 16 2 files changed, 13 insertions(+), 5 deletions(-)
17 copy sysdeps/{aarch64 => arm}/bits/wordsize.h (85%) 17 copy sysdeps/{aarch64 => arm}/bits/wordsize.h (80%)
18 18
19diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h 19diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h
20index ee01841773..34fcdef1f1 100644 20index 91da566b74..9a754514b3 100644
21--- a/sysdeps/aarch64/bits/wordsize.h 21--- a/sysdeps/aarch64/bits/wordsize.h
22+++ b/sysdeps/aarch64/bits/wordsize.h 22+++ b/sysdeps/aarch64/bits/wordsize.h
23@@ -17,12 +17,16 @@ 23@@ -17,12 +17,16 @@
@@ -40,12 +40,20 @@ index ee01841773..34fcdef1f1 100644
40 40
41 #define __WORDSIZE_TIME64_COMPAT32 0 41 #define __WORDSIZE_TIME64_COMPAT32 0
42diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h 42diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h
43similarity index 85% 43similarity index 80%
44copy from sysdeps/aarch64/bits/wordsize.h 44copy from sysdeps/aarch64/bits/wordsize.h
45copy to sysdeps/arm/bits/wordsize.h 45copy to sysdeps/arm/bits/wordsize.h
46index ee01841773..34fcdef1f1 100644 46index 91da566b74..34fcdef1f1 100644
47--- a/sysdeps/aarch64/bits/wordsize.h 47--- a/sysdeps/aarch64/bits/wordsize.h
48+++ b/sysdeps/arm/bits/wordsize.h 48+++ b/sysdeps/arm/bits/wordsize.h
49@@ -1,6 +1,6 @@
50 /* Determine the wordsize from the preprocessor defines.
51
52- Copyright (C) 2016-2021 Free Software Foundation, Inc.
53+ Copyright (C) 2016-2020 Free Software Foundation, Inc.
54 This file is part of the GNU C Library.
55
56 The GNU C Library is free software; you can redistribute it and/or
49@@ -17,12 +17,16 @@ 57@@ -17,12 +17,16 @@
50 License along with the GNU C Library; if not, see 58 License along with the GNU C Library; if not, see
51 <https://www.gnu.org/licenses/>. */ 59 <https://www.gnu.org/licenses/>. */
@@ -65,6 +73,3 @@ index ee01841773..34fcdef1f1 100644
65 #endif 73 #endif
66 74
67 #define __WORDSIZE_TIME64_COMPAT32 0 75 #define __WORDSIZE_TIME64_COMPAT32 0
68--
692.27.0
70
diff --git a/meta/recipes-core/glibc/glibc/0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch b/meta/recipes-core/glibc/glibc/0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch
index a764552361..5ef1ac2ed7 100644
--- a/meta/recipes-core/glibc/glibc/0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch
+++ b/meta/recipes-core/glibc/glibc/0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch
@@ -1,7 +1,7 @@
1From 8b1d521290218df8ceeaf2e6ee44a54b19d8d328 Mon Sep 17 00:00:00 2001 1From 5cc14938f05ae1354c8062f017a21f39d5fc9729 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Aug 2020 14:31:16 -0700 3Date: Fri, 7 Aug 2020 14:31:16 -0700
4Subject: [PATCH 30/30] powerpc: Do not ask compiler for finding arch 4Subject: [PATCH] powerpc: Do not ask compiler for finding arch
5 5
6This does not work well in cross compiling environments like OE 6This does not work well in cross compiling environments like OE
7and moreover it uses its own -mcpu/-march options via cflags 7and moreover it uses its own -mcpu/-march options via cflags
@@ -46,6 +46,3 @@ index 6c63bd8257..3e925f1d48 100644
46 # Note if you add patterns here you must ensure that an appropriate 46 # Note if you add patterns here you must ensure that an appropriate
47 # directory exists in sysdeps/powerpc. Likewise, if we find a 47 # directory exists in sysdeps/powerpc. Likewise, if we find a
48 # cpu, don't let the generic configure append extra compiler options. 48 # cpu, don't let the generic configure append extra compiler options.
49--
502.28.0
51
diff --git a/meta/recipes-core/glibc/glibc/0031-linux-Allow-adjtime-with-NULL-argument-BZ-26833.patch b/meta/recipes-core/glibc/glibc/0031-linux-Allow-adjtime-with-NULL-argument-BZ-26833.patch
deleted file mode 100644
index a458a2a223..0000000000
--- a/meta/recipes-core/glibc/glibc/0031-linux-Allow-adjtime-with-NULL-argument-BZ-26833.patch
+++ /dev/null
@@ -1,110 +0,0 @@
1From 75a193b7611bade31a150dfcc528b973e3d46231 Mon Sep 17 00:00:00 2001
2From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
3Date: Mon, 2 Nov 2020 16:18:29 -0300
4Subject: [PATCH] linux: Allow adjtime with NULL argument [BZ #26833]
5
6The adjtime interface allows return the amount of time remaining
7from any previous adjustment that has not yet been completed by
8passing a NULL as first argument. This was introduced with y2038
9support 0308077e3a.
10
11Checked on i686-linux-gnu.
12
13Reviewed-by: Lukasz Majewski <lukma@denx.de>
14Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=75a193b7611bade31a150dfcc528b973e3d46231]
15Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
16---
17 sysdeps/unix/sysv/linux/adjtime.c | 11 +++++---
18 time/Makefile | 3 ++-
19 time/tst-adjtime.c | 44 +++++++++++++++++++++++++++++++
20 3 files changed, 54 insertions(+), 4 deletions(-)
21 create mode 100644 time/tst-adjtime.c
22
23diff --git a/sysdeps/unix/sysv/linux/adjtime.c b/sysdeps/unix/sysv/linux/adjtime.c
24index 3f9a4ea2eb..6d1d1b6af2 100644
25--- a/sysdeps/unix/sysv/linux/adjtime.c
26+++ b/sysdeps/unix/sysv/linux/adjtime.c
27@@ -68,11 +68,16 @@ libc_hidden_def (__adjtime64)
28 int
29 __adjtime (const struct timeval *itv, struct timeval *otv)
30 {
31- struct __timeval64 itv64, otv64;
32+ struct __timeval64 itv64, *pitv64 = NULL;
33+ struct __timeval64 otv64;
34 int retval;
35
36- itv64 = valid_timeval_to_timeval64 (*itv);
37- retval = __adjtime64 (&itv64, otv != NULL ? &otv64 : NULL);
38+ if (itv != NULL)
39+ {
40+ itv64 = valid_timeval_to_timeval64 (*itv);
41+ pitv64 = &itv64;
42+ }
43+ retval = __adjtime64 (pitv64, otv != NULL ? &otv64 : NULL);
44 if (otv != NULL)
45 *otv = valid_timeval64_to_timeval (otv64);
46
47diff --git a/time/Makefile b/time/Makefile
48index 26aa835166..f27a75a115 100644
49--- a/time/Makefile
50+++ b/time/Makefile
51@@ -47,7 +47,8 @@ tests := test_time clocktest tst-posixtz tst-strptime tst_wcsftime \
52 tst-mktime3 tst-strptime2 bug-asctime bug-asctime_r bug-mktime1 \
53 tst-strptime3 bug-getdate1 tst-strptime-whitespace tst-ftime \
54 tst-tzname tst-y2039 bug-mktime4 tst-strftime2 tst-strftime3 \
55- tst-clock tst-clock2 tst-clock_nanosleep tst-cpuclock1
56+ tst-clock tst-clock2 tst-clock_nanosleep tst-cpuclock1 \
57+ tst-adjtime
58
59 include ../Rules
60
61diff --git a/time/tst-adjtime.c b/time/tst-adjtime.c
62new file mode 100644
63index 0000000000..ae2b37cdab
64--- /dev/null
65+++ b/time/tst-adjtime.c
66@@ -0,0 +1,44 @@
67+/* Basic tests for adjtime.
68+ Copyright (C) 2020 Free Software Foundation, Inc.
69+ This file is part of the GNU C Library.
70+
71+ The GNU C Library is free software; you can redistribute it and/or
72+ modify it under the terms of the GNU Lesser General Public
73+ License as published by the Free Software Foundation; either
74+ version 2.1 of the License, or (at your option) any later version.
75+
76+ The GNU C Library is distributed in the hope that it will be useful,
77+ but WITHOUT ANY WARRANTY; without even the implied warranty of
78+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
79+ Lesser General Public License for more details.
80+
81+ You should have received a copy of the GNU Lesser General Public
82+ License along with the GNU C Library; if not, see
83+ <https://www.gnu.org/licenses/>. */
84+
85+#include <sys/time.h>
86+#include <stdlib.h>
87+
88+#include <errno.h>
89+#include <support/check.h>
90+
91+
92+static int
93+do_test (void)
94+{
95+ /* Check if the interface allows getting the amount of time remaining
96+ from any previous adjustment that has not yet been completed. This
97+ is a non-privileged function of adjtime. */
98+ struct timeval tv;
99+ int r = adjtime (NULL, &tv);
100+ if (r == -1)
101+ {
102+ if (errno == ENOSYS)
103+ FAIL_UNSUPPORTED ("adjtime unsupported");
104+ FAIL_EXIT1 ("adjtime (NULL, ...) failed: %m");
105+ }
106+
107+ return 0;
108+}
109+
110+#include <support/test-driver.c>
diff --git a/meta/recipes-core/glibc/glibc/CVE-2020-29562.patch b/meta/recipes-core/glibc/glibc/CVE-2020-29562.patch
deleted file mode 100644
index 134b4e3613..0000000000
--- a/meta/recipes-core/glibc/glibc/CVE-2020-29562.patch
+++ /dev/null
@@ -1,155 +0,0 @@
1From 228edd356f03bf62dcf2b1335f25d43c602ee68d Mon Sep 17 00:00:00 2001
2From: Michael Colavita <mcolavita@fb.com>
3Date: Thu, 19 Nov 2020 11:44:40 -0500
4Subject: [PATCH] iconv: Fix incorrect UCS4 inner loop bounds (BZ#26923)
5
6Previously, in UCS4 conversion routines we limit the number of
7characters we examine to the minimum of the number of characters in the
8input and the number of characters in the output. This is not the
9correct behavior when __GCONV_IGNORE_ERRORS is set, as we do not consume
10an output character when we skip a code unit. Instead, track the input
11and output pointers and terminate the loop when either reaches its
12limit.
13
14This resolves assertion failures when resetting the input buffer in a step of
15iconv, which assumes that the input will be fully consumed given sufficient
16output space.
17
18Upstream-Status: Backport [git://sourceware.org/git/glibc.git]
19CVE: CVE-2020-29562
20Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
21---
22 iconv/Makefile | 2 +-
23 iconv/gconv_simple.c | 16 ++++----------
24 iconv/tst-iconv8.c | 50 ++++++++++++++++++++++++++++++++++++++++++++
25 3 files changed, 55 insertions(+), 13 deletions(-)
26 create mode 100644 iconv/tst-iconv8.c
27
28diff --git a/iconv/Makefile b/iconv/Makefile
29index 30bf996d3a..f9b51e23ec 100644
30--- a/iconv/Makefile
31+++ b/iconv/Makefile
32@@ -44,7 +44,7 @@ CFLAGS-linereader.c += -DNO_TRANSLITERATION
33 CFLAGS-simple-hash.c += -I../locale
34
35 tests = tst-iconv1 tst-iconv2 tst-iconv3 tst-iconv4 tst-iconv5 tst-iconv6 \
36- tst-iconv7 tst-iconv-mt tst-iconv-opt
37+ tst-iconv7 tst-iconv8 tst-iconv-mt tst-iconv-opt
38
39 others = iconv_prog iconvconfig
40 install-others-programs = $(inst_bindir)/iconv
41diff --git a/iconv/gconv_simple.c b/iconv/gconv_simple.c
42index d4797fba17..963b29f246 100644
43--- a/iconv/gconv_simple.c
44+++ b/iconv/gconv_simple.c
45@@ -239,11 +239,9 @@ ucs4_internal_loop (struct __gconv_step *step,
46 int flags = step_data->__flags;
47 const unsigned char *inptr = *inptrp;
48 unsigned char *outptr = *outptrp;
49- size_t n_convert = MIN (inend - inptr, outend - outptr) / 4;
50 int result;
51- size_t cnt;
52
53- for (cnt = 0; cnt < n_convert; ++cnt, inptr += 4)
54+ for (; inptr + 4 <= inend && outptr + 4 <= outend; inptr += 4)
55 {
56 uint32_t inval;
57
58@@ -307,11 +305,9 @@ ucs4_internal_loop_unaligned (struct __gconv_step *step,
59 int flags = step_data->__flags;
60 const unsigned char *inptr = *inptrp;
61 unsigned char *outptr = *outptrp;
62- size_t n_convert = MIN (inend - inptr, outend - outptr) / 4;
63 int result;
64- size_t cnt;
65
66- for (cnt = 0; cnt < n_convert; ++cnt, inptr += 4)
67+ for (; inptr + 4 <= inend && outptr + 4 <= outend; inptr += 4)
68 {
69 if (__glibc_unlikely (inptr[0] > 0x80))
70 {
71@@ -613,11 +609,9 @@ ucs4le_internal_loop (struct __gconv_step *step,
72 int flags = step_data->__flags;
73 const unsigned char *inptr = *inptrp;
74 unsigned char *outptr = *outptrp;
75- size_t n_convert = MIN (inend - inptr, outend - outptr) / 4;
76 int result;
77- size_t cnt;
78
79- for (cnt = 0; cnt < n_convert; ++cnt, inptr += 4)
80+ for (; inptr + 4 <= inend && outptr + 4 <= outend; inptr += 4)
81 {
82 uint32_t inval;
83
84@@ -684,11 +678,9 @@ ucs4le_internal_loop_unaligned (struct __gconv_step *step,
85 int flags = step_data->__flags;
86 const unsigned char *inptr = *inptrp;
87 unsigned char *outptr = *outptrp;
88- size_t n_convert = MIN (inend - inptr, outend - outptr) / 4;
89 int result;
90- size_t cnt;
91
92- for (cnt = 0; cnt < n_convert; ++cnt, inptr += 4)
93+ for (; inptr + 4 <= inend && outptr + 4 <= outend; inptr += 4)
94 {
95 if (__glibc_unlikely (inptr[3] > 0x80))
96 {
97diff --git a/iconv/tst-iconv8.c b/iconv/tst-iconv8.c
98new file mode 100644
99index 0000000000..0b92b19f66
100--- /dev/null
101+++ b/iconv/tst-iconv8.c
102@@ -0,0 +1,50 @@
103+/* Test iconv behavior on UCS4 conversions with //IGNORE.
104+ Copyright (C) 2020 Free Software Foundation, Inc.
105+ This file is part of the GNU C Library.
106+
107+ The GNU C Library is free software; you can redistribute it and/or
108+ modify it under the terms of the GNU Lesser General Public
109+ License as published by the Free Software Foundation; either
110+ version 2.1 of the License, or (at your option) any later version.
111+
112+ The GNU C Library is distributed in the hope that it will be useful,
113+ but WITHOUT ANY WARRANTY; without even the implied warranty of
114+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
115+ Lesser General Public License for more details.
116+
117+ You should have received a copy of the GNU Lesser General Public
118+ License along with the GNU C Library; if not, see
119+ <http://www.gnu.org/licenses/>. */
120+
121+/* Derived from BZ #26923 */
122+#include <errno.h>
123+#include <iconv.h>
124+#include <stdio.h>
125+#include <support/check.h>
126+
127+static int
128+do_test (void)
129+{
130+ iconv_t cd = iconv_open ("UTF-8//IGNORE", "ISO-10646/UCS4/");
131+ TEST_VERIFY_EXIT (cd != (iconv_t) -1);
132+
133+ /*
134+ * Convert sequence beginning with an irreversible character into buffer that
135+ * is too small.
136+ */
137+ char input[12] = "\xe1\x80\xa1" "AAAAAAAAA";
138+ char *inptr = input;
139+ size_t insize = sizeof (input);
140+ char output[6];
141+ char *outptr = output;
142+ size_t outsize = sizeof (output);
143+
144+ TEST_VERIFY (iconv (cd, &inptr, &insize, &outptr, &outsize) == -1);
145+ TEST_VERIFY (errno == E2BIG);
146+
147+ TEST_VERIFY_EXIT (iconv_close (cd) != -1);
148+
149+ return 0;
150+}
151+
152+#include <support/test-driver.c>
153--
1542.17.0
155
diff --git a/meta/recipes-core/glibc/glibc/CVE-2020-29573.patch b/meta/recipes-core/glibc/glibc/CVE-2020-29573.patch
deleted file mode 100644
index 0f54d72cad..0000000000
--- a/meta/recipes-core/glibc/glibc/CVE-2020-29573.patch
+++ /dev/null
@@ -1,56 +0,0 @@
1From 681900d29683722b1cb0a8e565a0585846ec5a61 Mon Sep 17 00:00:00 2001
2From: Florian Weimer <fweimer@redhat.com>
3Date: Tue, 22 Sep 2020 19:07:48 +0200
4Subject: [PATCH] x86: Harden printf against non-normal long double values (bug
5 26649)
6
7The behavior of isnan/__builtin_isnan on bit patterns that do not
8correspond to something that the CPU would produce from valid inputs
9is currently under-defined in the toolchain. (The GCC built-in and
10glibc disagree.)
11
12The isnan check in PRINTF_FP_FETCH in stdio-common/printf_fp.c
13assumes the GCC behavior that returns true for non-normal numbers
14which are not specified as NaN. (The glibc implementation returns
15false for such numbers.)
16
17At present, passing non-normal numbers to __mpn_extract_long_double
18causes this function to produce irregularly shaped multi-precision
19integers, triggering undefined behavior in __printf_fp_l.
20
21With GCC 10 and glibc 2.32, this behavior is not visible because
22__builtin_isnan is used, which avoids calling
23__mpn_extract_long_double in this case. This commit updates the
24implementation of __mpn_extract_long_double so that regularly shaped
25multi-precision integers are produced in this case, avoiding
26undefined behavior in __printf_fp_l.
27
28Upstream-Status: Backport [git://sourceware.org/git/glibc.git]
29CVE: CVE-2020-29573
30Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
31---
32 sysdeps/i386/ldbl2mpn.c | 8 ++++
33 1 files changed, 8 insertions(+)
34
35diff --git a/sysdeps/i386/ldbl2mpn.c b/sysdeps/i386/ldbl2mpn.c
36index ec8464eef7..23afedfb67 100644
37--- a/sysdeps/i386/ldbl2mpn.c
38+++ b/sysdeps/i386/ldbl2mpn.c
39@@ -115,6 +115,14 @@ __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size,
40 && res_ptr[N - 1] == 0)
41 /* Pseudo zero. */
42 *expt = 0;
43+ else
44+ /* Unlike other floating point formats, the most significant bit
45+ is explicit and expected to be set for normal numbers. Set it
46+ in case it is cleared in the input. Otherwise, callers will
47+ not be able to produce the expected multi-precision integer
48+ layout by shifting. */
49+ res_ptr[N - 1] |= (mp_limb_t) 1 << (LDBL_MANT_DIG - 1
50+ - ((N - 1) * BITS_PER_MP_LIMB));
51
52 return N;
53 }
54--
552.17.0
56
diff --git a/meta/recipes-core/glibc/glibc_2.32.bb b/meta/recipes-core/glibc/glibc_2.33.bb
index 249f59176e..2259d60196 100644
--- a/meta/recipes-core/glibc/glibc_2.32.bb
+++ b/meta/recipes-core/glibc/glibc_2.33.bb
@@ -1,8 +1,7 @@
1require glibc.inc 1require glibc.inc
2require glibc-version.inc 2require glibc-version.inc
3 3
4# whitelist CVE's with fixes in latest release/2.32/master branch 4CVE_CHECK_WHITELIST += "CVE-2020-10029"
5CVE_CHECK_WHITELIST += "CVE-2019-25013 CVE-2020-10029 CVE-2020-27618"
6 5
7DEPENDS += "gperf-native bison-native make-native" 6DEPENDS += "gperf-native bison-native make-native"
8 7
@@ -43,9 +42,6 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
43 file://0028-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch \ 42 file://0028-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch \
44 file://0029-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch \ 43 file://0029-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch \
45 file://0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch \ 44 file://0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch \
46 file://0031-linux-Allow-adjtime-with-NULL-argument-BZ-26833.patch \
47 file://CVE-2020-29562.patch \
48 file://CVE-2020-29573.patch \
49 " 45 "
50S = "${WORKDIR}/git" 46S = "${WORKDIR}/git"
51B = "${WORKDIR}/build-${TARGET_SYS}" 47B = "${WORKDIR}/build-${TARGET_SYS}"