diff options
author | Martin Storsjö <martin@martin.st> | 2020-05-12 15:48:50 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2020-05-13 12:18:06 +0300 |
commit | ca38f0f6200fdaaccdda3969794afe16328c4ca8 (patch) | |
tree | 52464629e617cef408e50530f10dd994186d7549 /tests | |
parent | 0326c060435f1647d8dbd26edace0e86da955524 (diff) |
checkasm: arm: Don't use blx to call checkasm_fail_func
We should just use a normal bl here, and the linker will add the 'x'
bit if necessary.
This fixes calling the checkasm_fail_func on windows, where the
code is built in thumb mode (and the linker doesn't clear the 'x'
bit in the blx instruction).
Diffstat (limited to 'tests')
-rw-r--r-- | tests/checkasm/arm/checkasm_32.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/checkasm/arm/checkasm_32.S b/tests/checkasm/arm/checkasm_32.S index a148066..916a2e2 100644 --- a/tests/checkasm/arm/checkasm_32.S +++ b/tests/checkasm/arm/checkasm_32.S @@ -180,9 +180,9 @@ function checked_call_\variant, export=1 movrel r0, error_message_gpr 1: #ifdef PREFIX - blx _checkasm_fail_func + bl _checkasm_fail_func #else - blx checkasm_fail_func + bl checkasm_fail_func #endif 0: pop {r0, r1} |