Mercurial > pub > dyncall > dyncall
diff dyncall/dyncall_call_arm32_thumb_armhf.S @ 406:351bb41d3bb1
- removed %-prefixes for register names from arm assembly files (was wrong to begin with, gas accepted them but the clang integrated assembler does not)
author | Tassilo Philipp |
---|---|
date | Sun, 03 Oct 2021 10:34:56 +0200 |
parents | f5577f6bf97a |
children | 7364f285cac8 |
line wrap: on
line diff
--- a/dyncall/dyncall_call_arm32_thumb_armhf.S Wed Apr 07 18:51:38 2021 +0200 +++ b/dyncall/dyncall_call_arm32_thumb_armhf.S Sun Oct 03 10:34:56 2021 +0200 @@ -99,7 +99,7 @@ armhf_call: ldmia r5!, {r0-r3} /* Load first 4 arguments for new call into r0-r3. */ - /* 'blx %r4' workaround for ARMv4t: */ + /* 'blx r4' workaround for ARMv4t: */ // mov r14, r15 /* Branch return address(r15) -> link register (r14) -- r15 always points to address of current + 2 instructions (= Epilog code). */ mov r6, r15 add r6, #5