[oe-commits] [openembedded-core] 51/59: glibc: Add relocation of GCONV_PATH
git at git.openembedded.org
git at git.openembedded.org
Mon Mar 7 00:13:13 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit dbc630add4fe88fe5cb5fae5aff97b69d47256a9
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sat Mar 5 23:01:38 2016 +0000
glibc: Add relocation of GCONV_PATH
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
...esdk-glibc-Raise-the-size-of-arrays-containing-.patch | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 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 dde94b4..60f9f17 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
@@ -121,6 +121,16 @@ index 70d4aeb..5c726d0 100644
#ifndef add_system_dir
# define add_system_dir(dir) add_dir (dir)
#endif
---
-2.6.4
-
+Index: git/iconv/gconv_conf.c
+===================================================================
+--- git.orig/iconv/gconv_conf.c
++++ git/iconv/gconv_conf.c
+@@ -36,7 +36,7 @@
+
+
+ /* This is the default path where we look for module lists. */
+-static const char default_gconv_path[] = GCONV_PATH;
++static char default_gconv_path[4096] __attribute__ ((section (".gccrelocprefix"))) = GCONV_PATH;
+
+ /* The path elements, as determined by the __gconv_get_path function.
+ All path elements end in a slash. */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list