diff options
author | Martin Storsjö <martin@martin.st> | 2020-05-12 15:50:10 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2020-05-15 21:22:32 +0300 |
commit | 3f266cf49e552423a82b52b800a55a5374f837ec (patch) | |
tree | 332a9bfda3185c836d92ed0564c9bbeb8aa71b86 /tests/checkasm | |
parent | 89cf9e1fb642f5852afebdf2b534eb31e9410d2d (diff) | |
download | ffmpeg-3f266cf49e552423a82b52b800a55a5374f837ec.tar.gz |
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).
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tests/checkasm')
-rw-r--r-- | tests/checkasm/arm/checkasm.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/arm/checkasm.S b/tests/checkasm/arm/checkasm.S index 838c383671..a5ba238684 100644 --- a/tests/checkasm/arm/checkasm.S +++ b/tests/checkasm/arm/checkasm.S @@ -150,7 +150,7 @@ function checkasm_checked_call_\variant, export=1 2: movrel r0, error_message_gpr 1: - blx X(checkasm_fail_func) + bl X(checkasm_fail_func) 0: pop {r0, r1} .ifc \variant, vfp |