projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfa9d6d
)
* emultempl/spuelf.em (base_name): Correct backslash quoting.
author
Alan Modra
<amodra@gmail.com>
Mon, 2 Jul 2007 23:11:40 +0000
(23:11 +0000)
committer
Alan Modra
<amodra@gmail.com>
Mon, 2 Jul 2007 23:11:40 +0000
(23:11 +0000)
ld/ChangeLog
patch
|
blob
|
history
ld/emultempl/spuelf.em
patch
|
blob
|
history
diff --git
a/ld/ChangeLog
b/ld/ChangeLog
index 479634b206a172ddece5fda7d371341f786e3586..25bfcd45680f0297db47d93281787a6a2da59e2c 100644
(file)
--- a/
ld/ChangeLog
+++ b/
ld/ChangeLog
@@
-1,3
+1,7
@@
+2007-07-03 Matthias Klose <doko@ubuntu.com>
+
+ * emultempl/spuelf.em (base_name): Correct backslash quoting.
+
2007-07-02 Alan Modra <amodra@bigpond.net.au>
* Makefile.in: Regenerate.
diff --git
a/ld/emultempl/spuelf.em
b/ld/emultempl/spuelf.em
index 252b90f10461324e92b788fbf05a1ae45c920c8c..05adeb8582c6bac95dba4da51e9f566a5162e4ef 100644
(file)
--- a/
ld/emultempl/spuelf.em
+++ b/
ld/emultempl/spuelf.em
@@
-270,7
+270,7
@@
base_name (const char *path)
const char *file = strrchr (path, '/');
#ifdef HAVE_DOS_BASED_FILE_SYSTEM
{
- char *bslash = strrchr (path, '\\');
+ char *bslash = strrchr (path, '\\
\\
');
if (file == NULL || (bslash != NULL && bslash > file))
file = bslash;