projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e52567c
)
x86inc: Set ELF hidden visibility for global constants
author
Henrik Gramner
<henrik@gramner.com>
Wed, 11 Sep 2013 15:49:21 +0000
(17:49 +0200)
committer
Derek Buitenhuis
<derek.buitenhuis@gmail.com>
Mon, 7 Oct 2013 10:24:13 +0000
(06:24 -0400)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavutil/x86/x86inc.asm
patch
|
blob
|
history
diff --git
a/libavutil/x86/x86inc.asm
b/libavutil/x86/x86inc.asm
index 07512d18d85457b71c7ea9496896564ab7f5c05b..b6edfd9373d57d16ebd6141b823caf3dc97b2b77 100644
(file)
--- 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