From: Mark Wooding Date: Mon, 19 Oct 2020 04:29:35 +0000 (+0100) Subject: xchg.S: Add missing `ret' in ARM64 version of `call_example'. X-Git-Url: https://git.distorted.org.uk/~mdw/xchg-rax-rax/commitdiff_plain/02d696c4631ade1cee5b4257d785e32d2d123b17 xchg.S: Add missing `ret' in ARM64 version of `call_example'. Actually it falls through into `nop', but that's kind of accidental. --- diff --git a/xchg.S b/xchg.S index 0dcb6c8..0d836c7 100644 --- a/xchg.S +++ b/xchg.S @@ -423,6 +423,8 @@ proc call_example ldp x27, x28, [sp, #80] ldp x29, x30, [sp], #13*8 + ret + #else # error "not supported" #endif