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.
This commit is contained in:
H.J. Lu 2001-05-18 01:20:02 +00:00
parent 736d0890a9
commit 96fd004e0e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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);