diff options
author | Henrik Gramner <henrik@gramner.com> | 2013-09-11 17:49:21 +0200 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2013-10-07 06:24:13 -0400 |
commit | ad76e6e7e193b98e7335156422d35467816f9ef1 (patch) | |
tree | 167d3099b51e06bf81343b6deb3ec5ab9d54bdd1 /libavutil | |
parent | e52567c2954f627d420b30f75f71af2f2e4afe80 (diff) | |
download | ffmpeg-ad76e6e7e193b98e7335156422d35467816f9ef1.tar.gz |
x86inc: Set ELF hidden visibility for global constants
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/x86/x86inc.asm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm index 07512d18d8..b6edfd9373 100644 --- a/libavutil/x86/x86inc.asm +++ b/libavutil/x86/x86inc.asm @@ -709,7 +709,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 |