x86inc.asm: do not align .text for aout
authorJohann <johannkoenig@google.com>
Thu, 2 Apr 2020 01:49:19 +0000 (10:49 +0900)
committerJohann <johannkoenig@google.com>
Thu, 2 Apr 2020 02:08:32 +0000 (11:08 +0900)
Reapply a97c83f7a. Only use .text sections for aout and do not specify
an alignment.

BUG=webm:1679

Change-Id: Ibb01b09c205f9e0ecd4bfa0241e3d5e01ae5a55e

third_party/x86inc/README.libvpx_new
third_party/x86inc/x86inc.asm_new

index 7dfa985..3fc1fb6 100644 (file)
@@ -14,3 +14,4 @@ Manage name mangling (prefixing with '_') manually because 'PREFIX' does not
   exist in libvpx.
 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 551285a..9b6b2c7 100644 (file)
     %elifidn __OUTPUT_FORMAT__,macho32
         SECTION .text align=%1
         fakegot:
+    %elifidn __OUTPUT_FORMAT__,aout
+        SECTION .text
     %else
         SECTION .rodata align=%1
     %endif