[x264-devel] x86inc: Set ELF hidden visibility for global constants
Henrik Gramner
git at videolan.org
Wed Feb 27 00:18:03 CET 2013
x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Thu Jan 17 19:17:24 2013 +0100| [8da42b78154304ef194747a375a7e1ff3021d0a9] | committer: Jason Garrett-Glaser
x86inc: Set ELF hidden visibility for global constants
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=8da42b78154304ef194747a375a7e1ff3021d0a9
---
common/x86/x86inc.asm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/common/x86/x86inc.asm b/common/x86/x86inc.asm
index 184d484..e431fbc 100644
--- a/common/x86/x86inc.asm
+++ b/common/x86/x86inc.asm
@@ -702,7 +702,11 @@ BRANCH_INSTR jz, je, jnz, jne, jl, jle, jnl, jnle, jg, jge, jng, jnge, ja, jae,
%macro const 2+
%xdefine %1 mangle(private_prefix %+ _ %+ %1)
- global %1
+ %ifidn __OUTPUT_FORMAT__,elf
+ global %1:data hidden
+ %else
+ global %1
+ %endif
%1: %2
%endmacro
More information about the x264-devel
mailing list