diff options
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch index fd909f644a..48f5a78716 100644 --- a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch +++ b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 92df5673de18779b612609afa4f687e33e5ecb6e Mon Sep 17 00:00:00 2001 | 1 | From 3aceb84e2bc0f796204fe059beede91179b1bc6e 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:51:38 +0000 | 3 | Date: Wed, 18 Mar 2015 01:51:38 +0000 |
4 | Subject: [PATCH 03/30] nativesdk-glibc: Raise the size of arrays containing dl | 4 | Subject: [PATCH 03/28] nativesdk-glibc: Raise the size of arrays containing dl |
5 | paths | 5 | paths |
6 | 6 | ||
7 | This patch puts the dynamic loader path in the binaries, SYSTEM_DIRS strings | 7 | This patch puts the dynamic loader path in the binaries, SYSTEM_DIRS strings |
@@ -41,7 +41,7 @@ index d8d1e2344e..d2247bfc4f 100644 | |||
41 | _dl_cache_libcmp (const char *p1, const char *p2) | 41 | _dl_cache_libcmp (const char *p1, const char *p2) |
42 | { | 42 | { |
43 | diff --git a/elf/dl-load.c b/elf/dl-load.c | 43 | diff --git a/elf/dl-load.c b/elf/dl-load.c |
44 | index 2bd9bc27f2..4170cc1a09 100644 | 44 | index c7a0fa58cb..4b87505d45 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 | @@ -110,8 +110,8 @@ static size_t max_capstrlen attribute_relro; | 47 | @@ -110,8 +110,8 @@ static size_t max_capstrlen attribute_relro; |
@@ -67,7 +67,7 @@ index 243829f5f7..0e74241703 100644 | |||
67 | +const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp"))) | 67 | +const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp"))) |
68 | = RUNTIME_LINKER; | 68 | = RUNTIME_LINKER; |
69 | diff --git a/elf/ldconfig.c b/elf/ldconfig.c | 69 | diff --git a/elf/ldconfig.c b/elf/ldconfig.c |
70 | index 206cd51df6..2fd4fb54ae 100644 | 70 | index 3bc9e61891..6a23096435 100644 |
71 | --- a/elf/ldconfig.c | 71 | --- a/elf/ldconfig.c |
72 | +++ b/elf/ldconfig.c | 72 | +++ b/elf/ldconfig.c |
73 | @@ -168,6 +168,9 @@ static struct argp argp = | 73 | @@ -168,6 +168,9 @@ static struct argp argp = |
@@ -81,10 +81,10 @@ index 206cd51df6..2fd4fb54ae 100644 | |||
81 | a platform. */ | 81 | a platform. */ |
82 | static int | 82 | static int |
83 | diff --git a/elf/rtld.c b/elf/rtld.c | 83 | diff --git a/elf/rtld.c b/elf/rtld.c |
84 | index 5d97f41b7b..26c5fef929 100644 | 84 | index c9490ff694..3962373ebb 100644 |
85 | --- a/elf/rtld.c | 85 | --- a/elf/rtld.c |
86 | +++ b/elf/rtld.c | 86 | +++ b/elf/rtld.c |
87 | @@ -130,6 +130,7 @@ dso_name_valid_for_suid (const char *p) | 87 | @@ -173,6 +173,7 @@ dso_name_valid_for_suid (const char *p) |
88 | } | 88 | } |
89 | return *p != '\0'; | 89 | return *p != '\0'; |
90 | } | 90 | } |
@@ -92,7 +92,7 @@ index 5d97f41b7b..26c5fef929 100644 | |||
92 | 92 | ||
93 | /* LD_AUDIT variable contents. Must be processed before the | 93 | /* LD_AUDIT variable contents. Must be processed before the |
94 | audit_list below. */ | 94 | audit_list below. */ |
95 | @@ -1001,12 +1002,12 @@ of this helper program; chances are you did not intend to run this program.\n\ | 95 | @@ -1220,13 +1221,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\ | 96 | --list list all dependencies and how they are resolved\n\ |
97 | --verify verify that given object really is a dynamically linked\n\ | 97 | --verify verify that given object really is a dynamically linked\n\ |
98 | object we can handle\n\ | 98 | object we can handle\n\ |
@@ -102,8 +102,9 @@ index 5d97f41b7b..26c5fef929 100644 | |||
102 | variable LD_LIBRARY_PATH\n\ | 102 | variable LD_LIBRARY_PATH\n\ |
103 | --inhibit-rpath LIST ignore RUNPATH and RPATH information in object names\n\ | 103 | --inhibit-rpath LIST ignore RUNPATH and RPATH information in object names\n\ |
104 | in LIST\n\ | 104 | in LIST\n\ |
105 | - --audit LIST use objects named in LIST as auditors\n"); | 105 | --audit LIST use objects named in LIST as auditors\n\ |
106 | + --audit LIST use objects named in LIST as auditors\n", LD_SO_CACHE); | 106 | - --preload LIST preload objects named in LIST\n"); |
107 | + --preload LIST preload objects named in LIST\n", LD_SO_CACHE); | ||
107 | 108 | ||
108 | ++_dl_skip_args; | 109 | ++_dl_skip_args; |
109 | --_dl_argc; | 110 | --_dl_argc; |
@@ -136,5 +137,5 @@ index bc8b40331d..b0fdd2144b 100644 | |||
136 | # define add_system_dir(dir) add_dir (dir) | 137 | # define add_system_dir(dir) add_dir (dir) |
137 | #endif | 138 | #endif |
138 | -- | 139 | -- |
139 | 2.20.1 | 140 | 2.22.0 |
140 | 141 | ||