Index: vpx_ports/x86_abi_support.asm
--- vpx_ports/x86_abi_support.asm.orig
+++ vpx_ports/x86_abi_support.asm
@@ -423,3 +423,13 @@ extern sym(rand)
 %define LIBVPX_RAND rand
 %endif
 %endif ; CONFIG_POSTPROC || CONFIG_VP9_POSTPROC
+
+%if VPX_ARCH_X86_64=1
+%imacro _endbr64 0
+    dd 0xfa1e0ff3
+%endmacro
+%else
+%imacro _endbr64 0
+; empty
+%endmacro
+%endif
