aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-05-18 01:20:02 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-05-18 01:20:02 +0000
commit96fd004e0e5d1b9981bdf2207a4adf7b4f21e038 (patch)
treef1a209a7aaafc8243562ddb6170d17d8bc13825b /bfd/elflink.h
parent736d0890a9cee610492c37b707eca3f41301a16e (diff)
downloadgdb-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.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h2
1 files changed, 1 insertions, 1 deletions
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);