diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-05-18 01:20:02 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-05-18 01:20:02 +0000 |
commit | 96fd004e0e5d1b9981bdf2207a4adf7b4f21e038 (patch) | |
tree | f1a209a7aaafc8243562ddb6170d17d8bc13825b | |
parent | 736d0890a9cee610492c37b707eca3f41301a16e (diff) | |
download | gdb-96fd004e0e5d1b9981bdf2207a4adf7b4f21e038.zip gdb-96fd004e0e5d1b9981bdf2207a4adf7b4f21e038.tar.gz gdb-96fd004e0e5d1b9981bdf2207a4adf7b4f21e038.tar.bz2 |
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.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elflink.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 575003d..3cccafc 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 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. diff --git a/bfd/elflink.h b/bfd/elflink.h index 329c522..b2f04fa 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); |