From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2134) id 2BA923858D20; Tue, 30 May 2023 17:55:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2BA923858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1685469357; bh=6zc5yk3XJXAEx3BYTTcim0oy4fWTsl8jNw2p6aJQgDE=; h=From:To:Subject:Date:From; b=E2NxRANwXicVCVJIJJFvMa6cYBjlxA773chfoQ/OrvfPgcyEiiGNx7DWATZVIkBT9 B8dhm1thLU1KQPYj+a8inl9bTEsSSGzppSoxmZ/x1lhFQleysyL1Sfinb9sL/1vZYd OE4K7lnIylz3ZNss4QW3tLBD3/6sd2HQsv8BiA2g= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jeff Johnston To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] m68k: disallow unaligned access for m68010 and m68020 X-Act-Checkin: newlib-cygwin X-Git-Author: Remy Bohmer X-Git-Refname: refs/heads/master X-Git-Oldrev: 4840a5632520c1a3c1598f73f9d1cdd37df371ba X-Git-Newrev: e79304d7b4a54abc393d0f13f7170c5863a1ef1d Message-Id: <20230530175557.2BA923858D20@sourceware.org> Date: Tue, 30 May 2023 17:55:57 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3De79304d7b4a= 54abc393d0f13f7170c5863a1ef1d commit e79304d7b4a54abc393d0f13f7170c5863a1ef1d Author: Remy Bohmer Date: Sun May 28 15:05:44 2023 +1200 m68k: disallow unaligned access for m68010 and m68020 =20 Disable at least m68010 and m68020. These processors certainly do not like unaligned accesses. =20 Signed-off-by: Remy Bohmer Signed-off-by: "Yann E. MORIN" Signed-off-by: Austin Morton Signed-off-by: Chris Packham Diff: --- 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/m= emcpy.S index 2bb6de16c..464da95ef 100644 --- a/newlib/libc/machine/m68k/memcpy.S +++ b/newlib/libc/machine/m68k/memcpy.S @@ -15,7 +15,7 @@ =20 #include "m68kasm.h" =20 -#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