diff options
author | Henrik Gramner <henrik@gramner.com> | 2015-08-01 18:27:36 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-08-11 12:12:01 +0300 |
commit | ab43beefab9147673e09679e04be08431684a5db (patch) | |
tree | 0eae121944d96431e43ecc9d184f668cad9e043c /libavutil/x86/x86inc.asm | |
parent | 1c6bb813284732d9a1acacfe99522d9f66ebf73e (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/x86/x86inc.asm')
-rw-r--r-- | libavutil/x86/x86inc.asm | 12 |
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) |