aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/spuelf.em
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-07-02 23:11:40 +0000
committerAlan Modra <amodra@gmail.com>2007-07-02 23:11:40 +0000
commit0fd1c9f1145d0f9eeb839976eb4f82bdc34b8b14 (patch)
tree0ac37c873938de7b2cb4da825580323bd8615d25 /ld/emultempl/spuelf.em
parentcfa9d6d99135b1d59ecf0756247305cc24869549 (diff)
downloadgdb-0fd1c9f1145d0f9eeb839976eb4f82bdc34b8b14.zip
gdb-0fd1c9f1145d0f9eeb839976eb4f82bdc34b8b14.tar.gz
gdb-0fd1c9f1145d0f9eeb839976eb4f82bdc34b8b14.tar.bz2
* emultempl/spuelf.em (base_name): Correct backslash quoting.
Diffstat (limited to 'ld/emultempl/spuelf.em')
-rw-r--r--ld/emultempl/spuelf.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/spuelf.em b/ld/emultempl/spuelf.em
index 252b90f..05adeb8 100644
--- 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;