From: Jan Kratochvil Date: Sat, 31 Jul 2010 15:12:31 +0000 (+0200) Subject: nasm: avoid space before the :data symbol type. X-Git-Tag: 1.0_branch~954 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e8f108fb0c33a509c87f08a870b11d92223e1e4;p=profile%2Fivi%2Flibvpx.git nasm: avoid space before the :data symbol type. global label:data ^^ Provide nasm compatibility. No binary change by this patch with yasm on {x86_64,i686}-fedora13-linux-gnu. Few longer opcodes with nasm on {x86_64,i686}-fedora13-linux-gnu have been checked as safe. Change-Id: I10f17eb1e4d4a718d4ebd1d0ccddc807c365e021 --- diff --git a/vp8/common/x86/subpixel_mmx.asm b/vp8/common/x86/subpixel_mmx.asm index b0008fc..b8a7127 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) HIDDEN_DATA +global HIDDEN_DATA(sym(vp8_six_tap_mmx)) 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) HIDDEN_DATA +global HIDDEN_DATA(sym(vp8_bilinear_filters_mmx)) 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 5748c23..eff9926 100644 --- a/vpx_ports/x86_abi_support.asm +++ b/vpx_ports/x86_abi_support.asm @@ -138,16 +138,16 @@ %endmacro %endif %endif - %define HIDDEN_DATA + %define HIDDEN_DATA(x) x %else %macro GET_GOT 1 %endmacro %define GLOBAL wrt rip %ifidn __OUTPUT_FORMAT__,elf64 %define WRT_PLT wrt ..plt - %define HIDDEN_DATA :data hidden + %define HIDDEN_DATA(x) x:data hidden %else - %define HIDDEN_DATA + %define HIDDEN_DATA(x) x %endif %endif %ifnmacro GET_GOT