[PATCH 1/2] m68k: disallow unaligned access for m68010 and m68020

Chris Packham <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
From: Remy Bohmer <[email protected]>

Disable at least  m68010 and m68020. These processors certainly do not
like unaligned accesses.

Signed-off-by: Remy Bohmer <[email protected]>
Signed-off-by: "Yann E. MORIN" <[email protected]>
Signed-off-by: Austin Morton <[email protected]>
Signed-off-by: Chris Packham <[email protected]>
---
 newlib/libc/machine/m68k/memcpy.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/newlib/libc/machine/m68k/memcpy.S b/newlib/libc/machine/m68k/memcpy.S
index 2bb6de16c..464da95ef 100644
--- a/newlib/libc/machine/m68k/memcpy.S
+++ b/newlib/libc/machine/m68k/memcpy.S
@@ -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
-- 
2.40.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.