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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1e43f094095265a77c9584fbfc25209b62efc78;p=libx264 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