From a22ba99d4279479c86e24a1dd81bd5e20ba999a1 Mon Sep 17 00:00:00 2001 From: Johann Date: Thu, 2 Apr 2020 10:49:19 +0900 Subject: 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 --- third_party/x86inc/README.libvpx_new | 1 + third_party/x86inc/x86inc.asm_new | 2 ++ 2 files changed, 3 insertions(+) (limited to 'third_party') 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 -- cgit v1.2.3