From: Johann Date: Thu, 2 Apr 2020 01:49:19 +0000 (+0900) Subject: x86inc.asm: do not align .text for aout X-Git-Tag: v1.9.0-rc1~43^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a22ba99d4279479c86e24a1dd81bd5e20ba999a1;p=libvpx x86inc.asm: do not align .text for aout Reapply a97c83f7a. Only use .text sections for aout and do not specify an alignment. BUG=webm:1679 Change-Id: Ibb01b09c205f9e0ecd4bfa0241e3d5e01ae5a55e --- diff --git a/third_party/x86inc/README.libvpx_new b/third_party/x86inc/README.libvpx_new index 7dfa9854b..3fc1fb6f4 100644 --- a/third_party/x86inc/README.libvpx_new +++ b/third_party/x86inc/README.libvpx_new @@ -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. diff --git a/third_party/x86inc/x86inc.asm_new b/third_party/x86inc/x86inc.asm_new index 551285aa3..9b6b2c793 100644 --- a/third_party/x86inc/x86inc.asm_new +++ b/third_party/x86inc/x86inc.asm_new @@ -110,6 +110,8 @@ %elifidn __OUTPUT_FORMAT__,macho32 SECTION .text align=%1 fakegot: + %elifidn __OUTPUT_FORMAT__,aout + SECTION .text %else SECTION .rodata align=%1 %endif