[x264-devel] cli: Fix linking with --system-libx264 on x86

Henrik Gramner git at videolan.org
Tue Sep 25 11:30:47 CEST 2018


x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Tue Aug  7 22:42:22 2018 +0200| [b63c73dc5c37e5405bf032c9113c1daced3e45a4] | committer: Henrik Gramner

cli: Fix linking with --system-libx264 on x86

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=b63c73dc5c37e5405bf032c9113c1daced3e45a4
---

 common/x86/cpu-a.asm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/x86/cpu-a.asm b/common/x86/cpu-a.asm
index d94f7d54..a41d67f8 100644
--- a/common/x86/cpu-a.asm
+++ b/common/x86/cpu-a.asm
@@ -83,7 +83,7 @@ cglobal cpu_sfence
 ;-----------------------------------------------------------------------------
 ; intptr_t stack_align( void (*func)(void*), ... ); (up to 5 args)
 ;-----------------------------------------------------------------------------
-cglobal stack_align
+cvisible stack_align
     mov      rax, r0mp
     mov       r0, r1mp
     mov       r1, r2mp
@@ -131,7 +131,7 @@ cglobal cpu_cpuid_test
     popfd
     ret
 
-cglobal stack_align
+cvisible stack_align
     push      ebp
     mov       ebp, esp
     sub       esp, 20



More information about the x264-devel mailing list