From: Eric Christopher Date: Thu, 19 Jan 2006 01:06:48 +0000 (+0000) Subject: 2006-01-18 Roger Sayle X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0dacb9e1e3050f8192bf11e5e43c33143b967e8e;p=binutils-gdb.git 2006-01-18 Roger Sayle * emultempl/irix.em: Use lbasename instead of basename. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index c93310da735..f464894ce19 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2006-01-18 Roger Sayle + + * emultempl/irix.em: Use lbasename instead of basename. + 2006-01-16 Nick Clifton * po/zh_CN.po: New Chinese (simplified) translation. diff --git a/ld/emultempl/irix.em b/ld/emultempl/irix.em index 5cfda3c20d2..5dfc2a44c5a 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 (); }