PATCH: Fix build failure with GCC-4.2
Alan Modra
amodra@bigpond.net.au
Tue Jul 3 00:42:00 GMT 2007
On Mon, Jul 02, 2007 at 06:04:26PM +0200, Matthias Klose wrote:
> --- ./ld/emultempl/spuelf.em~ 2007-07-02 17:56:40.000000000 +0200
> +++ ./ld/emultempl/spuelf.em 2007-07-02 17:57:41.000000000 +0200
> @@ -270,7 +270,7 @@
> 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;
Thanks! Applied.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list