aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/irix.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/irix.em')
-rw-r--r--ld/emultempl/irix.em5
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/emultempl/irix.em b/ld/emultempl/irix.em
index b4a8f4e..c3ef416 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, 2006, 2007 Free Software Foundation, Inc.
+# Copyright 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
@@ -33,7 +33,8 @@ static void
irix_after_open (void)
{
if (link_info.shared && command_line.soname == 0)
- command_line.soname = (char *) lbasename (bfd_get_filename (output_bfd));
+ command_line.soname
+ = (char *) lbasename (bfd_get_filename (link_info.output_bfd));
gld${EMULATION_NAME}_after_open ();
}