summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorHenrik Gramner <henrik@gramner.com>2015-05-27 21:38:14 +0200
committerHenrik Gramner <henrik@gramner.com>2015-08-04 20:13:09 +0200
commitf0b7882ceb791ff32267ad97bd21a09e9cbf83d5 (patch)
tree2b87810dcdc75245000e7fa7c5f5359cda63b2ac /libavutil
parent826790f59640a84813e8dd81c2bba559516f8e4d (diff)
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`.
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/x86/pixelutils.asm2
-rw-r--r--libavutil/x86/x86inc.asm12
2 files changed, 1 insertions, 13 deletions
diff --git a/libavutil/x86/pixelutils.asm b/libavutil/x86/pixelutils.asm
index 7522f24a42..7af3007d0c 100644
--- a/libavutil/x86/pixelutils.asm
+++ b/libavutil/x86/pixelutils.asm
@@ -23,7 +23,7 @@
%include "x86util.asm"
-SECTION_TEXT
+SECTION .text
;-------------------------------------------------------------------------------
; int ff_pixelutils_sad_8x8_mmx(const uint8_t *src1, ptrdiff_t stride1,
diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
index f9ef3017e3..76fcec45b0 100644
--- a/libavutil/x86/x86inc.asm
+++ b/libavutil/x86/x86inc.asm
@@ -93,14 +93,6 @@
%endif
%endmacro
-%macro SECTION_TEXT 0-1 16
- %ifidn __OUTPUT_FORMAT__,aout
- SECTION .text
- %else
- SECTION .text align=%1
- %endif
-%endmacro
-
%if WIN64
%define PIC
%elif ARCH_X86_64 == 0
@@ -753,10 +745,6 @@ BRANCH_INSTR jz, je, jnz, jne, jl, jle, jnl, jnle, jg, jge, jng, jnge, ja, jae,
[SECTION .note.GNU-stack noalloc noexec nowrite progbits]
%endif
-; Overrides the default .text section.
-; Silences warnings when defining structures.
-%define __SECT__
-
; cpuflags
%assign cpuflags_mmx (1<<0)