Broken memcpy() in 68K

Maxim Kuvyrkov maxim@codesourcery.com
Tue Dec 8 13:50:00 GMT 2009


Robert Morin:

> Hi,
> 
> I am porting some 68K C source code from HP-UX to GCC/Cygwin and I
> found out the memcpy.S in newlib/libc/machine/m68k/memcpy.S is not
> working when the src is not aligned.

Hi Robert,

I looked at the memcpy() implementation for m68k and didn't spot what 
the problem may be when src is not aligned.  Could you produce a 
testcase to reproduce the error you're seeing?

-- 
Maxim Kuvyrkov
CodeSourcery
maxim@codesourcery.com
(650) 331-3385 x724



More information about the Newlib mailing list