1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-27 07:27:12 +00:00

glibc: Upgrade to 2.31

License-Update: Prefer https to http for gnu.org and fsf.org URLs [1]

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=5a82c74822d3272df2f5929133680478c0cfb4bd

(From OE-Core rev: b22626d996e153d6094e1f76ed33ee1bb3eea751)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2019-12-20 15:40:20 -08:00
committed by Richard Purdie
parent c7a903aaa1
commit 2b5cf2a067
41 changed files with 2980 additions and 325 deletions
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/libc/libc.html"
SECTION = "libs" SECTION = "libs"
LICENSE = "LGPL-2.1" LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://LICENSES;md5=cfc0ed77a9f62fa62eded042ebe31d72 \ LIC_FILES_CHKSUM = "file://LICENSES;md5=1541fd8f5e8f1579512bf05f533371ba \
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \ file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
@@ -21,18 +21,21 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:"
SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \ git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \
file://0016-timezone-re-written-tzselect-as-posix-sh.patch \ \
file://0017-Remove-bash-dependency-for-nscd-init-script.patch \ file://0001-localedef-Add-hardlink-resolver-to-build.patch;patchdir=localedef \
file://0018-eglibc-Cross-building-and-testing-instructions.patch \ \
file://0019-eglibc-Help-bootstrap-cross-toolchain.patch \ file://0001-localedef-Add-hardlink-resolver-from-util-linux.patch \
file://0020-eglibc-Clear-cache-lines-on-ppc8xx.patch \ file://0002-localedef-fix-ups-hardlink-to-make-it-compile.patch \
file://0021-eglibc-Resolve-__fpscr_values-on-SH4.patch \ \
file://0022-eglibc-Forward-port-cross-locale-generation-support.patch \ file://0018-timezone-re-written-tzselect-as-posix-sh.patch \
file://0023-Define-DUMMY_LOCALE_T-if-not-defined.patch \ file://0019-Remove-bash-dependency-for-nscd-init-script.patch \
file://0024-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \ file://0020-eglibc-Cross-building-and-testing-instructions.patch \
file://0029-Add-hardlink-resolver-from-util-linux.patch \ file://0021-eglibc-Help-bootstrap-cross-toolchain.patch \
file://0030-hardlink-fix-ups-to-make-it-compile.patch \ file://0022-eglibc-Clear-cache-lines-on-ppc8xx.patch \
file://0031-Add-hardlink-resolver-to-build.patch \ file://0023-eglibc-Resolve-__fpscr_values-on-SH4.patch \
file://0024-eglibc-Forward-port-cross-locale-generation-support.patch \
file://0025-Define-DUMMY_LOCALE_T-if-not-defined.patch \
file://0026-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \
" "
# Makes for a rather long rev (22 characters), but... # Makes for a rather long rev (22 characters), but...
# #
+2 -2
View File
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.gnu.org/software/libc/libc.html"
SECTION = "libs" SECTION = "libs"
LICENSE = "GPLv2 & LGPLv2.1" LICENSE = "GPLv2 & LGPLv2.1"
LIC_FILES_CHKSUM ?= "file://LICENSES;md5=cfc0ed77a9f62fa62eded042ebe31d72 \ LIC_FILES_CHKSUM ?= "file://LICENSES;md5=1541fd8f5e8f1579512bf05f533371ba \
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \ file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
@@ -22,4 +22,4 @@ ARM_INSTRUCTION_SET_armv6 = "arm"
# #
COMPATIBLE_HOST_libc-musl_class-target = "null" COMPATIBLE_HOST_libc-musl_class-target = "null"
PV = "2.30" PV = "2.30.9000"
+3 -3
View File
@@ -1,6 +1,6 @@
SRCBRANCH ?= "release/2.30/master" SRCBRANCH ?= "master"
PV = "2.30" PV = "2.30.9000"
SRCREV_glibc ?= "be9a328c93834648e0bec106a1f86357d1a8c7e1" SRCREV_glibc ?= "def9c08c94da60bfb746644d56cffbe7a9de3477"
SRCREV_localedef ?= "cd9f958c4c94a638fa7b2b4e21627364f1a1a655" SRCREV_localedef ?= "cd9f958c4c94a638fa7b2b4e21627364f1a1a655"
GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
@@ -1,7 +1,7 @@
From 9e5e5297d9a5ef66b3920313356bf7f25955dff3 Mon Sep 17 00:00:00 2001 From 169720859cf8f9133882a13f588b15f44b7b8ae6 Mon Sep 17 00:00:00 2001
From: Jason Wessel <jason.wessel@windriver.com> From: Jason Wessel <jason.wessel@windriver.com>
Date: Sat, 7 Dec 2019 09:59:22 -0800 Date: Sat, 7 Dec 2019 09:59:22 -0800
Subject: [PATCH] Add hardlink resolver from util-linux Subject: [PATCH] localedef: Add hardlink resolver from util-linux
The hard link resolver that is built into localedef cannot be run in The hard link resolver that is built into localedef cannot be run in
parallel. It will search sibling directories (which are be processed parallel. It will search sibling directories (which are be processed
@@ -1,7 +1,7 @@
From 1ef58f566e6ed575f7caee35308025e2b0f4101c Mon Sep 17 00:00:00 2001 From 56ae260ac24ade94e2e0e77c81751312372d253f Mon Sep 17 00:00:00 2001
From: Jason Wessel <jason.wessel@windriver.com> From: Jason Wessel <jason.wessel@windriver.com>
Date: Sat, 7 Dec 2019 09:56:23 -0800 Date: Sat, 7 Dec 2019 09:56:23 -0800
Subject: [PATCH] Add hardlink resolver to build Subject: [PATCH] localedef: Add hardlink resolver to build
The sourcecode for this is imported from util-linux and is kept with The sourcecode for this is imported from util-linux and is kept with
glibc sources glibc sources
@@ -13,10 +13,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
Makefile.in | 8 +++++++- Makefile.in | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-) 1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/localedef/Makefile.in b/localedef/Makefile.in diff --git a/Makefile.in b/Makefile.in
index 77fbded..a87e5b2 100644 index 77fbded..a87e5b2 100644
--- a/localedef/Makefile.in --- a/Makefile.in
+++ b/localedef/Makefile.in +++ b/Makefile.in
@@ -40,6 +40,8 @@ WARNFLAGS = -Wall -Wno-format @@ -40,6 +40,8 @@ WARNFLAGS = -Wall -Wno-format
FULLCC = $(CC) $(CPPFLAGS) $(CFLAGS) \ FULLCC = $(CC) $(CPPFLAGS) $(CFLAGS) \
$(DEFINES) $(INCLUDES) $(WARNFLAGS) $(DEFINES) $(INCLUDES) $(WARNFLAGS)
@@ -50,6 +50,3 @@ index 77fbded..a87e5b2 100644
charmap.o: glibc/locale/programs/charmap.c charmap.o: glibc/locale/programs/charmap.c
charmap-dir.o: glibc/locale/programs/charmap-dir.c charmap-dir.o: glibc/locale/programs/charmap-dir.c
ld-address.o: glibc/locale/programs/ld-address.c ld-address.o: glibc/locale/programs/ld-address.c
--
2.24.0
@@ -1,7 +1,7 @@
From d08f436635cb9d627ebae4512105708d28fc36fe Mon Sep 17 00:00:00 2001 From 9b966b758d0c96ef6654251689318614ef10becc Mon Sep 17 00:00:00 2001
From: Jason Wessel <jason.wessel@windriver.com> From: Jason Wessel <jason.wessel@windriver.com>
Date: Sat, 7 Dec 2019 10:01:37 -0800 Date: Sat, 7 Dec 2019 10:01:37 -0800
Subject: [PATCH] hardlink: fix-ups to make it compile Subject: [PATCH] localedef: fix-ups hardlink to make it compile
Upstream-Status: Pending Upstream-Status: Pending
Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
@@ -1,8 +1,7 @@
From f6984c923b41155979764bfa3f44609572be5414 Mon Sep 17 00:00:00 2001 From 14ddf13b7fc2e39a1ae657ceb3963e35731e95d0 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 01:48:24 +0000 Date: Wed, 18 Mar 2015 01:48:24 +0000
Subject: [PATCH 01/28] nativesdk-glibc: Look for host system ld.so.cache as Subject: [PATCH] nativesdk-glibc: Look for host system ld.so.cache as well
well
Upstream-Status: Inappropriate [embedded specific] Upstream-Status: Inappropriate [embedded specific]
@@ -31,10 +30,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 8 insertions(+), 8 deletions(-) 1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/elf/dl-load.c b/elf/dl-load.c diff --git a/elf/dl-load.c b/elf/dl-load.c
index 5abeb867f1..981bd5b4af 100644 index a6b80f9395..3226f2e531 100644
--- a/elf/dl-load.c --- a/elf/dl-load.c
+++ b/elf/dl-load.c +++ b/elf/dl-load.c
@@ -2080,6 +2080,14 @@ _dl_map_object (struct link_map *loader, const char *name, @@ -2073,6 +2073,14 @@ _dl_map_object (struct link_map *loader, const char *name,
} }
} }
@@ -49,7 +48,7 @@ index 5abeb867f1..981bd5b4af 100644
#ifdef USE_LDCONFIG #ifdef USE_LDCONFIG
if (fd == -1 if (fd == -1
&& (__glibc_likely ((mode & __RTLD_SECURE) == 0) && (__glibc_likely ((mode & __RTLD_SECURE) == 0)
@@ -2138,14 +2146,6 @@ _dl_map_object (struct link_map *loader, const char *name, @@ -2131,14 +2139,6 @@ _dl_map_object (struct link_map *loader, const char *name,
} }
#endif #endif
@@ -64,6 +63,3 @@ index 5abeb867f1..981bd5b4af 100644
/* Add another newline when we are tracing the library loading. */ /* Add another newline when we are tracing the library loading. */
if (__glibc_unlikely (GLRO(dl_debug_mask) & DL_DEBUG_LIBS)) if (__glibc_unlikely (GLRO(dl_debug_mask) & DL_DEBUG_LIBS))
_dl_debug_printf ("\n"); _dl_debug_printf ("\n");
--
2.22.0
@@ -1,8 +1,7 @@
From b91c323d809039bf9b8c445418579a8b5fe61aea Mon Sep 17 00:00:00 2001 From 3ac58bf1028841cc0a8fa7f258cbf21466740360 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 01:50:00 +0000 Date: Wed, 18 Mar 2015 01:50:00 +0000
Subject: [PATCH 02/28] nativesdk-glibc: Fix buffer overrun with a relocated Subject: [PATCH] nativesdk-glibc: Fix buffer overrun with a relocated SDK
SDK
When ld-linux-*.so.2 is relocated to a path that is longer than the When ld-linux-*.so.2 is relocated to a path that is longer than the
original fixed location, the dynamic loader will crash in open_path original fixed location, the dynamic loader will crash in open_path
@@ -22,10 +21,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 12 insertions(+) 1 file changed, 12 insertions(+)
diff --git a/elf/dl-load.c b/elf/dl-load.c diff --git a/elf/dl-load.c b/elf/dl-load.c
index 981bd5b4af..c7a0fa58cb 100644 index 3226f2e531..7cb8a86fab 100644
--- a/elf/dl-load.c --- a/elf/dl-load.c
+++ b/elf/dl-load.c +++ b/elf/dl-load.c
@@ -1780,7 +1780,19 @@ open_path (const char *name, size_t namelen, int mode, @@ -1773,7 +1773,19 @@ open_path (const char *name, size_t namelen, int mode,
given on the command line when rtld is run directly. */ given on the command line when rtld is run directly. */
return -1; return -1;
@@ -45,6 +44,3 @@ index 981bd5b4af..c7a0fa58cb 100644
do do
{ {
struct r_search_path_elem *this_dir = *dirs; struct r_search_path_elem *this_dir = *dirs;
--
2.22.0
@@ -1,8 +1,7 @@
From 3aceb84e2bc0f796204fe059beede91179b1bc6e Mon Sep 17 00:00:00 2001 From 702d68cbdf405e086f72e2a062127cbea43045ec Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 01:51:38 +0000 Date: Wed, 18 Mar 2015 01:51:38 +0000
Subject: [PATCH 03/28] nativesdk-glibc: Raise the size of arrays containing dl Subject: [PATCH] nativesdk-glibc: Raise the size of arrays containing dl paths
paths
This patch puts the dynamic loader path in the binaries, SYSTEM_DIRS strings This patch puts the dynamic loader path in the binaries, SYSTEM_DIRS strings
and lengths as well as ld.so.cache path in the dynamic loader to specific and lengths as well as ld.so.cache path in the dynamic loader to specific
@@ -26,7 +25,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 files changed, 14 insertions(+), 10 deletions(-) 7 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/elf/dl-cache.c b/elf/dl-cache.c diff --git a/elf/dl-cache.c b/elf/dl-cache.c
index d8d1e2344e..d2247bfc4f 100644 index 3eedd9afcf..efdfe5cae7 100644
--- a/elf/dl-cache.c --- a/elf/dl-cache.c
+++ b/elf/dl-cache.c +++ b/elf/dl-cache.c
@@ -133,6 +133,10 @@ do \ @@ -133,6 +133,10 @@ do \
@@ -41,7 +40,7 @@ index d8d1e2344e..d2247bfc4f 100644
_dl_cache_libcmp (const char *p1, const char *p2) _dl_cache_libcmp (const char *p1, const char *p2)
{ {
diff --git a/elf/dl-load.c b/elf/dl-load.c diff --git a/elf/dl-load.c b/elf/dl-load.c
index c7a0fa58cb..4b87505d45 100644 index 7cb8a86fab..e32d4aa936 100644
--- a/elf/dl-load.c --- a/elf/dl-load.c
+++ b/elf/dl-load.c +++ b/elf/dl-load.c
@@ -110,8 +110,8 @@ static size_t max_capstrlen attribute_relro; @@ -110,8 +110,8 @@ static size_t max_capstrlen attribute_relro;
@@ -56,7 +55,7 @@ index c7a0fa58cb..4b87505d45 100644
SYSTEM_DIRS_LEN SYSTEM_DIRS_LEN
}; };
diff --git a/elf/interp.c b/elf/interp.c diff --git a/elf/interp.c b/elf/interp.c
index 243829f5f7..0e74241703 100644 index 331cc1df48..885b2d9476 100644
--- a/elf/interp.c --- a/elf/interp.c
+++ b/elf/interp.c +++ b/elf/interp.c
@@ -18,5 +18,5 @@ @@ -18,5 +18,5 @@
@@ -67,7 +66,7 @@ index 243829f5f7..0e74241703 100644
+const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp"))) +const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp")))
= RUNTIME_LINKER; = RUNTIME_LINKER;
diff --git a/elf/ldconfig.c b/elf/ldconfig.c diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index 3bc9e61891..6a23096435 100644 index 681ed78496..8833ed0a6b 100644
--- a/elf/ldconfig.c --- a/elf/ldconfig.c
+++ b/elf/ldconfig.c +++ b/elf/ldconfig.c
@@ -168,6 +168,9 @@ static struct argp argp = @@ -168,6 +168,9 @@ static struct argp argp =
@@ -81,10 +80,10 @@ index 3bc9e61891..6a23096435 100644
a platform. */ a platform. */
static int static int
diff --git a/elf/rtld.c b/elf/rtld.c diff --git a/elf/rtld.c b/elf/rtld.c
index c9490ff694..3962373ebb 100644 index 553cfbd1b7..39347c2c03 100644
--- a/elf/rtld.c --- a/elf/rtld.c
+++ b/elf/rtld.c +++ b/elf/rtld.c
@@ -173,6 +173,7 @@ dso_name_valid_for_suid (const char *p) @@ -175,6 +175,7 @@ dso_name_valid_for_suid (const char *p)
} }
return *p != '\0'; return *p != '\0';
} }
@@ -92,7 +91,7 @@ index c9490ff694..3962373ebb 100644
/* LD_AUDIT variable contents. Must be processed before the /* LD_AUDIT variable contents. Must be processed before the
audit_list below. */ audit_list below. */
@@ -1220,13 +1221,13 @@ of this helper program; chances are you did not intend to run this program.\n\ @@ -1222,13 +1223,13 @@ of this helper program; chances are you did not intend to run this program.\n\
--list list all dependencies and how they are resolved\n\ --list list all dependencies and how they are resolved\n\
--verify verify that given object really is a dynamically linked\n\ --verify verify that given object really is a dynamically linked\n\
object we can handle\n\ object we can handle\n\
@@ -109,7 +108,7 @@ index c9490ff694..3962373ebb 100644
++_dl_skip_args; ++_dl_skip_args;
--_dl_argc; --_dl_argc;
diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c
index ae8937cba0..f321ee419e 100644 index 735bd1f2d5..25100ba666 100644
--- a/iconv/gconv_conf.c --- a/iconv/gconv_conf.c
+++ b/iconv/gconv_conf.c +++ b/iconv/gconv_conf.c
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
@@ -122,7 +121,7 @@ index ae8937cba0..f321ee419e 100644
/* Type to represent search path. */ /* Type to represent search path. */
struct path_elem struct path_elem
diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h
index bc8b40331d..b0fdd2144b 100644 index 6b310e9e15..3877311df4 100644
--- a/sysdeps/generic/dl-cache.h --- a/sysdeps/generic/dl-cache.h
+++ b/sysdeps/generic/dl-cache.h +++ b/sysdeps/generic/dl-cache.h
@@ -27,10 +27,6 @@ @@ -27,10 +27,6 @@
@@ -136,6 +135,3 @@ index bc8b40331d..b0fdd2144b 100644
#ifndef add_system_dir #ifndef add_system_dir
# define add_system_dir(dir) add_dir (dir) # define add_system_dir(dir) add_dir (dir)
#endif #endif
--
2.22.0
@@ -1,7 +1,7 @@
From e41e042149eac349e09fa629fcac4c64e574322c Mon Sep 17 00:00:00 2001 From f9993e652bd4a0f03402d0c527cf24b83d0ff7ea Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 31 Dec 2015 14:35:35 -0800 Date: Thu, 31 Dec 2015 14:35:35 -0800
Subject: [PATCH 04/28] nativesdk-glibc: Allow 64 bit atomics for x86 Subject: [PATCH] nativesdk-glibc: Allow 64 bit atomics for x86
The fix consist of allowing 64bit atomic ops for x86. The fix consist of allowing 64bit atomic ops for x86.
This should be safe for i586 and newer CPUs. This should be safe for i586 and newer CPUs.
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 1 insertion(+), 2 deletions(-) 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sysdeps/x86/atomic-machine.h b/sysdeps/x86/atomic-machine.h diff --git a/sysdeps/x86/atomic-machine.h b/sysdeps/x86/atomic-machine.h
index aa60ca4cd6..3e42e00183 100644 index bb49648374..aa08d3c0a7 100644
--- a/sysdeps/x86/atomic-machine.h --- a/sysdeps/x86/atomic-machine.h
+++ b/sysdeps/x86/atomic-machine.h +++ b/sysdeps/x86/atomic-machine.h
@@ -58,15 +58,14 @@ typedef uintmax_t uatomic_max_t; @@ -58,15 +58,14 @@ typedef uintmax_t uatomic_max_t;
@@ -37,6 +37,3 @@ index aa60ca4cd6..3e42e00183 100644
# define SP_REG "esp" # define SP_REG "esp"
# define SEG_REG "gs" # define SEG_REG "gs"
# define BR_CONSTRAINT "r" # define BR_CONSTRAINT "r"
--
2.22.0
@@ -1,7 +1,7 @@
From 50ab0b0c116f4ae3d975ec1b15ed4595fd9147f6 Mon Sep 17 00:00:00 2001 From ee9d5e423e4a709ae5a62abfb476863b3b57378f Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 3 Aug 2018 09:55:12 -0700 Date: Fri, 3 Aug 2018 09:55:12 -0700
Subject: [PATCH 05/28] nativesdk-glibc: Make relocatable install for locales Subject: [PATCH] nativesdk-glibc: Make relocatable install for locales
The glibc locale path is hard-coded to the install prefix, but in SDKs we need The glibc locale path is hard-coded to the install prefix, but in SDKs we need
to be able to relocate the binaries. Expand the strings to 4K and put them in a to be able to relocate the binaries. Expand the strings to 4K and put them in a
@@ -18,7 +18,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 files changed, 4 insertions(+), 4 deletions(-) 3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/locale/findlocale.c b/locale/findlocale.c diff --git a/locale/findlocale.c b/locale/findlocale.c
index 9af605bd64..b2b0a3f93b 100644 index 9cd3b71a6d..84272310e0 100644
--- a/locale/findlocale.c --- a/locale/findlocale.c
+++ b/locale/findlocale.c +++ b/locale/findlocale.c
@@ -56,7 +56,7 @@ struct __locale_data *const _nl_C[] attribute_hidden = @@ -56,7 +56,7 @@ struct __locale_data *const _nl_C[] attribute_hidden =
@@ -30,7 +30,7 @@ index 9af605bd64..b2b0a3f93b 100644
/* Checks if the name is actually present, that is, not NULL and not /* Checks if the name is actually present, that is, not NULL and not
empty. */ empty. */
@@ -167,7 +167,7 @@ _nl_find_locale (const char *locale_path, size_t locale_path_len, @@ -166,7 +166,7 @@ _nl_find_locale (const char *locale_path, size_t locale_path_len,
/* Nothing in the archive. Set the default path to search below. */ /* Nothing in the archive. Set the default path to search below. */
locale_path = _nl_default_locale_path; locale_path = _nl_default_locale_path;
@@ -40,7 +40,7 @@ index 9af605bd64..b2b0a3f93b 100644
else else
/* We really have to load some data. First see whether the name is /* We really have to load some data. First see whether the name is
diff --git a/locale/loadarchive.c b/locale/loadarchive.c diff --git a/locale/loadarchive.c b/locale/loadarchive.c
index 803c1cf2a4..9023f475b8 100644 index ba0fe45648..9737fd4cda 100644
--- a/locale/loadarchive.c --- a/locale/loadarchive.c
+++ b/locale/loadarchive.c +++ b/locale/loadarchive.c
@@ -42,7 +42,7 @@ @@ -42,7 +42,7 @@
@@ -53,10 +53,10 @@ index 803c1cf2a4..9023f475b8 100644
/* Size of initial mapping window, optimal if large enough to /* Size of initial mapping window, optimal if large enough to
cover the header plus the initial locale. */ cover the header plus the initial locale. */
diff --git a/locale/localeinfo.h b/locale/localeinfo.h diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index 7c1cc3eecb..53cb8bfc59 100644 index 1bfe22aa7f..fdc283c69a 100644
--- a/locale/localeinfo.h --- a/locale/localeinfo.h
+++ b/locale/localeinfo.h +++ b/locale/localeinfo.h
@@ -325,7 +325,7 @@ _nl_lookup_word (locale_t l, int category, int item) @@ -331,7 +331,7 @@ _nl_lookup_word (locale_t l, int category, int item)
} }
/* Default search path if no LOCPATH environment variable. */ /* Default search path if no LOCPATH environment variable. */
@@ -65,6 +65,3 @@ index 7c1cc3eecb..53cb8bfc59 100644
/* Load the locale data for CATEGORY from the file specified by *NAME. /* Load the locale data for CATEGORY from the file specified by *NAME.
If *NAME is "", use environment variables as specified by POSIX, and If *NAME is "", use environment variables as specified by POSIX, and
--
2.22.0
@@ -1,7 +1,7 @@
From 7cccf5cec09f2a42cc3fe5d82ce21b7309330b33 Mon Sep 17 00:00:00 2001 From 2cc7b79157ce17144791dda1a2e3a6dc4902c736 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 00:01:50 +0000 Date: Wed, 18 Mar 2015 00:01:50 +0000
Subject: [PATCH 06/28] fsl e500/e5500/e6500/603e fsqrt implementation Subject: [PATCH] fsl e500/e5500/e6500/603e fsqrt implementation
Upstream-Status: Pending Upstream-Status: Pending
Signed-off-by: Edmar Wienskoski <edmar@freescale.com> Signed-off-by: Edmar Wienskoski <edmar@freescale.com>
@@ -1579,6 +1579,3 @@ index 0000000000..04ff8cc181
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/e6500/fpu/Implies +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/e6500/fpu/Implies
@@ -0,0 +1 @@ @@ -0,0 +1 @@
+powerpc/powerpc64/e6500/fpu +powerpc/powerpc64/e6500/fpu
--
2.22.0
@@ -1,8 +1,7 @@
From dc715f6c70d01e9c3b31c1825fa5bc447967c847 Mon Sep 17 00:00:00 2001 From e6ff3960d9e4ed6a9a4be70732313127f0e6d0e0 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 00:11:22 +0000 Date: Wed, 18 Mar 2015 00:11:22 +0000
Subject: [PATCH 07/28] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known Subject: [PATCH] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known names
names
This bolts in a hook for OE to pass its own version of interpreter This bolts in a hook for OE to pass its own version of interpreter
names into glibc especially for multilib case, where it differs from any names into glibc especially for multilib case, where it differs from any
@@ -17,7 +16,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 1 insertion(+) 1 file changed, 1 insertion(+)
diff --git a/elf/readlib.c b/elf/readlib.c diff --git a/elf/readlib.c b/elf/readlib.c
index c9743e6692..6307f918fc 100644 index 994a4426a1..baabf099b1 100644
--- a/elf/readlib.c --- a/elf/readlib.c
+++ b/elf/readlib.c +++ b/elf/readlib.c
@@ -51,6 +51,7 @@ static struct known_names interpreters[] = @@ -51,6 +51,7 @@ static struct known_names interpreters[] =
@@ -28,6 +27,3 @@ index c9743e6692..6307f918fc 100644
}; };
static struct known_names known_libs[] = static struct known_names known_libs[] =
--
2.22.0
@@ -1,7 +1,7 @@
From 42a01c55786a9472934e12e0bf0c40983579b607 Mon Sep 17 00:00:00 2001 From ad055d58bd99b80e41face63bf20db3f04afa4e3 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 00:15:07 +0000 Date: Wed, 18 Mar 2015 00:15:07 +0000
Subject: [PATCH 08/28] ppc/sqrt: Fix undefined reference to `__sqrt_finite' Subject: [PATCH] ppc/sqrt: Fix undefined reference to `__sqrt_finite'
on ppc fixes the errors like below on ppc fixes the errors like below
| ./.libs/libpulsecore-1.1.so: undefined reference to `__sqrt_finite' | ./.libs/libpulsecore-1.1.so: undefined reference to `__sqrt_finite'
@@ -203,6 +203,3 @@ index 26fa067abf..9d175122a8 100644
return f_washf (b); return f_washf (b);
} }
+strong_alias (__ieee754_sqrtf, __sqrtf_finite) +strong_alias (__ieee754_sqrtf, __sqrtf_finite)
--
2.22.0
@@ -1,8 +1,8 @@
From a0fcb9135bc8c2b9d8a161d166b6f9d56d7af245 Mon Sep 17 00:00:00 2001 From ac4450bc74dc0754a3724f1bebb2290c4dc29d72 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 00:16:38 +0000 Date: Wed, 18 Mar 2015 00:16:38 +0000
Subject: [PATCH 09/28] __ieee754_sqrt{,f} are now inline functions and call Subject: [PATCH] __ieee754_sqrt{,f} are now inline functions and call out
out __slow versions __slow versions
Upstream-Status: Pending Upstream-Status: Pending
@@ -382,6 +382,3 @@ index 9d175122a8..10de1f0cc3 100644
+} +}
+ +
strong_alias (__ieee754_sqrtf, __sqrtf_finite) strong_alias (__ieee754_sqrtf, __sqrtf_finite)
--
2.22.0
@@ -1,8 +1,7 @@
From 9c1f2229c48c37b38628c485ef16e01f6780160c Mon Sep 17 00:00:00 2001 From 0c73e17d5ea7c88247c1bfbb03511b0ccb6ba6b4 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 00:20:09 +0000 Date: Wed, 18 Mar 2015 00:20:09 +0000
Subject: [PATCH 10/28] Quote from bug 1443 which explains what the patch does Subject: [PATCH] Quote from bug 1443 which explains what the patch does :
:
We build some random program and link it with -lust. When we run it, We build some random program and link it with -lust. When we run it,
it dies with a SIGSEGV before reaching main(). it dies with a SIGSEGV before reaching main().
@@ -45,7 +44,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h
index 7a2f9d9b78..36a1dd1888 100644 index 90856779b1..a29bb86c56 100644
--- a/sysdeps/arm/dl-machine.h --- a/sysdeps/arm/dl-machine.h
+++ b/sysdeps/arm/dl-machine.h +++ b/sysdeps/arm/dl-machine.h
@@ -510,7 +510,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc, @@ -510,7 +510,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
@@ -57,6 +56,3 @@ index 7a2f9d9b78..36a1dd1888 100644
break; break;
case R_ARM_TLS_TPOFF32: case R_ARM_TLS_TPOFF32:
--
2.22.0
@@ -1,7 +1,7 @@
From 171d2afb930917b0cfbe9df770774da1c92dd185 Mon Sep 17 00:00:00 2001 From 6a1ebbab0643fb2169314bcf1a0850b0f06dd27e Mon Sep 17 00:00:00 2001
From: Ting Liu <b28495@freescale.com> From: Ting Liu <b28495@freescale.com>
Date: Wed, 19 Dec 2012 04:39:57 -0600 Date: Wed, 19 Dec 2012 04:39:57 -0600
Subject: [PATCH 11/28] eglibc: run libm-err-tab.pl with specific dirs in ${S} Subject: [PATCH] eglibc: run libm-err-tab.pl with specific dirs in ${S}
libm-err-tab.pl will parse all the files named "libm-test-ulps" libm-err-tab.pl will parse all the files named "libm-test-ulps"
in the given dir recursively. To avoid parsing the one in in the given dir recursively. To avoid parsing the one in
@@ -18,7 +18,7 @@ Signed-off-by: Ting Liu <b28495@freescale.com>
1 file changed, 2 insertions(+), 1 deletion(-) 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/manual/Makefile b/manual/Makefile diff --git a/manual/Makefile b/manual/Makefile
index 4f76ee85d2..04b8c8c320 100644 index c61e11dcd7..5d859e6f84 100644
--- a/manual/Makefile --- a/manual/Makefile
+++ b/manual/Makefile +++ b/manual/Makefile
@@ -103,7 +103,8 @@ $(objpfx)stamp-libm-err: $(..)math/gen-libm-test.py \ @@ -103,7 +103,8 @@ $(objpfx)stamp-libm-err: $(..)math/gen-libm-test.py \
@@ -31,6 +31,3 @@ index 4f76ee85d2..04b8c8c320 100644
$(move-if-change) $(objpfx)libm-err-tmp $(objpfx)libm-err.texi $(move-if-change) $(objpfx)libm-err-tmp $(objpfx)libm-err.texi
touch $@ touch $@
--
2.22.0
@@ -1,8 +1,8 @@
From 376be7b96152ef501c8cf95ed6dc52c0318bd26a Mon Sep 17 00:00:00 2001 From 106aee1de5c95fc9e02f10c05537dcc39f8478f4 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 00:24:46 +0000 Date: Wed, 18 Mar 2015 00:24:46 +0000
Subject: [PATCH 12/28] __ieee754_sqrt{,f} are now inline functions and call Subject: [PATCH] __ieee754_sqrt{,f} are now inline functions and call out
out __slow versions __slow versions
Upstream-Status: Pending Upstream-Status: Pending
@@ -56,6 +56,3 @@ index 812653558f..10de1f0cc3 100644
float b; float b;
#endif #endif
{ {
--
2.22.0
@@ -1,7 +1,7 @@
From 1ba4e9577437632856d719cbd5d63b5a76cbb4c4 Mon Sep 17 00:00:00 2001 From 6c07d094556606ce7c1dc08f4dd3bc6af483364f Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 00:27:10 +0000 Date: Wed, 18 Mar 2015 00:27:10 +0000
Subject: [PATCH 13/28] sysdeps/gnu/configure.ac: handle correctly Subject: [PATCH] sysdeps/gnu/configure.ac: handle correctly
$libc_cv_rootsbindir $libc_cv_rootsbindir
Upstream-Status:Pending Upstream-Status:Pending
@@ -37,6 +37,3 @@ index 634fe4de2a..3db1697f4f 100644
+ test -n "$libc_cv_rootsbindir" || libc_cv_rootsbindir=/sbin + test -n "$libc_cv_rootsbindir" || libc_cv_rootsbindir=/sbin
;; ;;
esac esac
--
2.22.0
@@ -1,7 +1,7 @@
From b84999dcf642b07e6c14e6ff507be14743349949 Mon Sep 17 00:00:00 2001 From 8a8c81ba4e652dddb730d3dad2fecab1ee65fd9c Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 00:28:41 +0000 Date: Wed, 18 Mar 2015 00:28:41 +0000
Subject: [PATCH 14/28] Add unused attribute Subject: [PATCH] Add unused attribute
Helps in avoiding gcc warning when header is is included in Helps in avoiding gcc warning when header is is included in
a source file which does not use both functions a source file which does not use both functions
@@ -17,7 +17,7 @@ Upstream-Status: Pending
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iconv/gconv_charset.h b/iconv/gconv_charset.h diff --git a/iconv/gconv_charset.h b/iconv/gconv_charset.h
index 91e0ad3141..2e9549fe49 100644 index 348acc089b..fa92465d89 100644
--- a/iconv/gconv_charset.h --- a/iconv/gconv_charset.h
+++ b/iconv/gconv_charset.h +++ b/iconv/gconv_charset.h
@@ -21,7 +21,7 @@ @@ -21,7 +21,7 @@
@@ -29,6 +29,3 @@ index 91e0ad3141..2e9549fe49 100644
strip (char *wp, const char *s) strip (char *wp, const char *s)
{ {
int slash_count = 0; int slash_count = 0;
--
2.22.0
@@ -1,7 +1,7 @@
From 7c57f84bef4aaffe4204a7a354411ab3ea7e5273 Mon Sep 17 00:00:00 2001 From 601b2d11b6ddd974f0e1685f70e0d368e706d976 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 00:31:06 +0000 Date: Wed, 18 Mar 2015 00:31:06 +0000
Subject: [PATCH 15/28] 'yes' within the path sets wrong config variables Subject: [PATCH] 'yes' within the path sets wrong config variables
It seems that the 'AC_EGREP_CPP(yes...' example is quite popular It seems that the 'AC_EGREP_CPP(yes...' example is quite popular
but being such a short word to grep it is likely to produce but being such a short word to grep it is likely to produce
@@ -165,7 +165,7 @@ index f05f43802b..dc8639902d 100644
], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)]) ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)])
if test $libc_cv_nios2_be = yes; then if test $libc_cv_nios2_be = yes; then
diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure
index 1ee7f41a36..77e38bebde 100644 index 25f98e0c7b..e95bfae359 100644
--- a/sysdeps/unix/sysv/linux/mips/configure --- a/sysdeps/unix/sysv/linux/mips/configure
+++ b/sysdeps/unix/sysv/linux/mips/configure +++ b/sysdeps/unix/sysv/linux/mips/configure
@@ -414,11 +414,11 @@ else @@ -414,11 +414,11 @@ else
@@ -183,7 +183,7 @@ index 1ee7f41a36..77e38bebde 100644
else else
libc_cv_mips_nan2008=no libc_cv_mips_nan2008=no
diff --git a/sysdeps/unix/sysv/linux/mips/configure.ac b/sysdeps/unix/sysv/linux/mips/configure.ac diff --git a/sysdeps/unix/sysv/linux/mips/configure.ac b/sysdeps/unix/sysv/linux/mips/configure.ac
index 9147aa4582..7898e24738 100644 index 3db1b32b08..f8cd375ebc 100644
--- a/sysdeps/unix/sysv/linux/mips/configure.ac --- a/sysdeps/unix/sysv/linux/mips/configure.ac
+++ b/sysdeps/unix/sysv/linux/mips/configure.ac +++ b/sysdeps/unix/sysv/linux/mips/configure.ac
@@ -105,9 +105,9 @@ AC_COMPILE_IFELSE( @@ -105,9 +105,9 @@ AC_COMPILE_IFELSE(
@@ -258,6 +258,3 @@ index f9cba6e15d..b21f72f1e4 100644
#endif #endif
], libc_cv_ppc64_def_call_elf=yes, libc_cv_ppc64_def_call_elf=no)]) ], libc_cv_ppc64_def_call_elf=yes, libc_cv_ppc64_def_call_elf=no)])
if test $libc_cv_ppc64_def_call_elf = no; then if test $libc_cv_ppc64_def_call_elf = no; then
--
2.22.0
@@ -1,7 +1,7 @@
From a74f31ea9edf105f1a6dc26497aa2a12ae736660 Mon Sep 17 00:00:00 2001 From 8678c584bca244fe9a3f8926eabb6b6c7e9784f1 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 00:33:03 +0000 Date: Wed, 18 Mar 2015 00:33:03 +0000
Subject: [PATCH 16/28] timezone: re-written tzselect as posix sh Subject: [PATCH] timezone: re-written tzselect as posix sh
To avoid the bash dependency. To avoid the bash dependency.
@@ -15,7 +15,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 2 insertions(+), 2 deletions(-) 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/timezone/Makefile b/timezone/Makefile diff --git a/timezone/Makefile b/timezone/Makefile
index 493deca790..36e559e16c 100644 index 75f38df527..74e1ab7ff7 100644
--- a/timezone/Makefile --- a/timezone/Makefile
+++ b/timezone/Makefile +++ b/timezone/Makefile
@@ -122,7 +122,7 @@ $(testdata)/XT%: testdata/XT% @@ -122,7 +122,7 @@ $(testdata)/XT%: testdata/XT%
@@ -40,6 +40,3 @@ index 18fce27e24..70745f9d36 100755
# Output one argument as-is to standard output. # Output one argument as-is to standard output.
# Safer than 'echo', which can mishandle '\' or leading '-'. # Safer than 'echo', which can mishandle '\' or leading '-'.
--
2.22.0
@@ -1,7 +1,7 @@
From 95882b9864ff20e476d15c6825c83728eb99597f Mon Sep 17 00:00:00 2001 From a78f21f2f9b9246cd12b310833313328e8f646ed Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 31 Dec 2015 14:33:02 -0800 Date: Thu, 31 Dec 2015 14:33:02 -0800
Subject: [PATCH 17/28] Remove bash dependency for nscd init script Subject: [PATCH] Remove bash dependency for nscd init script
The nscd init script uses #! /bin/bash but only really uses one bashism The nscd init script uses #! /bin/bash but only really uses one bashism
(translated strings), so remove them and switch the shell to #!/bin/sh. (translated strings), so remove them and switch the shell to #!/bin/sh.
@@ -70,6 +70,3 @@ index a882da7d8b..b02986ec15 100644
RETVAL=1 RETVAL=1
;; ;;
esac esac
--
2.22.0
@@ -1,7 +1,7 @@
From 6b603d25cc5723ba631dfc60b544774db1147d81 Mon Sep 17 00:00:00 2001 From 7c48f61b0c5ef6274df4b03609991d383adc5df0 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 00:42:58 +0000 Date: Wed, 18 Mar 2015 00:42:58 +0000
Subject: [PATCH 18/28] eglibc: Cross building and testing instructions Subject: [PATCH] eglibc: Cross building and testing instructions
Ported from eglibc Ported from eglibc
Upstream-Status: Pending Upstream-Status: Pending
@@ -614,6 +614,3 @@ index 0000000000..b67b468466
+- Some tests require access to libstdc++.so.6 and libgcc_s.so.1; we +- Some tests require access to libstdc++.so.6 and libgcc_s.so.1; we
+ simply place copies of these libraries in the top GLIBC build + simply place copies of these libraries in the top GLIBC build
+ directory. + directory.
--
2.22.0
@@ -1,7 +1,7 @@
From 2864aaae984d945445f3f79869c703e0b791df88 Mon Sep 17 00:00:00 2001 From 86a6e94e86664976b305c24e5a52093fe962240a Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 00:49:28 +0000 Date: Wed, 18 Mar 2015 00:49:28 +0000
Subject: [PATCH 19/28] eglibc: Help bootstrap cross toolchain Subject: [PATCH] eglibc: Help bootstrap cross toolchain
Taken from EGLIBC, r1484 + r1525 Taken from EGLIBC, r1484 + r1525
@@ -29,10 +29,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
create mode 100644 include/stubs-bootstrap.h create mode 100644 include/stubs-bootstrap.h
diff --git a/Makefile b/Makefile diff --git a/Makefile b/Makefile
index 9fbf705200..64bfd455bc 100644 index 8f0a93aceb..8eba23a868 100644
--- a/Makefile --- a/Makefile
+++ b/Makefile +++ b/Makefile
@@ -70,9 +70,18 @@ subdir-dirs = include @@ -79,9 +79,18 @@ subdir-dirs = include
vpath %.h $(subdir-dirs) vpath %.h $(subdir-dirs)
# What to install. # What to install.
@@ -52,7 +52,7 @@ index 9fbf705200..64bfd455bc 100644
ifeq (yes,$(build-shared)) ifeq (yes,$(build-shared))
headers += gnu/lib-names.h headers += gnu/lib-names.h
endif endif
@@ -196,6 +205,16 @@ others: $(common-objpfx)testrun.sh @@ -407,6 +416,16 @@ others: $(common-objpfx)testrun.sh $(common-objpfx)debugglibc.sh
subdir-stubs := $(foreach dir,$(subdirs),$(common-objpfx)$(dir)/stubs) subdir-stubs := $(foreach dir,$(subdirs),$(common-objpfx)$(dir)/stubs)
@@ -69,7 +69,7 @@ index 9fbf705200..64bfd455bc 100644
ifndef abi-variants ifndef abi-variants
installed-stubs = $(inst_includedir)/gnu/stubs.h installed-stubs = $(inst_includedir)/gnu/stubs.h
else else
@@ -222,6 +241,7 @@ $(inst_includedir)/gnu/stubs.h: $(+force) @@ -433,6 +452,7 @@ $(inst_includedir)/gnu/stubs.h: $(+force)
install-others-nosubdir: $(installed-stubs) install-others-nosubdir: $(installed-stubs)
endif endif
@@ -95,6 +95,3 @@ index 0000000000..1d2b669aff
+ difficult headers. The <gnu/stubs.h> header depends, via the + difficult headers. The <gnu/stubs.h> header depends, via the
+ EGLIBC subdir 'stubs' make targets, on every .o file in EGLIBC, but + EGLIBC subdir 'stubs' make targets, on every .o file in EGLIBC, but
+ an empty stubs.h like this will do fine for GCC. */ + an empty stubs.h like this will do fine for GCC. */
--
2.22.0
@@ -1,7 +1,7 @@
From e2667086bf984de4d3f1226b9467761cd5a4c39f Mon Sep 17 00:00:00 2001 From b397d653670dd02d8310e1d6f0f19a8da90ebafa Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 31 Dec 2015 15:15:09 -0800 Date: Thu, 31 Dec 2015 15:15:09 -0800
Subject: [PATCH 20/28] eglibc: Clear cache lines on ppc8xx Subject: [PATCH] eglibc: Clear cache lines on ppc8xx
2007-06-13 Nathan Sidwell <nathan@codesourcery.com> 2007-06-13 Nathan Sidwell <nathan@codesourcery.com>
Mark Shinwell <shinwell@codesourcery.com> Mark Shinwell <shinwell@codesourcery.com>
@@ -21,7 +21,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 28 insertions(+), 2 deletions(-) 2 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c diff --git a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
index b04ecc4a4c..75bda97241 100644 index 5d65bc6303..c786f9aa7e 100644
--- a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c --- a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
+++ b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c +++ b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
@@ -24,9 +24,21 @@ int __cache_line_size attribute_hidden; @@ -24,9 +24,21 @@ int __cache_line_size attribute_hidden;
@@ -48,7 +48,7 @@ index b04ecc4a4c..75bda97241 100644
break; break;
diff --git a/sysdeps/unix/sysv/linux/powerpc/libc-start.c b/sysdeps/unix/sysv/linux/powerpc/libc-start.c diff --git a/sysdeps/unix/sysv/linux/powerpc/libc-start.c b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
index 4fd5f70700..1a21e4675c 100644 index 93f8659fa6..9bb07b36be 100644
--- a/sysdeps/unix/sysv/linux/powerpc/libc-start.c --- a/sysdeps/unix/sysv/linux/powerpc/libc-start.c
+++ b/sysdeps/unix/sysv/linux/powerpc/libc-start.c +++ b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
@@ -73,11 +73,25 @@ __libc_start_main (int argc, char **argv, @@ -73,11 +73,25 @@ __libc_start_main (int argc, char **argv,
@@ -78,6 +78,3 @@ index 4fd5f70700..1a21e4675c 100644
__cache_line_size = av->a_un.a_val; __cache_line_size = av->a_un.a_val;
break; break;
#ifndef SHARED #ifndef SHARED
--
2.22.0
@@ -1,7 +1,7 @@
From b7290e54a1bda7a0212131655bc27926fc22de22 Mon Sep 17 00:00:00 2001 From 02b69fc14ae1d6309e4e17081842b1f89bd40338 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 00:55:53 +0000 Date: Wed, 18 Mar 2015 00:55:53 +0000
Subject: [PATCH 21/28] eglibc: Resolve __fpscr_values on SH4 Subject: [PATCH] eglibc: Resolve __fpscr_values on SH4
2010-09-29 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> 2010-09-29 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Andrew Stubbs <ams@codesourcery.com> Andrew Stubbs <ams@codesourcery.com>
@@ -33,7 +33,7 @@ index e0938c4165..ca1d7da339 100644
# a* # a*
alphasort64; alphasort64;
diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S
index 6ce36d6dd5..425811cc77 100644 index 85ff3f900e..7743b8d57a 100644
--- a/sysdeps/unix/sysv/linux/sh/sysdep.S --- a/sysdeps/unix/sysv/linux/sh/sysdep.S
+++ b/sysdeps/unix/sysv/linux/sh/sysdep.S +++ b/sysdeps/unix/sysv/linux/sh/sysdep.S
@@ -30,3 +30,14 @@ ENTRY (__syscall_error) @@ -30,3 +30,14 @@ ENTRY (__syscall_error)
@@ -51,6 +51,3 @@ index 6ce36d6dd5..425811cc77 100644
+ .long 0x80000 + .long 0x80000
+weak_alias (___fpscr_values, __fpscr_values) +weak_alias (___fpscr_values, __fpscr_values)
+ +
--
2.22.0
@@ -1,14 +1,14 @@
From be382b4e0c6de52573f7e037f2d4ff9b1b5bbb6b Mon Sep 17 00:00:00 2001 From 42fc64ee872491667749499db50e3c51d6a4bfb3 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 01:33:49 +0000 Date: Wed, 18 Mar 2015 01:33:49 +0000
Subject: [PATCH 22/28] eglibc: Forward port cross locale generation support Subject: [PATCH] eglibc: Forward port cross locale generation support
Upstream-Status: Pending Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- ---
locale/Makefile | 3 +- locale/Makefile | 3 +-
locale/catnames.c | 48 ++++++++++++++++++++++++++++ locale/catnames.c | 46 +++++++++++++++++++++++++++
locale/localeinfo.h | 2 +- locale/localeinfo.h | 2 +-
locale/programs/charmap-dir.c | 6 ++++ locale/programs/charmap-dir.c | 6 ++++
locale/programs/ld-collate.c | 17 +++++----- locale/programs/ld-collate.c | 17 +++++-----
@@ -18,12 +18,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
locale/programs/localedef.c | 8 +++++ locale/programs/localedef.c | 8 +++++
locale/programs/locfile.c | 5 ++- locale/programs/locfile.c | 5 ++-
locale/programs/locfile.h | 59 +++++++++++++++++++++++++++++++++-- locale/programs/locfile.h | 59 +++++++++++++++++++++++++++++++++--
locale/setlocale.c | 30 ------------------ locale/setlocale.c | 29 -----------------
12 files changed, 169 insertions(+), 69 deletions(-) 12 files changed, 167 insertions(+), 68 deletions(-)
create mode 100644 locale/catnames.c create mode 100644 locale/catnames.c
diff --git a/locale/Makefile b/locale/Makefile diff --git a/locale/Makefile b/locale/Makefile
index d78cf9b83a..e166f5252e 100644 index c9694e236e..ba7105fad6 100644
--- a/locale/Makefile --- a/locale/Makefile
+++ b/locale/Makefile +++ b/locale/Makefile
@@ -26,7 +26,8 @@ headers = langinfo.h locale.h bits/locale.h \ @@ -26,7 +26,8 @@ headers = langinfo.h locale.h bits/locale.h \
@@ -38,10 +38,10 @@ index d78cf9b83a..e166f5252e 100644
address telephone measurement identification collate address telephone measurement identification collate
diff --git a/locale/catnames.c b/locale/catnames.c diff --git a/locale/catnames.c b/locale/catnames.c
new file mode 100644 new file mode 100644
index 0000000000..9fad357db1 index 0000000000..538f3f5edb
--- /dev/null --- /dev/null
+++ b/locale/catnames.c +++ b/locale/catnames.c
@@ -0,0 +1,48 @@ @@ -0,0 +1,46 @@
+/* Copyright (C) 2006 Free Software Foundation, Inc. +/* Copyright (C) 2006 Free Software Foundation, Inc.
+ This file is part of the GNU C Library. + This file is part of the GNU C Library.
+ +
@@ -63,20 +63,18 @@ index 0000000000..9fad357db1
+#include "localeinfo.h" +#include "localeinfo.h"
+ +
+/* Define an array of category names (also the environment variable names). */ +/* Define an array of category names (also the environment variable names). */
+const union catnamestr_t _nl_category_names attribute_hidden = +const struct catnamestr_t _nl_category_names attribute_hidden =
+ { + {
+ {
+#define DEFINE_CATEGORY(category, category_name, items, a) \ +#define DEFINE_CATEGORY(category, category_name, items, a) \
+ category_name, + category_name,
+#include "categories.def" +#include "categories.def"
+#undef DEFINE_CATEGORY +#undef DEFINE_CATEGORY
+ }
+ }; + };
+ +
+const uint8_t _nl_category_name_idxs[__LC_LAST] attribute_hidden = +const uint8_t _nl_category_name_idxs[__LC_LAST] attribute_hidden =
+ { + {
+#define DEFINE_CATEGORY(category, category_name, items, a) \ +#define DEFINE_CATEGORY(category, category_name, items, a) \
+ [category] = offsetof (union catnamestr_t, CATNAMEMF (__LINE__)), + [category] = offsetof (struct catnamestr_t, CATNAMEMF (__LINE__)),
+#include "categories.def" +#include "categories.def"
+#undef DEFINE_CATEGORY +#undef DEFINE_CATEGORY
+ }; + };
@@ -91,10 +89,10 @@ index 0000000000..9fad357db1
+ [LC_ALL] = sizeof ("LC_ALL") - 1 + [LC_ALL] = sizeof ("LC_ALL") - 1
+ }; + };
diff --git a/locale/localeinfo.h b/locale/localeinfo.h diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index 53cb8bfc59..92c466200c 100644 index fdc283c69a..4eeed35f90 100644
--- a/locale/localeinfo.h --- a/locale/localeinfo.h
+++ b/locale/localeinfo.h +++ b/locale/localeinfo.h
@@ -224,7 +224,7 @@ __libc_tsd_define (extern, locale_t, LOCALE) @@ -230,7 +230,7 @@ __libc_tsd_define (extern, locale_t, LOCALE)
unused. We can manage this playing some tricks with weak references. unused. We can manage this playing some tricks with weak references.
But with thread-local locale settings, it becomes quite ungainly unless But with thread-local locale settings, it becomes quite ungainly unless
we can use __thread variables. So only in that case do we attempt this. */ we can use __thread variables. So only in that case do we attempt this. */
@@ -104,7 +102,7 @@ index 53cb8bfc59..92c466200c 100644
# define NL_CURRENT_INDIRECT 1 # define NL_CURRENT_INDIRECT 1
#endif #endif
diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c
index 94c122df68..80e53e12c8 100644 index 1a526a240d..0fb2daf936 100644
--- a/locale/programs/charmap-dir.c --- a/locale/programs/charmap-dir.c
+++ b/locale/programs/charmap-dir.c +++ b/locale/programs/charmap-dir.c
@@ -18,7 +18,9 @@ @@ -18,7 +18,9 @@
@@ -150,7 +148,7 @@ index 94c122df68..80e53e12c8 100644
return NULL; return NULL;
} }
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index 6baab6cfb0..b12a2fceab 100644 index feb1a11258..5a8e522470 100644
--- a/locale/programs/ld-collate.c --- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c +++ b/locale/programs/ld-collate.c
@@ -349,7 +349,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen, @@ -349,7 +349,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen,
@@ -199,7 +197,7 @@ index 6baab6cfb0..b12a2fceab 100644
== runp->wcnext->wcs[runp->nwcs - 1] + 1)); == runp->wcnext->wcs[runp->nwcs - 1] + 1));
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
index cfc9c43fd5..6572cc199c 100644 index 3328093d0e..d58fb0f4b7 100644
--- a/locale/programs/ld-ctype.c --- a/locale/programs/ld-ctype.c
+++ b/locale/programs/ld-ctype.c +++ b/locale/programs/ld-ctype.c
@@ -915,7 +915,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap, @@ -915,7 +915,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap,
@@ -281,7 +279,7 @@ index cfc9c43fd5..6572cc199c 100644
srunp = srunp->next; srunp = srunp->next;
} }
diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c
index 8e9849fdba..028d3efa9f 100644 index f7db873adb..fec3773c9d 100644
--- a/locale/programs/ld-time.c --- a/locale/programs/ld-time.c
+++ b/locale/programs/ld-time.c +++ b/locale/programs/ld-time.c
@@ -220,8 +220,10 @@ No definition for %s category found"), "LC_TIME"); @@ -220,8 +220,10 @@ No definition for %s category found"), "LC_TIME");
@@ -350,7 +348,7 @@ index 8e9849fdba..028d3efa9f 100644
diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
index ed3a9731d0..3178ea057a 100644 index 7ebd933801..5753750756 100644
--- a/locale/programs/linereader.c --- a/locale/programs/linereader.c
+++ b/locale/programs/linereader.c +++ b/locale/programs/linereader.c
@@ -595,7 +595,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap, @@ -595,7 +595,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap,
@@ -363,7 +361,7 @@ index ed3a9731d0..3178ea057a 100644
size_t bufmax = 56; size_t bufmax = 56;
diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c
index b7bcef8248..efeced1e0f 100644 index dbbb0145c0..097a8b6193 100644
--- a/locale/programs/localedef.c --- a/locale/programs/localedef.c
+++ b/locale/programs/localedef.c +++ b/locale/programs/localedef.c
@@ -109,6 +109,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; @@ -109,6 +109,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
@@ -409,7 +407,7 @@ index b7bcef8248..efeced1e0f 100644
force_output = 1; force_output = 1;
break; break;
diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c
index e4ba48e968..e7b0efe887 100644 index eb2f4634da..d387147323 100644
--- a/locale/programs/locfile.c --- a/locale/programs/locfile.c
+++ b/locale/programs/locfile.c +++ b/locale/programs/locfile.c
@@ -544,6 +544,9 @@ compare_files (const char *filename1, const char *filename2, size_t size, @@ -544,6 +544,9 @@ compare_files (const char *filename1, const char *filename2, size_t size,
@@ -432,7 +430,7 @@ index e4ba48e968..e7b0efe887 100644
/* Record that FILE's next element is the 32-bit integer VALUE. */ /* Record that FILE's next element is the 32-bit integer VALUE. */
diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h
index c063fc097d..4e7465e55a 100644 index 7ea10038b4..0888c09762 100644
--- a/locale/programs/locfile.h --- a/locale/programs/locfile.h
+++ b/locale/programs/locfile.h +++ b/locale/programs/locfile.h
@@ -71,6 +71,8 @@ extern void write_all_categories (struct localedef_t *definitions, @@ -71,6 +71,8 @@ extern void write_all_categories (struct localedef_t *definitions,
@@ -521,28 +519,27 @@ index c063fc097d..4e7465e55a 100644
+ +
#endif /* locfile.h */ #endif /* locfile.h */
diff --git a/locale/setlocale.c b/locale/setlocale.c diff --git a/locale/setlocale.c b/locale/setlocale.c
index 9bd35454b9..2a67dc6589 100644 index 030f1727bd..096d8ed895 100644
--- a/locale/setlocale.c --- a/locale/setlocale.c
+++ b/locale/setlocale.c +++ b/locale/setlocale.c
@@ -64,36 +64,6 @@ static char *const _nl_current_used[] = @@ -63,35 +63,6 @@ static char *const _nl_current_used[] =
#endif #endif
-
-/* Define an array of category names (also the environment variable names). */ -/* Define an array of category names (also the environment variable names). */
-const union catnamestr_t _nl_category_names attribute_hidden = -const struct catnamestr_t _nl_category_names attribute_hidden =
- { - {
- {
-#define DEFINE_CATEGORY(category, category_name, items, a) \ -#define DEFINE_CATEGORY(category, category_name, items, a) \
- category_name, - category_name,
-#include "categories.def" -#include "categories.def"
-#undef DEFINE_CATEGORY -#undef DEFINE_CATEGORY
- }
- }; - };
- -
-const uint8_t _nl_category_name_idxs[__LC_LAST] attribute_hidden = -const uint8_t _nl_category_name_idxs[__LC_LAST] attribute_hidden =
- { - {
-#define DEFINE_CATEGORY(category, category_name, items, a) \ -#define DEFINE_CATEGORY(category, category_name, items, a) \
- [category] = offsetof (union catnamestr_t, CATNAMEMF (__LINE__)), - [category] = offsetof (struct catnamestr_t, CATNAMEMF (__LINE__)),
-#include "categories.def" -#include "categories.def"
-#undef DEFINE_CATEGORY -#undef DEFINE_CATEGORY
- }; - };
@@ -561,6 +558,3 @@ index 9bd35454b9..2a67dc6589 100644
#ifdef NL_CURRENT_INDIRECT #ifdef NL_CURRENT_INDIRECT
# define WEAK_POSTLOAD(postload) weak_extern (postload) # define WEAK_POSTLOAD(postload) weak_extern (postload)
#else #else
--
2.22.0
@@ -1,7 +1,7 @@
From afa8d6faeddeb80aca318b33edf49d9f8ce65761 Mon Sep 17 00:00:00 2001 From 5e565710aa061ffffd34d8400910c35a8d50a4ec Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 20 Apr 2016 21:11:00 -0700 Date: Wed, 20 Apr 2016 21:11:00 -0700
Subject: [PATCH 23/28] Define DUMMY_LOCALE_T if not defined Subject: [PATCH] Define DUMMY_LOCALE_T if not defined
This is a hack to fix building the locale bits on an older This is a hack to fix building the locale bits on an older
CentOs 5.X machine CentOs 5.X machine
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 3 insertions(+) 1 file changed, 3 insertions(+)
diff --git a/locale/programs/config.h b/locale/programs/config.h diff --git a/locale/programs/config.h b/locale/programs/config.h
index a1e6e0ec3c..7f75528eae 100644 index d76d9f7e8b..92b56d7df3 100644
--- a/locale/programs/config.h --- a/locale/programs/config.h
+++ b/locale/programs/config.h +++ b/locale/programs/config.h
@@ -19,6 +19,9 @@ @@ -19,6 +19,9 @@
@@ -27,6 +27,3 @@ index a1e6e0ec3c..7f75528eae 100644
/* Use the internal textdomain used for libc messages. */ /* Use the internal textdomain used for libc messages. */
#define PACKAGE _libc_intl_domainname #define PACKAGE _libc_intl_domainname
#ifndef VERSION #ifndef VERSION
--
2.22.0
@@ -1,8 +1,7 @@
From c13e18adb634a6fd59129150ab7f9468f64dc931 Mon Sep 17 00:00:00 2001 From c5b63c8eafc00e01556edd2acff4c541448924cf Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 3 Aug 2018 09:42:06 -0700 Date: Fri, 3 Aug 2018 09:42:06 -0700
Subject: [PATCH 24/28] localedef --add-to-archive uses a hard-coded locale Subject: [PATCH] localedef --add-to-archive uses a hard-coded locale path
path
it doesn't exist in normal use, and there's no way to pass an it doesn't exist in normal use, and there's no way to pass an
alternative filename. alternative filename.
@@ -19,7 +18,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 25 insertions(+), 10 deletions(-) 1 file changed, 25 insertions(+), 10 deletions(-)
diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c
index e6310b18be..f54a76eade 100644 index dccaf04e3b..ae0b7fe155 100644
--- a/locale/programs/locarchive.c --- a/locale/programs/locarchive.c
+++ b/locale/programs/locarchive.c +++ b/locale/programs/locarchive.c
@@ -340,12 +340,24 @@ enlarge_archive (struct locarhandle *ah, const struct locarhead *head) @@ -340,12 +340,24 @@ enlarge_archive (struct locarhandle *ah, const struct locarhead *head)
@@ -79,6 +78,3 @@ index e6310b18be..f54a76eade 100644
{ {
if (readonly) if (readonly)
{ {
--
2.22.0
@@ -1,7 +1,7 @@
From 7c9ebe966bb97dd14de5719905b61311211ae3c8 Mon Sep 17 00:00:00 2001 From d3349ae8d9b17fecf6ef560b845d04d682db291c Mon Sep 17 00:00:00 2001
From: Mark Hatle <mark.hatle@windriver.com> From: Mark Hatle <mark.hatle@windriver.com>
Date: Thu, 18 Aug 2016 14:07:58 -0500 Date: Thu, 18 Aug 2016 14:07:58 -0500
Subject: [PATCH 25/28] elf/dl-deps.c: Make _dl_build_local_scope breadth first Subject: [PATCH] elf/dl-deps.c: Make _dl_build_local_scope breadth first
According to the ELF specification: According to the ELF specification:
@@ -24,7 +24,7 @@ Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
1 file changed, 10 insertions(+), 4 deletions(-) 1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/elf/dl-deps.c b/elf/dl-deps.c diff --git a/elf/dl-deps.c b/elf/dl-deps.c
index e12c353158..9234daac05 100644 index 5103a8a111..54cd80aaff 100644
--- a/elf/dl-deps.c --- a/elf/dl-deps.c
+++ b/elf/dl-deps.c +++ b/elf/dl-deps.c
@@ -73,13 +73,19 @@ _dl_build_local_scope (struct link_map **list, struct link_map *map) @@ -73,13 +73,19 @@ _dl_build_local_scope (struct link_map **list, struct link_map *map)
@@ -51,6 +51,3 @@ index e12c353158..9234daac05 100644
return p - list; return p - list;
} }
--
2.22.0
@@ -1,7 +1,7 @@
From aa5c758fbb7dbb026df33fc6bdc05548547bdb17 Mon Sep 17 00:00:00 2001 From 3650ad7f01509138aa72f235e680c9d4f6c09a7d Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 3 Aug 2018 09:44:00 -0700 Date: Fri, 3 Aug 2018 09:44:00 -0700
Subject: [PATCH 26/28] intl: Emit no lines in bison generated files Subject: [PATCH] intl: Emit no lines in bison generated files
Improve reproducibility: Improve reproducibility:
Do not put any #line preprocessor commands in bison generated files. Do not put any #line preprocessor commands in bison generated files.
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/intl/Makefile b/intl/Makefile diff --git a/intl/Makefile b/intl/Makefile
index 9eea8d57e3..627dce4cf1 100644 index ce3072420f..58457840d9 100644
--- a/intl/Makefile --- a/intl/Makefile
+++ b/intl/Makefile +++ b/intl/Makefile
@@ -155,7 +155,7 @@ $(objpfx)tst-gettext6.out: $(objpfx)tst-gettext.out @@ -155,7 +155,7 @@ $(objpfx)tst-gettext6.out: $(objpfx)tst-gettext.out
@@ -29,6 +29,3 @@ index 9eea8d57e3..627dce4cf1 100644
$(inst_localedir)/locale.alias: locale.alias $(+force) $(inst_localedir)/locale.alias: locale.alias $(+force)
$(do-install) $(do-install)
--
2.22.0
@@ -1,7 +1,7 @@
From fecd98040a2ae1bc5943a40a1623d76a696e0785 Mon Sep 17 00:00:00 2001 From a9be0c7c67e67d870e2c5e0ece4f6ac76e5c0fe2 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com> From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 29 Nov 2018 17:29:35 -0800 Date: Thu, 29 Nov 2018 17:29:35 -0800
Subject: [PATCH 27/28] inject file assembly directives Subject: [PATCH] inject file assembly directives
Currently, non-IA builds are not reproducibile since build paths are Currently, non-IA builds are not reproducibile since build paths are
being injected into the debug symbols. These are coming from the use of being injected into the debug symbols. These are coming from the use of
@@ -48,7 +48,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 files changed, 40 insertions(+) 20 files changed, 40 insertions(+)
diff --git a/csu/abi-note.S b/csu/abi-note.S diff --git a/csu/abi-note.S b/csu/abi-note.S
index fa1f014a88..098731362a 100644 index 2b4b5f8824..964843016c 100644
--- a/csu/abi-note.S --- a/csu/abi-note.S
+++ b/csu/abi-note.S +++ b/csu/abi-note.S
@@ -56,6 +56,8 @@ offset length contents @@ -56,6 +56,8 @@ offset length contents
@@ -61,7 +61,7 @@ index fa1f014a88..098731362a 100644
name begins with `.note' and creates a PT_NOTE program header entry name begins with `.note' and creates a PT_NOTE program header entry
pointing at it. */ pointing at it. */
diff --git a/sysdeps/aarch64/crti.S b/sysdeps/aarch64/crti.S diff --git a/sysdeps/aarch64/crti.S b/sysdeps/aarch64/crti.S
index d4e7dfcf5c..e0218df30c 100644 index 1728eac37a..76a8ab590b 100644
--- a/sysdeps/aarch64/crti.S --- a/sysdeps/aarch64/crti.S
+++ b/sysdeps/aarch64/crti.S +++ b/sysdeps/aarch64/crti.S
@@ -50,6 +50,8 @@ @@ -50,6 +50,8 @@
@@ -74,7 +74,7 @@ index d4e7dfcf5c..e0218df30c 100644
weak_extern (PREINIT_FUNCTION) weak_extern (PREINIT_FUNCTION)
#else #else
diff --git a/sysdeps/aarch64/crtn.S b/sysdeps/aarch64/crtn.S diff --git a/sysdeps/aarch64/crtn.S b/sysdeps/aarch64/crtn.S
index 363f752460..2fb06fba62 100644 index c3e97cc449..fc2e5c2df8 100644
--- a/sysdeps/aarch64/crtn.S --- a/sysdeps/aarch64/crtn.S
+++ b/sysdeps/aarch64/crtn.S +++ b/sysdeps/aarch64/crtn.S
@@ -37,6 +37,8 @@ @@ -37,6 +37,8 @@
@@ -87,7 +87,7 @@ index 363f752460..2fb06fba62 100644
ldp x29, x30, [sp], 16 ldp x29, x30, [sp], 16
RET RET
diff --git a/sysdeps/aarch64/dl-tlsdesc.S b/sysdeps/aarch64/dl-tlsdesc.S diff --git a/sysdeps/aarch64/dl-tlsdesc.S b/sysdeps/aarch64/dl-tlsdesc.S
index 4abe6b82a3..8c44b2ff8a 100644 index 557ad1d505..194a8531da 100644
--- a/sysdeps/aarch64/dl-tlsdesc.S --- a/sysdeps/aarch64/dl-tlsdesc.S
+++ b/sysdeps/aarch64/dl-tlsdesc.S +++ b/sysdeps/aarch64/dl-tlsdesc.S
@@ -22,6 +22,8 @@ @@ -22,6 +22,8 @@
@@ -100,7 +100,7 @@ index 4abe6b82a3..8c44b2ff8a 100644
#define SAVE_Q_REGISTERS \ #define SAVE_Q_REGISTERS \
stp q0, q1, [sp, #-32*NSAVEDQREGPAIRS]!; \ stp q0, q1, [sp, #-32*NSAVEDQREGPAIRS]!; \
diff --git a/sysdeps/aarch64/dl-trampoline.S b/sysdeps/aarch64/dl-trampoline.S diff --git a/sysdeps/aarch64/dl-trampoline.S b/sysdeps/aarch64/dl-trampoline.S
index 19b117e8f9..38c78b5409 100644 index 94e965c096..ba18742f3e 100644
--- a/sysdeps/aarch64/dl-trampoline.S --- a/sysdeps/aarch64/dl-trampoline.S
+++ b/sysdeps/aarch64/dl-trampoline.S +++ b/sysdeps/aarch64/dl-trampoline.S
@@ -21,6 +21,8 @@ @@ -21,6 +21,8 @@
@@ -113,7 +113,7 @@ index 19b117e8f9..38c78b5409 100644
#define ip0l PTR_REG (16) #define ip0l PTR_REG (16)
#define ip1 x17 #define ip1 x17
diff --git a/sysdeps/aarch64/start.S b/sysdeps/aarch64/start.S diff --git a/sysdeps/aarch64/start.S b/sysdeps/aarch64/start.S
index f5e9b9c223..ae3e22a6a5 100644 index d96cf57e2d..07a523978a 100644
--- a/sysdeps/aarch64/start.S --- a/sysdeps/aarch64/start.S
+++ b/sysdeps/aarch64/start.S +++ b/sysdeps/aarch64/start.S
@@ -18,6 +18,8 @@ @@ -18,6 +18,8 @@
@@ -136,7 +136,7 @@ index 07bd4c4619..7213b16f27 100644
alignment in any callee. */ alignment in any callee. */
.eabi_attribute 25, 1 .eabi_attribute 25, 1
diff --git a/sysdeps/arm/crti.S b/sysdeps/arm/crti.S diff --git a/sysdeps/arm/crti.S b/sysdeps/arm/crti.S
index 26dbba66a3..dd84ecd566 100644 index 8169783267..f56e0c85a6 100644
--- a/sysdeps/arm/crti.S --- a/sysdeps/arm/crti.S
+++ b/sysdeps/arm/crti.S +++ b/sysdeps/arm/crti.S
@@ -57,6 +57,8 @@ @@ -57,6 +57,8 @@
@@ -149,7 +149,7 @@ index 26dbba66a3..dd84ecd566 100644
.p2align 2 .p2align 2
.type call_weak_fn, %function .type call_weak_fn, %function
diff --git a/sysdeps/arm/crtn.S b/sysdeps/arm/crtn.S diff --git a/sysdeps/arm/crtn.S b/sysdeps/arm/crtn.S
index 8f91c8d88b..a87fe49e07 100644 index d60f9f05de..1e10ec439f 100644
--- a/sysdeps/arm/crtn.S --- a/sysdeps/arm/crtn.S
+++ b/sysdeps/arm/crtn.S +++ b/sysdeps/arm/crtn.S
@@ -37,6 +37,8 @@ @@ -37,6 +37,8 @@
@@ -162,7 +162,7 @@ index 8f91c8d88b..a87fe49e07 100644
corresponding to the prologues in crti.S. */ corresponding to the prologues in crti.S. */
diff --git a/sysdeps/arm/dl-tlsdesc.S b/sysdeps/arm/dl-tlsdesc.S diff --git a/sysdeps/arm/dl-tlsdesc.S b/sysdeps/arm/dl-tlsdesc.S
index a929340b42..b724c9776d 100644 index 8415e47607..29c2cb8128 100644
--- a/sysdeps/arm/dl-tlsdesc.S --- a/sysdeps/arm/dl-tlsdesc.S
+++ b/sysdeps/arm/dl-tlsdesc.S +++ b/sysdeps/arm/dl-tlsdesc.S
@@ -21,6 +21,8 @@ @@ -21,6 +21,8 @@
@@ -175,7 +175,7 @@ index a929340b42..b724c9776d 100644
@ emit debug information with cfi @ emit debug information with cfi
@ use arm-specific pseudos for unwinding itself @ use arm-specific pseudos for unwinding itself
diff --git a/sysdeps/arm/dl-trampoline.S b/sysdeps/arm/dl-trampoline.S diff --git a/sysdeps/arm/dl-trampoline.S b/sysdeps/arm/dl-trampoline.S
index 325cfcd2ce..4bfdcbce51 100644 index a20baf555e..2dd3bef04e 100644
--- a/sysdeps/arm/dl-trampoline.S --- a/sysdeps/arm/dl-trampoline.S
+++ b/sysdeps/arm/dl-trampoline.S +++ b/sysdeps/arm/dl-trampoline.S
@@ -21,6 +21,8 @@ @@ -21,6 +21,8 @@
@@ -188,7 +188,7 @@ index 325cfcd2ce..4bfdcbce51 100644
.globl _dl_runtime_resolve .globl _dl_runtime_resolve
.type _dl_runtime_resolve, #function .type _dl_runtime_resolve, #function
diff --git a/sysdeps/arm/start.S b/sysdeps/arm/start.S diff --git a/sysdeps/arm/start.S b/sysdeps/arm/start.S
index a05f8a4651..2f4374fcaa 100644 index 2ff56179d2..c118046ec6 100644
--- a/sysdeps/arm/start.S --- a/sysdeps/arm/start.S
+++ b/sysdeps/arm/start.S +++ b/sysdeps/arm/start.S
@@ -57,6 +57,8 @@ @@ -57,6 +57,8 @@
@@ -201,7 +201,7 @@ index a05f8a4651..2f4374fcaa 100644
alignment in any callee. */ alignment in any callee. */
.eabi_attribute 25, 1 .eabi_attribute 25, 1
diff --git a/sysdeps/mips/start.S b/sysdeps/mips/start.S diff --git a/sysdeps/mips/start.S b/sysdeps/mips/start.S
index 8638e5b545..93f6564aec 100644 index fabc8080df..83c6b91d7d 100644
--- a/sysdeps/mips/start.S --- a/sysdeps/mips/start.S
+++ b/sysdeps/mips/start.S +++ b/sysdeps/mips/start.S
@@ -38,6 +38,8 @@ @@ -38,6 +38,8 @@
@@ -214,7 +214,7 @@ index 8638e5b545..93f6564aec 100644
#error ENTRY_POINT needs to be defined for start.S on MIPS/ELF. #error ENTRY_POINT needs to be defined for start.S on MIPS/ELF.
#endif #endif
diff --git a/sysdeps/powerpc/powerpc32/dl-start.S b/sysdeps/powerpc/powerpc32/dl-start.S diff --git a/sysdeps/powerpc/powerpc32/dl-start.S b/sysdeps/powerpc/powerpc32/dl-start.S
index 99a10d643a..e47fc0d245 100644 index c15242d3bc..6ca27715a4 100644
--- a/sysdeps/powerpc/powerpc32/dl-start.S --- a/sysdeps/powerpc/powerpc32/dl-start.S
+++ b/sysdeps/powerpc/powerpc32/dl-start.S +++ b/sysdeps/powerpc/powerpc32/dl-start.S
@@ -18,6 +18,8 @@ @@ -18,6 +18,8 @@
@@ -227,7 +227,7 @@ index 99a10d643a..e47fc0d245 100644
The C function `_dl_start' is the real entry point; The C function `_dl_start' is the real entry point;
its return value is the user program's entry point. */ its return value is the user program's entry point. */
diff --git a/sysdeps/powerpc/powerpc32/start.S b/sysdeps/powerpc/powerpc32/start.S diff --git a/sysdeps/powerpc/powerpc32/start.S b/sysdeps/powerpc/powerpc32/start.S
index 172fb5a56b..ef1471b861 100644 index b7b9a133a2..8df714f81a 100644
--- a/sysdeps/powerpc/powerpc32/start.S --- a/sysdeps/powerpc/powerpc32/start.S
+++ b/sysdeps/powerpc/powerpc32/start.S +++ b/sysdeps/powerpc/powerpc32/start.S
@@ -35,6 +35,8 @@ @@ -35,6 +35,8 @@
@@ -240,7 +240,7 @@ index 172fb5a56b..ef1471b861 100644
before crtbegin.o, the file defining __EH_FRAME_BEGIN__. */ before crtbegin.o, the file defining __EH_FRAME_BEGIN__. */
#undef cfi_startproc #undef cfi_startproc
diff --git a/sysdeps/powerpc/powerpc64/start.S b/sysdeps/powerpc/powerpc64/start.S diff --git a/sysdeps/powerpc/powerpc64/start.S b/sysdeps/powerpc/powerpc64/start.S
index 55fae68ad6..0cb608fe0f 100644 index 94bf771e83..cffb99500a 100644
--- a/sysdeps/powerpc/powerpc64/start.S --- a/sysdeps/powerpc/powerpc64/start.S
+++ b/sysdeps/powerpc/powerpc64/start.S +++ b/sysdeps/powerpc/powerpc64/start.S
@@ -35,6 +35,8 @@ @@ -35,6 +35,8 @@
@@ -253,7 +253,7 @@ index 55fae68ad6..0cb608fe0f 100644
before crtbegin.o, the file defining __EH_FRAME_BEGIN__. */ before crtbegin.o, the file defining __EH_FRAME_BEGIN__. */
#undef cfi_startproc #undef cfi_startproc
diff --git a/sysdeps/unix/sysv/linux/aarch64/__read_tp.S b/sysdeps/unix/sysv/linux/aarch64/__read_tp.S diff --git a/sysdeps/unix/sysv/linux/aarch64/__read_tp.S b/sysdeps/unix/sysv/linux/aarch64/__read_tp.S
index 30a29b9fb0..07892b383f 100644 index 12e1131fe7..767e0d043b 100644
--- a/sysdeps/unix/sysv/linux/aarch64/__read_tp.S --- a/sysdeps/unix/sysv/linux/aarch64/__read_tp.S
+++ b/sysdeps/unix/sysv/linux/aarch64/__read_tp.S +++ b/sysdeps/unix/sysv/linux/aarch64/__read_tp.S
@@ -18,6 +18,8 @@ @@ -18,6 +18,8 @@
@@ -266,7 +266,7 @@ index 30a29b9fb0..07892b383f 100644
ENTRY (__read_tp) ENTRY (__read_tp)
mrs x0, tpidr_el0 mrs x0, tpidr_el0
diff --git a/sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S b/sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S diff --git a/sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S b/sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S
index f64c4ffe8a..2da315ab08 100644 index 3b0d611039..4a7e476c37 100644
--- a/sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S --- a/sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S
+++ b/sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S +++ b/sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S
@@ -39,6 +39,8 @@ @@ -39,6 +39,8 @@
@@ -279,7 +279,7 @@ index f64c4ffe8a..2da315ab08 100644
ENTRY (__aeabi_read_tp) ENTRY (__aeabi_read_tp)
#ifdef ARCH_HAS_HARD_TP #ifdef ARCH_HAS_HARD_TP
diff --git a/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S b/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S diff --git a/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S b/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S
index 0b6237ac55..8cda491c28 100644 index fb5e0c7d97..bd07bdb38b 100644
--- a/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S --- a/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S
+++ b/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S +++ b/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S
@@ -27,6 +27,8 @@ @@ -27,6 +27,8 @@
@@ -299,6 +299,3 @@ index eeb96544e3..da182b28f8 100644
+ .file "dl-brk.S" + .file "dl-brk.S"
+ +
#include <brk.S> #include <brk.S>
--
2.22.0
@@ -1,7 +1,7 @@
From d934788e3221c28c9a1892235cbe4cfd1b28ced0 Mon Sep 17 00:00:00 2001 From eaa1e89df6d760c3719e7060662c60b41ab6e87b Mon Sep 17 00:00:00 2001
From: Martin Jansa <martin.jansa@gmail.com> From: Martin Jansa <martin.jansa@gmail.com>
Date: Mon, 17 Dec 2018 21:36:18 +0000 Date: Mon, 17 Dec 2018 21:36:18 +0000
Subject: [PATCH 28/28] locale: prevent maybe-uninitialized errors with -Os [BZ Subject: [PATCH] locale: prevent maybe-uninitialized errors with -Os [BZ
#19444] #19444]
Fixes following error when building for aarch64 with -Os: Fixes following error when building for aarch64 with -Os:
@@ -33,7 +33,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 7 insertions(+) 1 file changed, 7 insertions(+)
diff --git a/locale/weight.h b/locale/weight.h diff --git a/locale/weight.h b/locale/weight.h
index 7ca81498b2..d608ca70bb 100644 index e071253f85..2889c395f1 100644
--- a/locale/weight.h --- a/locale/weight.h
+++ b/locale/weight.h +++ b/locale/weight.h
@@ -28,7 +28,14 @@ findidx (const int32_t *table, @@ -28,7 +28,14 @@ findidx (const int32_t *table,
@@ -51,6 +51,3 @@ index 7ca81498b2..d608ca70bb 100644
const unsigned char *cp; const unsigned char *cp;
const unsigned char *usrc; const unsigned char *usrc;
--
2.22.0
File diff suppressed because it is too large Load Diff
@@ -1,32 +0,0 @@
From 37c90e117310728a4ad1eb998c0bbe7d79c4a398 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Marcin=20Ko=C5=9Bcielnicki?= <mwk@0x04.net>
Date: Thu, 21 Nov 2019 00:20:15 +0100
Subject: [PATCH] rtld: Check __libc_enable_secure before honoring
LD_PREFER_MAP_32BIT_EXEC (CVE-2019-19126) [BZ #25204]
The problem was introduced in glibc 2.23, in commit
b9eb92ab05204df772eb4929eccd018637c9f3e9
("Add Prefer_MAP_32BIT_EXEC to map executable pages with MAP_32BIT").
(cherry picked from commit d5dfad4326fc683c813df1e37bbf5cf920591c8e)
Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=37c90e117310728a4ad1eb998c0bbe7d79c4a398]
CVE: CVE-2019-19126
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h b/sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
index 975cbe2..df2cdfd 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
+++ b/sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
@@ -31,7 +31,8 @@
environment variable, LD_PREFER_MAP_32BIT_EXEC. */
#define EXTRA_LD_ENVVARS \
case 21: \
- if (memcmp (envline, "PREFER_MAP_32BIT_EXEC", 21) == 0) \
+ if (!__libc_enable_secure \
+ && memcmp (envline, "PREFER_MAP_32BIT_EXEC", 21) == 0) \
GLRO(dl_x86_cpu_features).feature[index_arch_Prefer_MAP_32BIT_EXEC] \
|= bit_arch_Prefer_MAP_32BIT_EXEC; \
break;
--
2.9.3
@@ -5,11 +5,11 @@ DEPENDS += "gperf-native bison-native make-native"
NATIVESDKFIXES ?= "" NATIVESDKFIXES ?= ""
NATIVESDKFIXES_class-nativesdk = "\ NATIVESDKFIXES_class-nativesdk = "\
file://0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch \ file://0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch \
file://0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch \ file://0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch \
file://0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch \ file://0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch \
file://0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch \ file://0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch \
file://0005-nativesdk-glibc-Make-relocatable-install-for-locales.patch \ file://0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch \
" "
SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
@@ -18,30 +18,30 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
file://makedbs.sh \ file://makedbs.sh \
\ \
${NATIVESDKFIXES} \ ${NATIVESDKFIXES} \
file://0006-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch \ file://0008-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch \
file://0007-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch \ file://0009-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch \
file://0008-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch \ file://0010-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch \
file://0009-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch \ file://0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch \
file://0010-Quote-from-bug-1443-which-explains-what-the-patch-do.patch \ file://0012-Quote-from-bug-1443-which-explains-what-the-patch-do.patch \
file://0011-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch \ file://0013-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch \
file://0012-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch \ file://0014-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch \
file://0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch \ file://0015-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch \
file://0014-Add-unused-attribute.patch \ file://0016-Add-unused-attribute.patch \
file://0015-yes-within-the-path-sets-wrong-config-variables.patch \ file://0017-yes-within-the-path-sets-wrong-config-variables.patch \
file://0016-timezone-re-written-tzselect-as-posix-sh.patch \ file://0018-timezone-re-written-tzselect-as-posix-sh.patch \
file://0017-Remove-bash-dependency-for-nscd-init-script.patch \ file://0019-Remove-bash-dependency-for-nscd-init-script.patch \
file://0018-eglibc-Cross-building-and-testing-instructions.patch \ file://0020-eglibc-Cross-building-and-testing-instructions.patch \
file://0019-eglibc-Help-bootstrap-cross-toolchain.patch \ file://0021-eglibc-Help-bootstrap-cross-toolchain.patch \
file://0020-eglibc-Clear-cache-lines-on-ppc8xx.patch \ file://0022-eglibc-Clear-cache-lines-on-ppc8xx.patch \
file://0021-eglibc-Resolve-__fpscr_values-on-SH4.patch \ file://0023-eglibc-Resolve-__fpscr_values-on-SH4.patch \
file://0022-eglibc-Forward-port-cross-locale-generation-support.patch \ file://0024-eglibc-Forward-port-cross-locale-generation-support.patch \
file://0023-Define-DUMMY_LOCALE_T-if-not-defined.patch \ file://0025-Define-DUMMY_LOCALE_T-if-not-defined.patch \
file://0024-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \ file://0026-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \
file://0025-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch \ file://0027-elf-dl-deps.c-Make-_dl_build_local_scope-breadth-fir.patch \
file://0026-intl-Emit-no-lines-in-bison-generated-files.patch \ file://0028-intl-Emit-no-lines-in-bison-generated-files.patch \
file://0027-inject-file-assembly-directives.patch \ file://0029-inject-file-assembly-directives.patch \
file://0028-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch \ file://0030-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch \
file://CVE-2019-19126.patch \ file://0031-Refactor-FORTIFY-in-glibc.patch \
" "
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
B = "${WORKDIR}/build-${TARGET_SYS}" B = "${WORKDIR}/build-${TARGET_SYS}"