chiark
/
gitweb
/
~mdw
/
xchg-rax-rax
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
90c4eee
)
xchg.S: Add missing `ret' in ARM64 version of `call_example'.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 19 Oct 2020 04:29:35 +0000
(
05:29
+0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/xchg.S
b/xchg.S
index 0dcb6c81fcd3c3c475faec5d83ca68097d294b41..0d836c777e46f1cea1290fe1f6750e1b50b4ac25 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
ldp x27, x28, [sp, #80]
ldp x29, x30, [sp], #13*8
+ ret
+
#else
# error "not supported"
#endif
#else
# error "not supported"
#endif