aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/irix.em
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2006-01-19 01:06:48 +0000
committerEric Christopher <echristo@gmail.com>2006-01-19 01:06:48 +0000
commit0dacb9e1e3050f8192bf11e5e43c33143b967e8e (patch)
tree865f2a4eba6f192f198ff21a022c6512cb6e20de /ld/emultempl/irix.em
parent3fca68fa585ffff9af6d237cdbe628b5c79f600c (diff)
downloadfsf-binutils-gdb-0dacb9e1e3050f8192bf11e5e43c33143b967e8e.zip
fsf-binutils-gdb-0dacb9e1e3050f8192bf11e5e43c33143b967e8e.tar.gz
fsf-binutils-gdb-0dacb9e1e3050f8192bf11e5e43c33143b967e8e.tar.bz2
2006-01-18 Roger Sayle <roger@eyesopen.com>
* emultempl/irix.em: Use lbasename instead of basename.
Diffstat (limited to 'ld/emultempl/irix.em')
-rw-r--r--ld/emultempl/irix.em4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/irix.em b/ld/emultempl/irix.em
index 5cfda3c..5dfc2a4 100644
--- a/ld/emultempl/irix.em
+++ b/ld/emultempl/irix.em
@@ -1,5 +1,5 @@
# This shell script emits a C file. -*- C -*-
-# Copyright 2004 Free Software Foundation, Inc.
+# Copyright 2004, 2006 Free Software Foundation, Inc.
#
# This file is part of GLD, the Gnu Linker.
#
@@ -32,7 +32,7 @@ static void
irix_after_open (void)
{
if (link_info.shared && command_line.soname == 0)
- command_line.soname = basename (bfd_get_filename (output_bfd));
+ command_line.soname = (char *) lbasename (bfd_get_filename (output_bfd));
gld${EMULATION_NAME}_after_open ();
}