ref: a97c83f7a4b580dc8f7f96b22d135a9e9bd6dd07
parent: 9679be4bc0b0ff64c1dcce776c83a33968253826
author: Johann <[email protected]>
date: Wed Feb 17 13:30:46 EST 2016
Only use .text sections for aout Also do not specify alignment. Change-Id: I92d07dcce632ff9380c5dce18f88597414ab60c7
--- a/third_party/x86inc/README.libvpx
+++ b/third_party/x86inc/README.libvpx
@@ -16,3 +16,4 @@
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
--- a/third_party/x86inc/x86inc.asm
+++ b/third_party/x86inc/x86inc.asm
@@ -106,6 +106,8 @@
%ifidn __OUTPUT_FORMAT__,macho32
SECTION .text align=%1
fakegot:
+ %elifidn __OUTPUT_FORMAT__,aout
+ SECTION .text
%else
SECTION .rodata align=%1
%endif