mirror of
git://git.yoctoproject.org/poky
synced 2026-10-01 06:15:14 +00:00
This fixes [YOCTO #780] Handle the input/output data with different endian-ness correctly Also fix the definition of LD_SO for cross environment And remove the older 2.5 version of ldconfig-native recipe (From OE-Core rev: 694db055f3729662e0e0193a31f2098be599877f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
723 B
Diff
23 lines
723 B
Diff
The native version of ldconfig was using native definition of LD_SO (i.e.
|
|
ld-linux-x86-64.so.2 ) which is not correct for doing the cross ldconfig.
|
|
This was causing libc.so on the target marked as ELF lib rather than
|
|
FLAG_ELF_LIBC6 in the ld.so.cache.
|
|
|
|
Nitin A Kamble <nitin.a.kamble@intel.com> 2011/04/4
|
|
|
|
Index: ldconfig-native-2.12.1/readlib.c
|
|
===================================================================
|
|
--- ldconfig-native-2.12.1.orig/readlib.c
|
|
+++ ldconfig-native-2.12.1/readlib.c
|
|
@@ -51,6 +51,10 @@ struct known_names
|
|
int flag;
|
|
};
|
|
|
|
+/* don't use host's definition of LD_SO */
|
|
+#undef LD_SO
|
|
+#define LD_SO "ld.so.1"
|
|
+
|
|
static struct known_names interpreters[] =
|
|
{
|
|
{ "/lib/" LD_SO, FLAG_ELF_LIBC6 },
|