aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9
Commit message (Collapse)AuthorAgeFilesLines
* [4.9] Switch gcc-4.9 to use google/gcc-4_9 branch.Rong Xu2014-07-291168-323684/+85986
| | | | | | | | | | | | | | This source drop uses svn version r212828 of google/gcc-4.9 branch. We also cherry-picked r213062, r213063 and r213064 to fix windows build issues. All gcc-4.9 patches before July 3rd are ported to google/gcc-4.9. The following prior commits has not been merged to google branch yet. (They are included in this commit). e7af147f979e657fe2df00808e5b4319b0e088c6, baf87df3cb2683649ba7e9872362a7e721117c23, and c231900e5dcc14d8296bd9f62b45997a49d4d5e7. Change-Id: I4bea3ea470387ff751c2be4cb0d4a12059b9299b
* Modify multilib usage for MIPS android platforms.Steve Ellcey2014-07-174-3/+54
| | | | | | | | Fix mips32r6 multilib for mipsel-*android* target and create new multilib config for mips64el-*android* target. Also modify default ABI and FPXX settings for android based on -mips* flags. Change-Id: Ib7b232182f3e4507f3804443f83a63b882af57da
* Fix mips64el-linux-android-4.9 buildAndrew Hsieh2014-07-071-1/+2
| | | | Change-Id: I0ac4cccaeab9e4abd80667333aec4673fc50ca8c
* Update GCC 4.9 to include mips32r6, mips64r6 and MSA changes.Steve Ellcey2014-07-0391-753/+16752
| | | | Change-Id: I136290865b137531d55321987818fc954a65f5d6
* Setup x86_64 ABI and add -mssse3 to x86 ABIPavel Chupin2014-06-201-2/+6
| | | | | | | | | | | 32-bit: replace -msse3 by -mssse3 64-bit: setup default options as -msse4.2 -mpopcnt Note: when multilib compiler is used -m32 will match 32-bit options and -m64 or default (neither -m32 nor -m64) will match 64-bit options. Change-Id: Ia20a03f54e3ff5857108e9ab0ae1c4c7c1e6cc7f Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* [4.6,4.8,4.9] Porting ARM NEON intrinsics to SSE x86Anton Konovalov2014-06-072-2/+8643
| | | | | | | | Added arm_neon.h to gcc 4.6, 4.8 and 4.9 toolchains. Updated config.gcc files. Change-Id: If9c12c3e31f5256b178816dffb41c86af0912db0 Signed-off-by: Anton Konovalov <anton.konovalov@intel.com> Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* Merge "[4.8, 4.9] Fix aarch64/arm_neon.h vqdmulh_n_s16"Andrew Hsieh2014-05-271-2/+2
|\
| * [4.8, 4.9] Fix aarch64/arm_neon.h vqdmulh_n_s16Andrew Hsieh2014-05-201-2/+2
| | | | | | | | | | | | | | | | | | | | To use FP_LO_REGS for the 2nd SIMD register with h[index] See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61202 http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802a/SQDMULH_advsimd_elt_scalar.html Google BUG 14825026 Change-Id: Ifd870e8ab851d93bda6734aee04d09db17461bdd
* | [4.9] Refresh GCC 4.9 to the 20140514 snapshot.Ben Cheng2014-05-17137-1107/+3825
|/ | | | | | For critical bug fixes including devirtualization and codegen. Change-Id: I8138d3dc408fc12db5eecb01d2753d39219712f2
* Merge "[4.8, 4.9] Add simplify-got"Andrew Hsieh2014-05-1614-0/+591
|\
| * [4.8, 4.9] Add simplify-gotCarrot Wei2014-05-1514-0/+591
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pass optimize GOT_PREL (already exists in toolchain/gcc/gcc-4.6) Backport from svn://gcc.gnu.org/svn/gcc/branches/google/gcc-4_6-mobile UNSPEC_GOT_PREL_SYM is now in new file arm/unspecs.md 4.9 port is slightly different due to changes in gcc passes See Google b/14811006 r173209 | carrot | 2011-04-30 16:07:46 +0800 (Sat, 30 Apr 2011) | 21 lines * hooks.c (hook_rtx_void_null): New function. * hooks.h (hook_rtx_void_null): New prototype. * target.def (got_access): New hook vector declaration. * tree-pass.h (pass_simplify_got): New pass. * timevar.def (TV_SIMPLIFY_GOT): New TV id. * simplify-got.c: New source file. * Makefile.in (simplify-got.o): Add a new file. * passes.c (init_optimization_passes): Add a new pass. * config/arm/arm.c (arm_output_addr_const_extra): Output GOT_PREL relocation. (arm_get_pic_reg): New function. (arm_clear_pic_reg): New function. (arm_can_simplify_got_access): New function. (arm_loaded_global_var): New function. (arm_load_global_address): New function. * config/arm/arm.md (UNSPEC_GOT_PREL_SYM): New UNSPEC symbol. * testsuite/gcc.target/arm/got1.c: New testcase. * testsuite/gcc.target/arm/got2.c: New testcase. Change-Id: I91e881df19bb6937a5fbcc8e6b83d158717c7773
* | [4.9] Fix openmp supportAndrew Hsieh2014-05-145-5/+270
|/ | | | | | | | | See the following CLs for 4.8 c27bd5a265e6aeecefa6bfebe52fcf26b08298cd # Support OpenMP b6c94ff8e836a01ad3598135d19c49c9eb01a173 # needed OpenMP: Better CPU count detection for Linux d88e126b2b303c95d94b939c21f8672637871dbd # Fix openmp support to use libgomp/config/linux Change-Id: Ib85a23669c03bcdc9dd5f83b9a0f18e5cad6033d
* Merge "Fix GNU4.7/4.8/4.9 libstdc++ for clang"Andrew Hsieh2014-04-292-3/+3
|\
| * Fix GNU4.7/4.8/4.9 libstdc++ for clangAndrew Hsieh2014-04-282-3/+3
| | | | | | | | | | | | | | | | 1. Undo fix in ed7057a1ece24733fe30423cd94131deb8ccb2ca which precludes __atomic_fetch_add() now supported by clang >= 3.3 2. __float128 is supported by clang >= 3.4 Change-Id: Ic2856368d83d261e3a27e0e24ccc09743afdc68b
* | [4.9] aarch64: uncomment md_unwind_header; [4.8,4.9] aarch64: enable ↵Andrew Hsieh2014-04-282-7/+1
|/ | | | | | libatomic,libgomp Change-Id: I21bb83a2de8d27b465afb9d45440cd7966f837ee
* [4.9] Fix darwin gcc fails with -fltoAndrew Hsieh2014-04-222-0/+16
| | | | | | | | | | | Since since 4.9 "-flto" is the default, but with it error reads: .../ld: error: .../libexec/gcc/arm-linux-androideabi/4.9/liblto_plugin.so Symbol not found: _environ Replace "environ" with "*_NSGetEnviron()" Change-Id: I7f76f938f5b492458a8324a7b68ae42c0c688db6
* [4.9] Disable sincosAndrew Hsieh2014-04-221-2/+1
| | | | Change-Id: Ic0fc6346e446f7e69706570a8ae0b4fe11b24f2c
* [4.9] Fix mips64el-linux-android-4.9 build with new android-20 headersAndrew Hsieh2014-04-221-0/+1
| | | | | | See 4c35ba7730db5b95bd1404e8a334b7c8e2a9834b Change-Id: I8633259421152fa4347c6ac85b628a5d7191d0e8
* [4.9] Fix missing _U, _L, etcAndrew Hsieh2014-04-221-0/+14
| | | | | | See a1d2625be0186dc4970774bced8787f3f5f234bf Change-Id: I09088abedaaf57be70fdf967d6d1355be1dd82d9
* [4.9] GCC 4.9: Only quote arguments in pex-win32.c that need it.Ray Donnelly2014-04-221-9/+38
| | | | | | See 3abe78d4e59c075273860ea3682bf7b4499617e2 Change-Id: I96c89b0f7c265237976cb3a49529edeaaa948d41
* [4.9] Fix aarch64 to use Android specs.Ben Cheng2014-04-221-1/+1
| | | | | | See bb9a7de92c3a7a4ae8a47536e36559673dd886e9 Change-Id: Id96f2d455699a125e773829cb95939438c242aa6
* [4.9] Add additional multilib option: mfloat-abi=hardAndrew Hsieh2014-04-221-3/+4
| | | | | | See 5be615df32ce970fcccda93cf577e9ce35b1d397 Change-Id: Iabbfcf0080d966e809e1a8521e93de7fcabd03a4
* [4.9] Fix mips64 to use ABI_64 by defaultIceberg Fu2014-04-221-1/+9
| | | | | | See 1c712bf7621f3859c33fd3afaa61fdcaf3fdfd76 Change-Id: I50488b4fe61380d174ec508a9fdbdde19c519917
* [4.9] Extend MIPS GCC4.9 -mldc1-sdc1 to control ldxc1/sdxc1 tooIceberg Fu2014-04-222-3/+3
| | | | | | See 79ba8bc76c0534e9f2544af2d1943b1581c84c77 Change-Id: I79a7c1cb378ca3f75d55ca4303a17ecbf7ecff1b
* [4.9] Add MXU support in gcc4.9 with -mmxuAndrew Hsieh2014-04-222-0/+5
| | | | | | See 793e263d62bb7f85426899cd7a86e821dd38d12a Change-Id: I51aed0f36c14417647bcd651eb5da622b2fb55a6
* [4.9] Always enable --eh-frame-hdr for static executableH.J. Lu2014-04-2211-5/+128
| | | | | | | See 5e6cdf76af295c9a39b695ca228cff675e8ff4ae and 23e3137ee2897464b051599b85a09f130d3ad05d Change-Id: Ibda473188e5a10f2a0592f2494ad00ad1f91e04b
* [4.9] Add stack unwinding directives for __aeabi_idiv0 in libgcc.aBen Cheng2014-04-222-0/+8
| | | | | | See e85b9ca2afe8edbb9fa99c6ce2cc4e52dce18c21 Change-Id: Ic62d25125387a48412c99fbb16e509b79091559d
* [4.9] Add an internal switch -minline-thumb1-jumptable to ARM gcc4.9Lai Wei-Chih2014-04-224-3/+9
| | | | | | See a3529b2d6b2bcc7136fd67e00e539301942e74d1 Change-Id: Ie1e6f08d437f661096e0ca14b89cb15b7b2dd538
* [4.9] Fix ARM/GCC-4.9 generates insufficient alignment for NEON vst/vldAndrew Hsieh2014-04-221-2/+6
| | | | | | See d909af3e2469aad87d5c3e79b93c778fd26c03a9 Change-Id: Ie1de9f946f397196bb6f1623f5add86933739484
* [4.9] Add new GCC/MIPS option -mldc1-sdc1Andrew Hsieh2014-04-222-2/+6
| | | | | | See 6e6510c702f12bc6320681075cc0ba8dc2c814a7 Change-Id: Ic0d11dc74396785a73ae8477e4d5ce46c031f091
* [4.9] Maintain default visibility for helper functions in libgcc.a.Ben Cheng2014-04-221-0/+10
| | | | | | See 68330d08ea4b3e32dbadcfae109508f386177e68 Change-Id: Icd2f323e66d689f62b61c9819b983f4a3bb13984
* [4.9] GNU libstdc++ --enable-linux-futexAndrew Hsieh2014-04-222-0/+17
| | | | | | See bf7fbbea63a8ec70c0cf36969af6d9ded9583d16 Change-Id: I8ab5c14fa486c53d7c6abf4c2ca333469632d459
* [4.9] Use READELF_FOR_TARGET in GCC 4.9Andrew Hsieh2014-04-222-3/+7
| | | | | | See 59f82b394a9ece7ea20714014a0b9800da3a87fe Change-Id: I209ab527ff7ff75d11c24c8b41fc597f7062e1a3
* [4.9] Use default visibility for the __cxa functions in eh_arm.cc.Ben Cheng2014-04-221-0/+12
| | | | | | See 4e9989f243cd0a5d51f76e6ce98828c7cb6b9246 Change-Id: Icd8571e9e23b5dd23ae52db71019ecc4b5deb8e3
* [4.9] Fix MIPS GCC to emit -m elf32ltsmip for linkerAndrew Hsieh2014-04-221-0/+1
| | | | | | See 8648b5263208a4e894d9ceaacedb72d48be70c55 Change-Id: I658234d073de514e4aa40fdb8087d5467d8ee9f5
* [4.9] Add mclinker support: -fuse-ld=mcldAndrew Hsieh2014-04-225-5/+18
| | | | | | | | See 06b207c97dfb0d70f1f2ef91b93b665dceae0d27, 04288e6d5db307539ffc86eff17dc7fd5a2eb973 and 6914eb3758e3c3db5f50f89da12193c22a0531c4 Change-Id: I94f901d9187c9bc3a9f2f4e24795c4bf0f3a62c0
* [4.9] Use memalign instead of posix_memalign in GCC x86 mm_malloc.hAndrew Hsieh2014-04-221-0/+6
| | | | | | See feb0a69677101f361aaf5dbfcdd8b5a7a827900f Change-Id: Icf882ff2441ef88ef5e3c5d4131011d8ef5348cd
* [4.9] Disable libstdc versioningAndrew Hsieh2014-04-222-2/+2
| | | | | | See f50a81165e305c7339bec78bd3c9cf8a35e1f233 Change-Id: I55451042ed0fe1517e95283c1fefacd0ada63b0b
* [4.9] Enable _GLIBCXX_HAS_GTHREADS in GCC 4.9Andrew Hsieh2014-04-221-1/+1
| | | | | | See e830d092a4da90315a8c7bbe886582fc6357606d Change-Id: I378448992bc5ca2b2de59369ea3c475dea01cfc5
* [4.9] Patch GCC libstdc++ to work with Clang in C++11Andrew Hsieh2014-04-221-1/+1
| | | | | | See 0e1e4c378ef579441c3815c6213422f1df530f9b Change-Id: I74314f368c202436ddef80639d7096e943d7fb5d
* [4.9] Fix ARM GCC fail to links code using 64-bit atomic built-inAndrew Hsieh2014-04-221-0/+4
| | | | | | See 18f0873ec950f1496e55c2bd68b9debd1b0bb4ce Change-Id: Ibfadd5a581a7002752902ace324c96d9415bc64a
* [4.9] Backport a gimplify fix.Ben Cheng2014-04-221-0/+9
| | | | | | See eceb576ea5b15a7f8f179f131b665afeeba1c6ad Change-Id: Ifd1dec97b9ceed460d10eaaaf4aa923d02ad2c29
* [4.9] Enable armv7/thumb2 multilib for arm-eabi.Ben Cheng2014-04-221-12/+17
| | | | | | See f541ff89c2d66197e371ed6f85174bd732afd8db Change-Id: Id642af0523d7af414a906836936b41554b730e98
* [4.9] Handle NULL return value of setlocale() in libstdc++Andrew Hsieh2014-04-223-21/+41
| | | | | | See 9fc377fd2c2dce50298e33e578d7065e285171e0 Change-Id: I3cf4b8efe75fa45c5743fd7c1f6fc8170597c0a7
* [4.9] Port MIPS Android support to GCC-4.9Andrew Hsieh2014-04-224-2/+12
| | | | | | See 75b9f722caccc5276fc9c236b9ccb3f7888a86f8 Change-Id: Ia941c59bb94ab943c6ccc188b050daf1894d31d2
* [4.9] Enable x86/arm gcc defaults; Remove march/mtune/mfpmath/-m32 hardcoded ↵Andrew Hsieh2014-04-223-4/+11
| | | | | | | | | values See 8ca3ada77e50f58668ed31fac0d0b929a96ae40a and 19cf682fd52c042ec6b988ef294dacc45fa50944 Change-Id: Ibc672343710b4b414d11c600fe069ed60692c90b
* [4.9] Enable assembler linker default for securityAndrew Hsieh2014-04-225-5/+17
| | | | | | | See 5c602438be54c0802c21b299ab8bd94efbfc0c70 and 7e66b0108987a56a58c6150672fe7cf8cf88e69a Change-Id: I674ca1da71a1c41024057b66613a875aac97f99a
* [4.9] Work-around for Android __cxa_finalize bugDigit' Turner2014-04-221-0/+8
| | | | Change-Id: Ib479124867ee2c81a761fdb01a80d9cfc681213b
* [4.9] GCC 4.9.0 official release refreshBen Cheng2014-04-22692-3854/+324197
| | | | Change-Id: Ic99a7da8b44b789a48aeec93b33e93944d6e6767
* [4.9] Temporarily disable __cxa_throw_bad_array_new_lengthBen Cheng2014-04-102-2/+5
| | | | | | Hack can be removed when it is supported by NDK. Change-Id: I043bb12580442fae48298a51d045b73f9cb568d3