Re: [PATCH] provide out-of-line strcat() for m68k

From: Al Viro
Date: Wed May 21 2008 - 01:30:27 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/