xchg.S: Add missing `ret' in ARM64 version of `call_example'.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 19 Oct 2020 04:29:35 +0000 (05:29 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 19 Oct 2020 04:29:35 +0000 (05:29 +0100)
Actually it falls through into `nop', but that's kind of accidental.

xchg.S

diff --git a/xchg.S b/xchg.S
index 0dcb6c8..0d836c7 100644 (file)
--- 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