diff options
author | Rong Xu <xur@google.com> | 2014-10-13 15:06:37 -0700 |
---|---|---|
committer | Rong Xu <xur@google.com> | 2014-10-13 15:06:37 -0700 |
commit | c16bf8984b9f89eeb79abd9a3789151f5c98d02f (patch) | |
tree | f4f01e14d95a1d713169e3064537758e1d594197 /gcc-4.9/gcc/configure | |
parent | c5748954561f492fe1c4ea772e0290079af9960b (diff) | |
download | toolchain_gcc-c16bf8984b9f89eeb79abd9a3789151f5c98d02f.tar.gz toolchain_gcc-c16bf8984b9f89eeb79abd9a3789151f5c98d02f.tar.bz2 toolchain_gcc-c16bf8984b9f89eeb79abd9a3789151f5c98d02f.zip |
[gcc-4.9] fix for for cortex-a53 erratum 835769
This patch cherry picks r216116 from google/gcc-4_9 branch (which
is r216077 and r216079 from upstream gcc-4_9 branch).
Tested the built compiler with aarch64 devicde.
Change-Id: I75745fe35aae83bc3b64135a2efc7f8ffd9cfb1f
Diffstat (limited to 'gcc-4.9/gcc/configure')
-rwxr-xr-x | gcc-4.9/gcc/configure | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/configure b/gcc-4.9/gcc/configure index f7edc71d1..1db5c2b80 100755 --- a/gcc-4.9/gcc/configure +++ b/gcc-4.9/gcc/configure @@ -921,6 +921,7 @@ with_plugin_ld enable_gnu_indirect_function enable_initfini_array enable_comdat +enable_fix_cortex_a53_835769 with_glibc_version enable_gnu_unique_object enable_eh_frame_hdr_for_static @@ -1640,6 +1641,14 @@ Optional Features: glibc systems --enable-initfini-array use .init_array/.fini_array sections --enable-comdat enable COMDAT group support + + --enable-fix-cortex-a53-835769 + enable workaround for AArch64 Cortex-A53 erratum + 835769 by default + --disable-fix-cortex-a53-835769 + disable workaround for AArch64 Cortex-A53 erratum + 835769 by default + --enable-gnu-unique-object enable the use of the @gnu_unique_object ELF extension on glibc systems @@ -24060,6 +24069,25 @@ $as_echo "#define HAVE_AS_MABI_OPTION 1" >>confdefs.h done fi fi + # Enable default workaround for AArch64 Cortex-A53 erratum 835769. + # Check whether --enable-fix-cortex-a53-835769 was given. +if test "${enable_fix_cortex_a53_835769+set}" = set; then : + enableval=$enable_fix_cortex_a53_835769; + case $enableval in + yes) + tm_defines="${tm_defines} TARGET_FIX_ERR_A53_835769_DEFAULT=1" + ;; + no) + ;; + *) + as_fn_error "'$enableval' is an invalid value for --enable-fix-cortex-a53-835769.\ + Valid choices are 'yes' and 'no'." "$LINENO" 5 + ;; + + esac + +fi + ;; # All TARGET_ABI_OSF targets. |