2001-05-17 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_add_object_symbols): Set DT_NEEDED to basename of the bfd filename.
This commit is contained in:
parent
a577b05c32
commit
f3876d8bc6
|
@ -1,3 +1,8 @@
|
|||
2001-05-17 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* elflink.h (elf_link_add_object_symbols): Set DT_NEEDED to
|
||||
basename of the bfd filename.
|
||||
|
||||
2001-05-16 Alan Modra <amodra@one.net.au>
|
||||
|
||||
* section.c (asection): Add linker_has_input field.
|
||||
|
|
|
@ -1095,7 +1095,7 @@ elf_link_add_object_symbols (abfd, info)
|
|||
elf_dt_name, we don't make a DT_NEEDED entry at all, even if
|
||||
there is a DT_SONAME entry. */
|
||||
add_needed = true;
|
||||
name = bfd_get_filename (abfd);
|
||||
name = basename (bfd_get_filename (abfd));
|
||||
if (elf_dt_name (abfd) != NULL)
|
||||
{
|
||||
name = elf_dt_name (abfd);
|
||||
|
|
Loading…
Reference in New Issue