summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/ld/emultempl
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-07-20 03:48:47 +0000
committerobrien <obrien@FreeBSD.org>2001-07-20 03:48:47 +0000
commit21be0634f643204d813df08940797be394adfcf6 (patch)
treea7107c576a72a1f1eec87b0ac59f2341e96d30ce /contrib/binutils/ld/emultempl
parent3f556974ada631d5234f6cb957cc0d961b9a5917 (diff)
downloadFreeBSD-src-21be0634f643204d813df08940797be394adfcf6.zip
FreeBSD-src-21be0634f643204d813df08940797be394adfcf6.tar.gz
This merges in the changes from the 2.11.2 release to the FSF anoncvs
19-July-2001 snapshot.
Diffstat (limited to 'contrib/binutils/ld/emultempl')
-rw-r--r--contrib/binutils/ld/emultempl/elf32.em6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/binutils/ld/emultempl/elf32.em b/contrib/binutils/ld/emultempl/elf32.em
index da7c435..0044a95 100644
--- a/contrib/binutils/ld/emultempl/elf32.em
+++ b/contrib/binutils/ld/emultempl/elf32.em
@@ -145,7 +145,7 @@ gld${EMULATION_NAME}_vercheck (s)
soname = bfd_elf_get_dt_soname (s->the_bfd);
if (soname == NULL)
- soname = basename (bfd_get_filename (s->the_bfd));
+ soname = lbasename (bfd_get_filename (s->the_bfd));
for (l = global_vercheck_needed; l != NULL; l = l->next)
{
@@ -227,7 +227,7 @@ gld${EMULATION_NAME}_stat_needed (s)
soname = bfd_elf_get_dt_soname (s->the_bfd);
if (soname == NULL)
- soname = basename (s->filename);
+ soname = lbasename (s->filename);
if (strncmp (soname, global_needed->name,
suffix - global_needed->name) == 0)
@@ -332,7 +332,7 @@ cat >>e${EMULATION_NAME}.c <<EOF
einfo ("%F%P:%B: bfd_stat failed: %E\n", abfd);
/* First strip off everything before the last '/'. */
- soname = basename (abfd->filename);
+ soname = lbasename (abfd->filename);
if (trace_file_tries)
info_msg (_("found %s at %s\n"), soname, name);
OpenPOWER on IntegriCloud