Broken memcpy() in 68K

Maxim Kuvyrkov maxim@codesourcery.com
Fri Dec 11 17:52:00 GMT 2009


On 12/10/09 11:35 PM, Robert Morin wrote:
> Hi Maxim,
>>
>> Which hardware do you test this on?  I'm using one of the ColdFire boards
>> and it works fine.  I'm guessing that your CPU does not have a misalignment
>> module.  Is it the case?
>>
>
> I am using a MC68302 (68K) and it is not supporting unaligned
> read/write as the ColdFire.

Does the following /untested/ patch fix the problem for you?

-- 
Maxim Kuvyrkov
CodeSourcery
maxim@codesourcery.com
(650) 331-3385 x724
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib-misalign.patch
URL: <http://sourceware.org/pipermail/newlib/attachments/20091211/6daa3606/attachment.ksh>


More information about the Newlib mailing list