Browse Source

x86inc: Drop SECTION_TEXT macro

The .text section is already 16-byte aligned by default on all supported
platforms so `SECTION_TEXT` isn't any different from `SECTION .text`.
Henrik Gramner 9 years ago
parent
commit
f0b7882ceb

+ 1 - 1
libavcodec/x86/aacpsdsp.asm

@@ -26,7 +26,7 @@ SECTION_RODATA
 
 ps_p1m1p1m1: dd 0, 0x80000000, 0, 0x80000000
 
-SECTION_TEXT
+SECTION .text
 
 ;*************************************************************************
 ;void ff_ps_add_squares_<opt>(float *dst, const float (*src)[2], int n);

+ 1 - 1
libavcodec/x86/audiodsp.asm

@@ -21,7 +21,7 @@
 
 %include "libavutil/x86/x86util.asm"
 
-SECTION_TEXT
+SECTION .text
 
 %macro SCALARPRODUCT 0
 ; int ff_scalarproduct_int16(int16_t *v1, int16_t *v2, int order)

+ 1 - 1
libavcodec/x86/blockdsp.asm

@@ -23,7 +23,7 @@
 
 %include "libavutil/x86/x86util.asm"
 
-SECTION_TEXT
+SECTION .text
 
 ;----------------------------------------
 ; void ff_clear_block(int16_t *blocks);

+ 1 - 1
libavcodec/x86/bswapdsp.asm

@@ -28,7 +28,7 @@ pb_bswap32: db 3, 2, 1, 0, 7, 6, 5, 4, 11, 10, 9, 8, 15, 14, 13, 12
 
 cextern pb_80
 
-SECTION_TEXT
+SECTION .text
 
 ; %1 = aligned/unaligned
 %macro BSWAP_LOOPS  1

+ 1 - 1
libavcodec/x86/dcadsp.asm

@@ -24,7 +24,7 @@
 SECTION_RODATA
 pf_inv16:  times 4 dd 0x3D800000 ; 1/16
 
-SECTION_TEXT
+SECTION .text
 
 ; void decode_hf(float dst[DCA_SUBBANDS][8], const int32_t vq_num[DCA_SUBBANDS],
 ;                const int8_t hf_vq[1024][32], intptr_t vq_offset,

+ 1 - 1
libavcodec/x86/dct32.asm

@@ -191,7 +191,7 @@ ps_p1p1m1m1: dd 0, 0, 0x80000000, 0x80000000, 0, 0, 0x80000000, 0x80000000
 %endmacro
 
 INIT_YMM avx
-SECTION_TEXT
+SECTION .text
 %if HAVE_AVX_EXTERNAL
 ; void ff_dct32_float_avx(FFTSample *out, const FFTSample *in)
 cglobal dct32_float, 2,3,8, out, in, tmp

+ 1 - 1
libavcodec/x86/fft.asm

@@ -90,7 +90,7 @@ cextern cos_ %+ i
     %1
 %endmacro
 
-SECTION_TEXT
+SECTION .text
 
 %macro T2_3DNOW 4 ; z0, z1, mem0, mem1
     mova     %1, %3

+ 1 - 1
libavcodec/x86/flac_dsp_gpl.asm

@@ -22,7 +22,7 @@
 
 %include "libavutil/x86/x86util.asm"
 
-SECTION_TEXT
+SECTION .text
 
 INIT_XMM sse4
 %if ARCH_X86_64

+ 1 - 1
libavcodec/x86/fmtconvert.asm

@@ -21,7 +21,7 @@
 
 %include "libavutil/x86/x86util.asm"
 
-SECTION_TEXT
+SECTION .text
 
 ;------------------------------------------------------------------------------
 ; void ff_int32_to_float_fmul_scalar(float *dst, const int32_t *src, float mul,

+ 1 - 1
libavcodec/x86/g722dsp.asm

@@ -29,7 +29,7 @@ pw_qmf_coeffs2: dw  12, 3876, -156,  951,   32, -805, 362, -210
 pw_qmf_coeffs3: dw 362,    0 ,  32,    0, -156,    0,  12,    0
 pw_qmf_coeffs4: dw  53,    0,  -11,    0,  -11,    0,   3,    0
 
-SECTION_TEXT
+SECTION .text
 
 INIT_XMM sse2
 cglobal g722_apply_qmf, 2, 2, 5, prev, out

Some files were not shown because too many files changed in this diff