From: H.J. Lu Date: Fri, 18 May 2001 01:20:02 +0000 (+0000) Subject: 2001-05-17 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96fd004e0e5d1b9981bdf2207a4adf7b4f21e038;p=binutils-gdb.git 2001-05-17 H.J. Lu * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the version definition to basename of the output filename. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 575003d1f14..3cccafc3294 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-05-17 H.J. Lu + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the + version definition to basename of the output filename. + 2001-05-17 H.J. Lu * elflink.h (elf_link_add_object_symbols): Set DT_NEEDED to diff --git a/bfd/elflink.h b/bfd/elflink.h index 329c5224674..b2f04fa990f 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -3130,7 +3130,7 @@ NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath, 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);