]> granicus.if.org Git - libvpx/commitdiff
Only use .text sections for aout
authorJohann <johannkoenig@google.com>
Mon, 10 Aug 2015 19:08:18 +0000 (12:08 -0700)
committerJohann <johannkoenig@google.com>
Mon, 10 Aug 2015 19:08:18 +0000 (12:08 -0700)
Also do not specify alignment.

Change-Id: Id4a62bfa0fc3bc56e25689b5de7796bd6e864457

third_party/x86inc/README.libvpx
third_party/x86inc/x86inc.asm

index 013e085218d8856d11b096fb4f1b035797595734..9a911711a69a9f86cf6378081a7de5958bcaeb15 100644 (file)
@@ -18,3 +18,4 @@ Avoid 'amdnop' when building with nasm.
 Set 'private_extern' visibility for macho targets.
 Copy PIC 'GLOBAL' macros from x86_abi_support.asm
 Use .text instead of .rodata on macho to avoid broken tables in PIC mode.
+Use .text with no alignment for aout
index 840a5190d4e0b393e824bc83abddd307ed33807c..e88c851233300175d75a32fd1d01119ae82781e9 100644 (file)
     %ifidn __OUTPUT_FORMAT__,macho32
         SECTION .text align=%1
         fakegot:
+    %elifidn __OUTPUT_FORMAT__,aout
+        SECTION .text
     %else
         SECTION .rodata align=%1
     %endif
 %endmacro
 
 %macro SECTION_TEXT 0-1 16
-    SECTION .text align=%1
+    %ifidn __OUTPUT_FORMAT__,aout
+        SECTION .text
+    %else
+        SECTION .text align=%1
+    %endif
 %endmacro
 
 ; PIC macros are copied from vpx_ports/x86_abi_support.asm. The "define PIC"