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 | 26 |
1 files changed, 15 insertions, 11 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 e082540303..fd909f644a 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,8 @@ | |||
1 | From 055dd46b793168fb08e44913153010b088011ba2 Mon Sep 17 00:00:00 2001 | 1 | From 92df5673de18779b612609afa4f687e33e5ecb6e 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] nativesdk-glibc: Raise the size of arrays containing dl paths | 4 | Subject: [PATCH 03/30] nativesdk-glibc: Raise the size of arrays containing dl |
5 | paths | ||
5 | 6 | ||
6 | 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 |
7 | and lengths as well as ld.so.cache path in the dynamic loader to specific | 8 | and lengths as well as ld.so.cache path in the dynamic loader to specific |
@@ -25,7 +26,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
25 | 7 files changed, 14 insertions(+), 10 deletions(-) | 26 | 7 files changed, 14 insertions(+), 10 deletions(-) |
26 | 27 | ||
27 | diff --git a/elf/dl-cache.c b/elf/dl-cache.c | 28 | diff --git a/elf/dl-cache.c b/elf/dl-cache.c |
28 | index 6ee5153ff9..37a5f701fa 100644 | 29 | index d8d1e2344e..d2247bfc4f 100644 |
29 | --- a/elf/dl-cache.c | 30 | --- a/elf/dl-cache.c |
30 | +++ b/elf/dl-cache.c | 31 | +++ b/elf/dl-cache.c |
31 | @@ -133,6 +133,10 @@ do \ | 32 | @@ -133,6 +133,10 @@ do \ |
@@ -40,7 +41,7 @@ index 6ee5153ff9..37a5f701fa 100644 | |||
40 | _dl_cache_libcmp (const char *p1, const char *p2) | 41 | _dl_cache_libcmp (const char *p1, const char *p2) |
41 | { | 42 | { |
42 | 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 |
43 | index 74e2e5e962..8f19186e1c 100644 | 44 | index 2bd9bc27f2..4170cc1a09 100644 |
44 | --- a/elf/dl-load.c | 45 | --- a/elf/dl-load.c |
45 | +++ b/elf/dl-load.c | 46 | +++ b/elf/dl-load.c |
46 | @@ -110,8 +110,8 @@ static size_t max_capstrlen attribute_relro; | 47 | @@ -110,8 +110,8 @@ static size_t max_capstrlen attribute_relro; |
@@ -55,7 +56,7 @@ index 74e2e5e962..8f19186e1c 100644 | |||
55 | SYSTEM_DIRS_LEN | 56 | SYSTEM_DIRS_LEN |
56 | }; | 57 | }; |
57 | diff --git a/elf/interp.c b/elf/interp.c | 58 | diff --git a/elf/interp.c b/elf/interp.c |
58 | index 9cd50c7291..fc2f39d73c 100644 | 59 | index 243829f5f7..0e74241703 100644 |
59 | --- a/elf/interp.c | 60 | --- a/elf/interp.c |
60 | +++ b/elf/interp.c | 61 | +++ b/elf/interp.c |
61 | @@ -18,5 +18,5 @@ | 62 | @@ -18,5 +18,5 @@ |
@@ -66,7 +67,7 @@ index 9cd50c7291..fc2f39d73c 100644 | |||
66 | +const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp"))) | 67 | +const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp"))) |
67 | = RUNTIME_LINKER; | 68 | = RUNTIME_LINKER; |
68 | diff --git a/elf/ldconfig.c b/elf/ldconfig.c | 69 | diff --git a/elf/ldconfig.c b/elf/ldconfig.c |
69 | index fbdd814edf..9f4d8d69b1 100644 | 70 | index 206cd51df6..2fd4fb54ae 100644 |
70 | --- a/elf/ldconfig.c | 71 | --- a/elf/ldconfig.c |
71 | +++ b/elf/ldconfig.c | 72 | +++ b/elf/ldconfig.c |
72 | @@ -168,6 +168,9 @@ static struct argp argp = | 73 | @@ -168,6 +168,9 @@ static struct argp argp = |
@@ -80,7 +81,7 @@ index fbdd814edf..9f4d8d69b1 100644 | |||
80 | a platform. */ | 81 | a platform. */ |
81 | static int | 82 | static int |
82 | diff --git a/elf/rtld.c b/elf/rtld.c | 83 | diff --git a/elf/rtld.c b/elf/rtld.c |
83 | index 1b0c74739f..a70a62d31e 100644 | 84 | index 5d97f41b7b..26c5fef929 100644 |
84 | --- a/elf/rtld.c | 85 | --- a/elf/rtld.c |
85 | +++ b/elf/rtld.c | 86 | +++ b/elf/rtld.c |
86 | @@ -130,6 +130,7 @@ dso_name_valid_for_suid (const char *p) | 87 | @@ -130,6 +130,7 @@ dso_name_valid_for_suid (const char *p) |
@@ -107,7 +108,7 @@ index 1b0c74739f..a70a62d31e 100644 | |||
107 | ++_dl_skip_args; | 108 | ++_dl_skip_args; |
108 | --_dl_argc; | 109 | --_dl_argc; |
109 | diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c | 110 | diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c |
110 | index f173cde71b..5c3205026f 100644 | 111 | index ae8937cba0..f321ee419e 100644 |
111 | --- a/iconv/gconv_conf.c | 112 | --- a/iconv/gconv_conf.c |
112 | +++ b/iconv/gconv_conf.c | 113 | +++ b/iconv/gconv_conf.c |
113 | @@ -36,7 +36,7 @@ | 114 | @@ -36,7 +36,7 @@ |
@@ -117,10 +118,10 @@ index f173cde71b..5c3205026f 100644 | |||
117 | -static const char default_gconv_path[] = GCONV_PATH; | 118 | -static const char default_gconv_path[] = GCONV_PATH; |
118 | +static char default_gconv_path[4096] __attribute__ ((section (".gccrelocprefix"))) = GCONV_PATH; | 119 | +static char default_gconv_path[4096] __attribute__ ((section (".gccrelocprefix"))) = GCONV_PATH; |
119 | 120 | ||
120 | /* The path elements, as determined by the __gconv_get_path function. | 121 | /* Type to represent search path. */ |
121 | All path elements end in a slash. */ | 122 | struct path_elem |
122 | diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h | 123 | diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h |
123 | index cf43f1cf3b..7f07adde53 100644 | 124 | index bc8b40331d..b0fdd2144b 100644 |
124 | --- a/sysdeps/generic/dl-cache.h | 125 | --- a/sysdeps/generic/dl-cache.h |
125 | +++ b/sysdeps/generic/dl-cache.h | 126 | +++ b/sysdeps/generic/dl-cache.h |
126 | @@ -27,10 +27,6 @@ | 127 | @@ -27,10 +27,6 @@ |
@@ -134,3 +135,6 @@ index cf43f1cf3b..7f07adde53 100644 | |||
134 | #ifndef add_system_dir | 135 | #ifndef add_system_dir |
135 | # define add_system_dir(dir) add_dir (dir) | 136 | # define add_system_dir(dir) add_dir (dir) |
136 | #endif | 137 | #endif |
138 | -- | ||
139 | 2.20.1 | ||
140 | |||