From: Loren Merritt Date: Mon, 17 Jun 2013 18:27:09 +0000 (-0700) Subject: Fix build with PIC on some systems X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25ef3f5fdbfca0f9a5ff8a97b8475e7f8b4c9202;p=libx264 Fix build with PIC on some systems --- diff --git a/common/x86/cabac-a.asm b/common/x86/cabac-a.asm index 1d0c0a02..790edf1e 100644 --- a/common/x86/cabac-a.asm +++ b/common/x86/cabac-a.asm @@ -62,6 +62,9 @@ cextern coeff_last64_sse2 cextern coeff_last64_sse2_lzcnt cextern coeff_last64_avx2_lzcnt +%ifdef PIC +SECTION .data +%endif coeff_last_sse2: COEFF_LAST_TABLE mmx2, sse2, sse2, 16, 15, 16, 4, 15, 64, 16, 15, 16, 64, 16, 15, 16, 64 coeff_last_sse2_lzcnt: COEFF_LAST_TABLE mmx2_lzcnt, sse2_lzcnt, sse2_lzcnt, 16, 15, 16, 4, 15, 64, 16, 15, 16, 64, 16, 15, 16, 64 coeff_last_avx2_lzcnt: COEFF_LAST_TABLE mmx2_lzcnt, avx2_lzcnt, sse2_lzcnt, 16, 15, 16, 4, 15, 64, 16, 15, 16, 64, 16, 15, 16, 64