]> sourceware.org Git - newlib-cygwin.git/commitdiff
m68k: disallow unaligned access for m68010 and m68020
authorRemy Bohmer <linux@bohmer.net>
Sun, 28 May 2023 03:05:44 +0000 (15:05 +1200)
committerJeff Johnston <jjohnstn@redhat.com>
Tue, 30 May 2023 17:54:32 +0000 (13:54 -0400)
Disable at least  m68010 and m68020. These processors certainly do not
like unaligned accesses.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Austin Morton <austinpmorton@gmail.com>
Signed-off-by: Chris Packham <judge.packham@gmail.com>
newlib/libc/machine/m68k/memcpy.S

index 2bb6de16c517c4d63ce4a2bed96dc2d7afac6fae..464da95efc16c324a08bf6d277edd079300d730f 100644 (file)
@@ -15,7 +15,7 @@
 
 #include "m68kasm.h"
 
-#if defined (__mcoldfire__) || defined (__mc68010__) || defined (__mc68020__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__)
+#if defined (__mcoldfire__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__)
 # define MISALIGNED_OK 1
 #else
 # define MISALIGNED_OK 0
This page took 0.034297 seconds and 5 git commands to generate.