1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/newlib/1.19.0/100-fix-unaligned-access-memcpy-m68k.patch Mon Oct 10 00:00:58 2011 +0200
1.3 @@ -0,0 +1,25 @@
1.4 +The m68k mcpu processor does not like unaligned access
1.5 +
1.6 +Disable at least mcpu32, m68010 and m68020. These processors certainly
1.7 +do not like unaligned accesses.
1.8 +
1.9 +Signed-off-by: Remy Bohmer <linux@bohmer.net>
1.10 +[yann.morin.1998@anciens.enib.fr: update for 1.19.0 from 1.18.0]
1.11 +Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
1.12 +---
1.13 + newlib/libc/machine/m68k/memcpy.S | 2 +-
1.14 + 1 file changed, 1 insertion(+), 1 deletion(-)
1.15 +
1.16 +Index: newlib-1.19.0/newlib/libc/machine/m68k/memcpy.S
1.17 +===================================================================
1.18 +--- newlib-1.19.0.orig/newlib/libc/machine/m68k/memcpy.S
1.19 ++++ newlib-1.19.0/newlib/libc/machine/m68k/memcpy.S
1.20 +@@ -15,7 +15,7 @@
1.21 +
1.22 + #include "m68kasm.h"
1.23 +
1.24 +-#if defined (__mcoldfire__) || defined (__mc68010__) || defined (__mc68020__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__)
1.25 ++#if defined (__mcoldfire__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__)
1.26 + # define MISALIGNED_OK 1
1.27 + #else
1.28 + # define MISALIGNED_OK 0