summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorHenrik Gramner <henrik@gramner.com>2015-08-01 17:27:36 +0200
committerAnton Khirnov <anton@khirnov.net>2015-08-11 11:12:01 +0200
commitab43beefab9147673e09679e04be08431684a5db (patch)
tree0eae121944d96431e43ecc9d184f668cad9e043c /libavutil
parent1c6bb813284732d9a1acacfe99522d9f66ebf73e (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`. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/x86/x86inc.asm12
1 files changed, 0 insertions, 12 deletions
diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
index d4ce68fa63..a519fd5f5d 100644
--- a/libavutil/x86/x86inc.asm
+++ b/libavutil/x86/x86inc.asm
@@ -84,14 +84,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
@@ -743,10 +735,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)