mirror of https://git.ffmpeg.org/ffmpeg.git
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>
This commit is contained in:
parent
89cf9e1fb6
commit
3f266cf49e
|
@ -150,7 +150,7 @@ function checkasm_checked_call_\variant, export=1
|
||||||
2:
|
2:
|
||||||
movrel r0, error_message_gpr
|
movrel r0, error_message_gpr
|
||||||
1:
|
1:
|
||||||
blx X(checkasm_fail_func)
|
bl X(checkasm_fail_func)
|
||||||
0:
|
0:
|
||||||
pop {r0, r1}
|
pop {r0, r1}
|
||||||
.ifc \variant, vfp
|
.ifc \variant, vfp
|
||||||
|
|
Loading…
Reference in New Issue