[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080521053012.GL28946@ZenIV.linux.org.uk>
Date: Wed, 21 May 2008 06:30:12 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Roman Zippel <zippel@...ux-m68k.org>
Cc: Al Viro <viro@....linux.org.uk>, torvalds@...ux-foundation.org,
geert@...ux-m68k.org, linux-m68k@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] provide out-of-line strcat() for m68k
On Wed, May 21, 2008 at 05:34:58AM +0200, Roman Zippel wrote:
> Hi,
>
> On Wed, 21 May 2008, Al Viro wrote:
>
> > Whether we sidestep it in init/main.c or not, such situations
> > will arise again; compiler does generate calls of strcat()
> > on optimizations, so we really ought to have an out-of-line
> > version...
>
> It actually was strlen that was generated and not strcat.
Here it replaced strncat() with call of strcat() (gcc 4.0.1, FWIW).
And yes, I can show you init/main.s with
jbsr strcat |
in it generated on kernel in b0rken range...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists