Re: Undefined references to 'memcpy' when compiling Linux Kernel

From: Andi Kleen (ak@suse.de)
Date: Mon Jun 19 2000 - 05:05:45 EST


On Mon, Jun 19, 2000 at 12:04:52PM +0200, John Hughes wrote:
> > Inlined memcpy can be very big in some cases, e.g. when gcc cannot
> > figure out the alignment of the target and destination pointers
>
> But in the case reported on a '386 I'd expect the inlined code to
> be tiny, smaller than the call.

I haven't looked at the case, but gcc probably was not able to
guarantee the alignments based on the type information.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:16 EST