diff options
author | Remy Bohmer <linux@bohmer.net> | 2023-05-28 15:05:44 +1200 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2023-05-30 13:54:32 -0400 |
commit | e79304d7b4a54abc393d0f13f7170c5863a1ef1d (patch) | |
tree | 72aa6465c41e911f5fc424a2031f6f0651d98c59 /newlib/libc | |
parent | 4840a5632520c1a3c1598f73f9d1cdd37df371ba (diff) | |
download | newlib-e79304d7b4a54abc393d0f13f7170c5863a1ef1d.zip newlib-e79304d7b4a54abc393d0f13f7170c5863a1ef1d.tar.gz newlib-e79304d7b4a54abc393d0f13f7170c5863a1ef1d.tar.bz2 |
m68k: disallow unaligned access for m68010 and m68020
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>
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/machine/m68k/memcpy.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/machine/m68k/memcpy.S b/newlib/libc/machine/m68k/memcpy.S index 2bb6de1..464da95 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 |