From: Sebastian Ramacher Date: Tue, 28 Aug 2018 20:23:24 +0000 (+0200) Subject: Export x264_stack_align X-Git-Tag: archive/raspbian/2%0.155.2917+git0a84d98-2+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4851c09171a4ac9a91aa68345cf4c8e5ccc9ef41;p=x264.git Export x264_stack_align The function is used in x265.c. Gbp-Pq: Name 0003-Export-x264_stack_align.patch --- diff --git a/common/x86/cpu-a.asm b/common/x86/cpu-a.asm index d94f7d5..e696673 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