From: Guillaume Poirier Date: Wed, 16 Apr 2008 08:46:15 +0000 (+0200) Subject: add "SECTION_RODATA" before "SECTION .text" to setup the fakegot label used in macho... X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=d50f9cbdc47cdb20d066fe19d616e95ef9560358;p=x264.git add "SECTION_RODATA" before "SECTION .text" to setup the fakegot label used in macho binaries. This fixes compilation with --enable-pic Requires Yasm 0.7.0 or newer Patch by Dave Lee % davelee P com A gmail P com % --- diff --git a/common/x86/cabac-a.asm b/common/x86/cabac-a.asm index 1708a06a..26a20d08 100644 --- a/common/x86/cabac-a.asm +++ b/common/x86/cabac-a.asm @@ -22,6 +22,8 @@ %include "x86inc.asm" +SECTION_RODATA + SECTION .text cextern x264_cabac_range_lps