diff options
author | Michael Niedermayer | 2013-10-08 10:52:47 +0200 |
---|---|---|
committer | Michael Niedermayer | 2013-10-08 10:52:51 +0200 |
commit | faafffaf82a28e76cb691d938bf9424b85448b0f (patch) | |
tree | 81d28ed56bab6b2b82d39cfae95f9833c1a142f0 /libavutil/x86 | |
parent | 3d5a995eac2a47ac116c3412b364c0d21717829b (diff) | |
parent | ad76e6e7e193b98e7335156422d35467816f9ef1 (diff) |
Merge commit 'ad76e6e7e193b98e7335156422d35467816f9ef1'
* commit 'ad76e6e7e193b98e7335156422d35467816f9ef1':
x86inc: Set ELF hidden visibility for global constants
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/x86')
-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 ab3ca6c186..437d511531 100644 --- a/libavutil/x86/x86inc.asm +++ b/libavutil/x86/x86inc.asm @@ -728,7 +728,11 @@ BRANCH_INSTR jz, je, jnz, jne, jl, jle, jnl, jnle, jg, jge, jng, jnge, ja, jae, %macro const 1-2+ %xdefine %1 mangle(private_prefix %+ _ %+ %1) - global %1 + %ifidn __OUTPUT_FORMAT__,elf + global %1:data hidden + %else + global %1 + %endif %1: %2 %endmacro |