summaryrefslogtreecommitdiff
path: root/elf/readelflib.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/readelflib.c')
-rw-r--r--elf/readelflib.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/elf/readelflib.c b/elf/readelflib.c
index ea92d89b20..b8f677a7b0 100644
--- a/elf/readelflib.c
+++ b/elf/readelflib.c
@@ -231,11 +231,5 @@ process_elf_file (const char *file_name, const char *lib, int *flag,
}
}
- /* We reach this point only if the file doesn't contain a DT_SONAME
- or if we can't classify the library. If it doesn't have a
- soname, return the name of the library. */
- if (*soname == NULL)
- *soname = xstrdup (lib);
-
return 0;
}