[4.8.1] Disable warning: the mangling of <va_list> has changed in GCC 4.4
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Fix crash on null context in cp/mangle.c::write_unscoped_name
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Workaround for Android __cxa_finalize bug
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Enable assembler linker default for security
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Enable x86/arm gcc defaults; Remove march/mtune/mfpmath hardcoded values
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Port MIPS Android support to GCC-4.8.x
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Handle NULL return value of setlocale() in libstdc++
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Add -mstack-protector-guard= to x86 compilers
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Enable armv7/thumb2 multilib for arm-eabi.
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Backport a gimplify fix.
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Enable MIPS floating-point madd/msub/nmadd/nmsub/recip/rsqrt with 32-bit FPU.
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Fix ARM GCC fail to links code using 64-bit atomic built-in
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Patch GCC libstdc++ to work with Clang in C++11
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Enable _GLIBCXX_HAS_GTHREADS in GCC 4.8
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Support OpenMP
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Disable libstdc versioning
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Use memalign instead of posix_memalign in GCC x86 mm_malloc.h
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Add mclinker support: -fuse-ld=mcld
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Fix MIPS GCC to emit -m elf32ltsmip for linker
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>
[4.8.1] Fixed GCC 4.8 ICE gen_thumb_movhi_clobber at config/arm/arm.md:5832
Ported from AOSP

Signed-off-by: Paul Beeler <sparksco@gmail.com>