Make sure the i386 assembly code calls libc functions through the PLT such
that it can be used to build with PIE.
diff --git a/source/test/checkasm-a.asm b/source/test/checkasm-a.asm
index a69a666ac..dcfe36a57 100644
--- a/source/test/checkasm-a.asm
+++ b/source/test/checkasm-a.asm
@@ -202,7 +202,11 @@ cglobal checkasm_call, 1,7
mov r4, edx
lea r1, [error_message]
push r1
+%if FORMAT_ELF
+ call puts wrt ..plt
+%else
call puts
+%endif
add esp, 4
mov r1, r1m
mov dword [r1], 0
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel