ref: a22ba99d4279479c86e24a1dd81bd5e20ba999a1
parent: a90c2e5425eede53a4d6508bea33610b6aabd058
author: Johann <[email protected]>
date: Thu Apr 2 06:49:19 EDT 2020
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
--- a/third_party/x86inc/README.libvpx_new
+++ b/third_party/x86inc/README.libvpx_new
@@ -14,3 +14,4 @@
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.
--- 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