]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2006-01-18 Roger Sayle <roger@eyesopen.com>
authorEric Christopher <echristo@gmail.com>
Thu, 19 Jan 2006 01:06:48 +0000 (01:06 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 19 Jan 2006 01:06:48 +0000 (01:06 +0000)
* emultempl/irix.em: Use lbasename instead of basename.

ld/ChangeLog
ld/emultempl/irix.em

index c93310da735f78dbfd1a58f4569530c2909541d7..f464894ce194e4684f8b297276feba2e1cbf843d 100644 (file)
@@ -1,3 +1,7 @@
+2006-01-18  Roger Sayle  <roger@eyesopen.com>
+
+       * emultempl/irix.em: Use lbasename instead of basename.
+
 2006-01-16  Nick Clifton  <nickc@redhat.com>
 
        * po/zh_CN.po: New Chinese (simplified) translation.
index 5cfda3c20d2c058ae9626a9d604092800603f97f..5dfc2a44c5a4e3ad11329e2ac1cb7c2d600f1ebc 100644 (file)
@@ -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 ();
 }