Commit a97c83f7 authored by Johann's avatar Johann

Only use .text sections for aout

Also do not specify alignment.

Change-Id: I92d07dcce632ff9380c5dce18f88597414ab60c7
parent 9679be4b
......@@ -16,3 +16,4 @@ Expand PIC default to macho64 and respect CONFIG_PIC from libvpx
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
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment