mirror of https://gitee.com/openkylin/glibc.git
local-soname-hack.diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Date: Fri, 11 Nov 2022 23:32:07 +0800 Subject: local-soname-hack
This commit is contained in:
parent
ff74cc6b2f
commit
cf1cb81f80
|
@ -1979,10 +1979,13 @@ _dl_map_object (struct link_map *loader, const char *name,
|
|||
soname = ((const char *) D_PTR (l, l_info[DT_STRTAB])
|
||||
+ l->l_info[DT_SONAME]->d_un.d_val);
|
||||
if (strcmp (name, soname) != 0)
|
||||
#ifdef __arm__
|
||||
if (strcmp(name, "ld-linux.so.3") || strcmp(soname, "ld-linux-armhf.so.3"))
|
||||
#endif
|
||||
continue;
|
||||
|
||||
/* We have a match on a new name -- cache it. */
|
||||
add_name_to_object (l, soname);
|
||||
add_name_to_object (l, name);
|
||||
l->l_soname_added = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue