diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-02-04 21:41:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-05 12:00:54 +0000 |
commit | 7b8df042d0c175388d6230f008b1c83d5c5cd5da (patch) | |
tree | effa543d93952e198887369a11b9667d94599349 /meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch | |
parent | 77d9b5f02aec991540926fe144076e122c17f64d (diff) | |
download | poky-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>
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch | 22 |
1 files changed, 9 insertions, 13 deletions
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 @@ | |||
1 | From de4322ef6d4dc9fc3ee9b69af1c10edbc64a66a3 Mon Sep 17 00:00:00 2001 | 1 | From 32a4b8ae046fe4bb1b19f61378d079d44deaede7 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 01:48:24 +0000 | 3 | Date: Wed, 18 Mar 2015 01:48:24 +0000 |
4 | Subject: [PATCH 03/29] nativesdk-glibc: Look for host system ld.so.cache as | 4 | Subject: [PATCH] nativesdk-glibc: Look for host system ld.so.cache as well |
5 | well | ||
6 | 5 | ||
7 | Upstream-Status: Inappropriate [embedded specific] | 6 | Upstream-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 | ||
33 | diff --git a/elf/dl-load.c b/elf/dl-load.c | 32 | diff --git a/elf/dl-load.c b/elf/dl-load.c |
34 | index e39980fb19..565b039b23 100644 | 33 | index 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 | -- | ||
68 | 2.27.0 | ||
69 | |||