[x264-devel] commit: add "SECTION_RODATA" before "SECTION .text" to setup the fakegot label used in macho binaries. (Guillaume Poirier )
git version control
git at videolan.org
Wed Apr 16 10:52:57 CEST 2008
x264 | branch: master | Guillaume Poirier <gpoirier at fili.caps-entreprise.com> | Wed Apr 16 10:46:15 2008 +0200| [d50f9cbdc47cdb20d066fe19d616e95ef9560358]
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 %
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=d50f9cbdc47cdb20d066fe19d616e95ef9560358
---
common/x86/cabac-a.asm | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/common/x86/cabac-a.asm b/common/x86/cabac-a.asm
index 1708a06..26a20d0 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
More information about the x264-devel
mailing list