From: Tom Rini Date: Sat, 17 Nov 2018 08:33:50 -0500 Subject: [U-Boot] [U-Boot, v3, 2/2] arm: Make arch specific memcpy thumb-safe. In-Reply-To: <20180426181810.15899-3-klaus.goger@theobroma-systems.com> References: <20180426181810.15899-3-klaus.goger@theobroma-systems.com> Message-ID: <20181117133350.GK11247@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Apr 26, 2018 at 08:18:10PM +0200, Klaus Goger wrote: > The current arch implementation of memcpy cannot be called > from thumb code, because it does not use bx instructions on return. > This patch addresses that. Note, that this patch does not touch > the hot loop of memcpy, so performance is not affected. > > Tested on MXS (arm926ejs) with and without thumb-mode enabled. > > Signed-off-by: Klaus Goger > Signed-off-by: Christoph Muellner Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: