From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Schwab Subject: Re: memcpy on 68000 Date: Sun, 24 Jul 2011 18:08:11 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-out.m-online.net ([212.18.0.9]:33787 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750769Ab1GXQIP (ORCPT ); Sun, 24 Jul 2011 12:08:15 -0400 In-Reply-To: (Matthias Reis's message of "Sun, 24 Jul 2011 15:50:36 +0200") Sender: linux-m68k-owner@vger.kernel.org List-Id: linux-m68k@vger.kernel.org To: Matthias Reis Cc: linux-m68k@vger.kernel.org "Matthias Reis" writes: > I recently did some work to compile a kernel for MMU less Atari STs. > However, I 'm having a problem with the memcpy code as it is compiled by > gcc. When copying from odd addresses, gcc produces memcpy code that tries > to access odd addresses with move.w, which is not possible on the 68000 You need to use a compiler that is targeted to uclinux, not linux (the latter assumes 68020+, thus disables strict alignment). Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."