* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the
version definition to basename of the output filename.
2001-05-17 H.J. Lu <hjl@gnu.org>
+ * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the
+ version definition to basename of the output filename.
+
+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.
const char *name;
bfd_size_type indx;
- name = output_bfd->filename;
+ name = basename (output_bfd->filename);
def.vd_hash = bfd_elf_hash (name);
indx = _bfd_stringtab_add (elf_hash_table (info)->dynstr,
name, true, false);