[x265] [PATCH 13 of 20] x86inc: Drop SECTION_TEXT macro

vignesh at multicorewareinc.com vignesh at multicorewareinc.com
Mon Jun 12 07:37:55 CEST 2017


# HG changeset patch
# User Vignesh Vijayakumar
# Date 1496749308 -19800
#      Tue Jun 06 17:11:48 2017 +0530
# Node ID a0def8e28feb8ffe47af2a943e2b539cf0e79173
# Parent  7ea075ef4b3659d7e26965dd2682fe342667af15
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`.

diff -r 7ea075ef4b36 -r a0def8e28feb source/common/x86/x86inc.asm
--- a/source/common/x86/x86inc.asm	Tue Jun 06 17:05:43 2017 +0530
+++ b/source/common/x86/x86inc.asm	Tue Jun 06 17:11:48 2017 +0530
@@ -76,10 +76,6 @@
     SECTION .rodata align=%1
 %endmacro
 
-%macro SECTION_TEXT 0-1 16
-    SECTION .text align=%1
-%endmacro
-
 %if WIN64
     %define PIC
 %elif ARCH_X86_64 == 0


More information about the x265-devel mailing list