austinpmorton@3047: The m68k mcpu processor does not like unaligned access austinpmorton@3047: austinpmorton@3047: Disable at least mcpu32, m68010 and m68020. These processors certainly austinpmorton@3047: do not like unaligned accesses. austinpmorton@3047: austinpmorton@3047: Signed-off-by: Remy Bohmer austinpmorton@3047: [yann.morin.1998@anciens.enib.fr: update for 1.19.0 from 1.18.0] austinpmorton@3047: Signed-off-by: "Yann E. MORIN" austinpmorton@3047: [austinpmorton@gmail.com: update for 1.20.0 from 1.19.0] austinpmorton@3047: Signed-off-by: Austin Morton austinpmorton@3047: --- austinpmorton@3047: newlib/libc/machine/m68k/memcpy.S | 2 +- austinpmorton@3047: 1 file changed, 1 insertion(+), 1 deletion(-) austinpmorton@3047: austinpmorton@3047: Index: newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S austinpmorton@3047: =================================================================== austinpmorton@3047: --- newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S austinpmorton@3047: +++ newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S austinpmorton@3047: @@ -15,7 +15,7 @@ austinpmorton@3047: austinpmorton@3047: #include "m68kasm.h" austinpmorton@3047: austinpmorton@3047: -#if defined (__mcoldfire__) || defined (__mc68010__) || defined (__mc68020__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__) austinpmorton@3047: +#if defined (__mcoldfire__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__) austinpmorton@3047: # define MISALIGNED_OK 1 austinpmorton@3047: #else austinpmorton@3047: # define MISALIGNED_OK 0