Commit 7d8e2b13 authored by Yaowu Xu's avatar Yaowu Xu

x86inc.asm: port changes from libvpx

Cherry-picked the following commits:
e56f9639 define GET_GOT_DEFINED if not previously defined
a4b47b89 x86inc.asm: only set visibility for chromium builds
a97c83f7 Only use .text sections for aout
9679be4b Use .text instead of .rodata on macho
7e065cd5 Copy PIC handling code from x86_abi_support
71ccd103 Set 'private_extern' visibility for macho targets
1be46ef6 Expand PIC default to macho64 and respect CONFIG_PIC from libvpx
4de9641f Use libvpx defines to set name mangling rules
2d6393a9 Customize x86inc.asm for libvpx
2497356d Update x86inc.asm from x264

Change-Id: I2fe309bf7b5cea866177cec954024ced59aed789
parent e8f0478c
URL: http://git.videolan.org/?p=x264.git
Version: a95584945dd9ce3acc66c6cd8f6796bc4404d40d
URL: https://git.videolan.org/git/x264.git
Version: d23d18655249944c1ca894b451e2c82c7a584c62
License: ISC
License File: LICENSE
......@@ -13,12 +13,8 @@ Prefix functions with aom by default.
Manage name mangling (prefixing with '_') manually because 'PREFIX' does not
exist in libaom.
Expand PIC default to macho64 and respect CONFIG_PIC from libaom
Catch all elf formats for 'hidden' status and SECTION notes.
Avoid 'amdnop' when building with nasm.
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
Only use 'hidden' visibility with Chromium
Move '%use smartalign' for nasm out of 'INIT_CPUFLAGS' and before
'ALIGNMODE'.
This diff is collapsed.
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