From: Marcus Hoffmann Date: Tue, 28 Feb 2017 18:56:40 +0000 (+0100) Subject: Make nettle compile with pre-UAL arm assembler. X-Git-Tag: nettle_3.4rc1~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc792a0a4458e056586bc868e84fbafa11de3ff4;p=thirdparty%2Fnettle.git Make nettle compile with pre-UAL arm assembler. See: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0204j/Cjagjjbc.html The pre-UAL instruction is also accepted by modern assemblers. Signed-off-by: Marcus Hoffmann --- diff --git a/arm/ecc-521-modp.asm b/arm/ecc-521-modp.asm index c311a891..3fba2396 100644 --- a/arm/ecc-521-modp.asm +++ b/arm/ecc-521-modp.asm @@ -91,7 +91,7 @@ PROLOGUE(nettle_ecc_521_modp) adcs F0, F0, F3, lsr #9 C Copy low 9 bits to H, then shift right including carry and H, F0, T0 - rrx F0, F0 + mov F0, F0, rrx lsr F0, F0, #8 C Add in F1 = rp[33], with weight 2^1056 = 2^14 adds F0, F0, F1, lsl #14