]> git.videolan.org Git - x264.git/commitdiff
Fix build with PIC on some systems
authorLoren Merritt <pengvado@akuvian.org>
Mon, 17 Jun 2013 18:27:09 +0000 (11:27 -0700)
committerJason Garrett-Glaser <jason@x264.com>
Wed, 3 Jul 2013 00:13:07 +0000 (17:13 -0700)
common/x86/cabac-a.asm

index 74dbf938cb5c6842cea7439cee1c4de4ff560956..e2e0d5ec3ab65218a2fd3e24d851e530908b8693 100644 (file)
@@ -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