summaryrefslogtreecommitdiffstats
path: root/libdwfl/link_map.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2010-08-18 02:54:29 -0700
committerRoland McGrath <[email protected]>2010-08-18 02:54:29 -0700
commit7503c89a9539c46c910e6e737c2a98d3b7c177ac (patch)
tree20baf388a7c9a3cb6541b074cfa36c3f67ec0525 /libdwfl/link_map.c
parent10eb76b853872a4f69e7163ded917d47ee914854 (diff)
Don't suppress full file names found in core-file link_map.
Diffstat (limited to 'libdwfl/link_map.c')
-rw-r--r--libdwfl/link_map.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libdwfl/link_map.c b/libdwfl/link_map.c
index 403b2df6..8ec06269 100644
--- a/libdwfl/link_map.c
+++ b/libdwfl/link_map.c
@@ -398,9 +398,7 @@ report_r_debug (uint_fast8_t elfclass, uint_fast8_t elfdata,
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)