From 25ef3f5fdbfca0f9a5ff8a97b8475e7f8b4c9202 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Mon, 17 Jun 2013 11:27:09 -0700 Subject: [PATCH] Fix build with PIC on some systems --- common/x86/cabac-a.asm | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2