+2010-08-18 Roland McGrath <roland@redhat.com>
+
+ * link_map.c (report_r_debug): Use found name if we have no name,
+ even if we already have an Elf handle.
+
2010-06-30 Roland McGrath <roland@redhat.com>
* linux-kernel-modules.c (dwfl_linux_kernel_find_elf): Don't be
the full file name from l_name. Opening the file by this
name will be the fallback when no build ID match is found.
XXX hook for sysroot */
- if (name != NULL
- && mod->main.elf == NULL
- && mod->main.name == NULL)
+ if (name != NULL && mod->main.name == NULL)
mod->main.name = strdup (name);
}
else if (name != NULL)