Commit ad76e6e7 authored by Henrik Gramner's avatar Henrik Gramner Committed by Derek Buitenhuis

x86inc: Set ELF hidden visibility for global constants

Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent e52567c2
...@@ -709,7 +709,11 @@ BRANCH_INSTR jz, je, jnz, jne, jl, jle, jnl, jnle, jg, jge, jng, jnge, ja, jae, ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment