mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
x86inc: Set ELF hidden visibility for global constants
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
e52567c295
commit
ad76e6e7e1
@ -709,7 +709,11 @@ BRANCH_INSTR jz, je, jnz, jne, jl, jle, jnl, jnle, jg, jge, jng, jnge, ja, jae,
|
|||||||
|
|
||||||
%macro const 2+
|
%macro const 2+
|
||||||
%xdefine %1 mangle(private_prefix %+ _ %+ %1)
|
%xdefine %1 mangle(private_prefix %+ _ %+ %1)
|
||||||
global %1
|
%ifidn __OUTPUT_FORMAT__,elf
|
||||||
|
global %1:data hidden
|
||||||
|
%else
|
||||||
|
global %1
|
||||||
|
%endif
|
||||||
%1: %2
|
%1: %2
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user