Subject: Re: more MIPS memcpy bugs...
To: None <garrett_damore@tadpole.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-toolchain
Date: 05/18/2006 20:02:40
garrett_damore@tadpole.com wrote:

> I think even on gcc 3.x MIPS32 memcpy is probably busted.
 :
>     memcpy(ifp->if_xname, sc->sc_dev.dv_xname, IFNAMSIZ);

I don't have any idea about your question, but in this case
we should use strcpy() or strlcpy(), I think.

> Adding -fno-builtin-memcpy to makeoptions didn't prevent the compiler
> from inlining memcpy.

How about -mmemcpy?
---
Izumi Tsutsui