1*eb8dc403SDave CobbleyUpstream-Status: Inappropriate [embedded specific]
2*eb8dc403SDave Cobbley
3*eb8dc403SDave CobbleyThe native version of ldconfig was using native definition of LD_SO (i.e.
4*eb8dc403SDave Cobbleyld-linux-x86-64.so.2 ) which is not correct for doing the cross ldconfig.
5*eb8dc403SDave CobbleyThis was causing libc.so on the target marked as ELF lib rather than
6*eb8dc403SDave CobbleyFLAG_ELF_LIBC6 in the ld.so.cache.
7*eb8dc403SDave Cobbley
8*eb8dc403SDave CobbleyNitin A Kamble <nitin.a.kamble@intel.com> 2011/04/4
9*eb8dc403SDave Cobbley
10*eb8dc403SDave CobbleyIndex: ldconfig-native-2.12.1/readlib.c
11*eb8dc403SDave Cobbley===================================================================
12*eb8dc403SDave Cobbley--- ldconfig-native-2.12.1.orig/readlib.c
13*eb8dc403SDave Cobbley+++ ldconfig-native-2.12.1/readlib.c
14*eb8dc403SDave Cobbley@@ -51,6 +51,10 @@ struct known_names
15*eb8dc403SDave Cobbley   int flag;
16*eb8dc403SDave Cobbley };
17*eb8dc403SDave Cobbley
18*eb8dc403SDave Cobbley+/* don't use host's definition of LD_SO */
19*eb8dc403SDave Cobbley+#undef LD_SO
20*eb8dc403SDave Cobbley+#define LD_SO "ld.so.1"
21*eb8dc403SDave Cobbley+
22*eb8dc403SDave Cobbley static struct known_names interpreters[] =
23*eb8dc403SDave Cobbley {
24*eb8dc403SDave Cobbley   { "/lib/" LD_SO, FLAG_ELF_LIBC6 },
25