This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: unexpected memmove() invokation
- From: Richard Henderson <rth at redhat dot com>
- To: Andrew Morton <akpm at osdl dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 24 Jun 2004 00:11:23 -0700
- Subject: Re: unexpected memmove() invokation
- References: <20040623232837.3e78df45.akpm@osdl.org>
On Wed, Jun 23, 2004 at 11:28:37PM -0700, Andrew Morton wrote:
> The function fn_hash() appears to be issuing a call to memmove(). There is
> no out-of-line memmove defined in the kernel, so the link fails. There's
> an inlined memmove, and it is in scope.
>
> Who is to blame, and if it's us, what would be a suitable fix?
Like memcpy, the compiler requires memmove as an external symbol.
That said, it's likely a regression that we're calling it in this
case. Please file a PR.
r~