diff --git a/vp8/common/x86/subpixel_mmx.asm b/vp8/common/x86/subpixel_mmx.asm index ba747f7a0..b0008fcdb 100644 --- a/vp8/common/x86/subpixel_mmx.asm +++ b/vp8/common/x86/subpixel_mmx.asm @@ -731,7 +731,7 @@ rd: times 4 dw 0x40 align 16 -global sym(vp8_six_tap_mmx) +global sym(vp8_six_tap_mmx) HIDDEN_DATA sym(vp8_six_tap_mmx): times 8 dw 0 times 8 dw 0 @@ -791,7 +791,7 @@ sym(vp8_six_tap_mmx): align 16 -global sym(vp8_bilinear_filters_mmx) +global sym(vp8_bilinear_filters_mmx) HIDDEN_DATA sym(vp8_bilinear_filters_mmx): times 8 dw 128 times 8 dw 0 diff --git a/vpx_ports/x86_abi_support.asm b/vpx_ports/x86_abi_support.asm index 6fc005ad1..5748c235e 100644 --- a/vpx_ports/x86_abi_support.asm +++ b/vpx_ports/x86_abi_support.asm @@ -138,12 +138,16 @@ %endmacro %endif %endif + %define HIDDEN_DATA %else %macro GET_GOT 1 %endmacro %define GLOBAL wrt rip %ifidn __OUTPUT_FORMAT__,elf64 %define WRT_PLT wrt ..plt + %define HIDDEN_DATA :data hidden + %else + %define HIDDEN_DATA %endif %endif %ifnmacro GET_GOT