mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 11:41:07 +00:00
elf: Fix direction of NODELETE log messages during symbol lookup
NODELETE status is propagated from the referencing object to the referenced object, not the other way round. The code is correct, only the log message has the wrong direction. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
7519dee356
commit
a9f9ee2381
@ -646,11 +646,11 @@ add_dependency (struct link_map *undef_map, struct link_map *map, int flags)
|
||||
{
|
||||
if (undef_map->l_name[0] == '\0')
|
||||
_dl_debug_printf ("\
|
||||
marking %s [%lu] as NODELETE due to reference to main program\n",
|
||||
marking %s [%lu] as NODELETE due to reference from main program\n",
|
||||
map->l_name, map->l_ns);
|
||||
else
|
||||
_dl_debug_printf ("\
|
||||
marking %s [%lu] as NODELETE due to reference to %s [%lu]\n",
|
||||
marking %s [%lu] as NODELETE due to reference from %s [%lu]\n",
|
||||
map->l_name, map->l_ns,
|
||||
undef_map->l_name, undef_map->l_ns);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user