pr63304_1.c: Remove-mno-fix-cortex-a53-843419.
authorKugan Vivekanandarajah <kuganv@linaro.org>
Wed, 13 Sep 2017 01:28:43 +0000 (01:28 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Wed, 13 Sep 2017 01:28:43 +0000 (01:28 +0000)
gcc/testsuite/ChangeLog:

2017-09-13  Kugan Vivekanandarajah  <kuganv@linaro.org>

* gcc.target/aarch64/pr63304_1.c: Remove-mno-fix-cortex-a53-843419.

gcc/ChangeLog:

2017-09-13  Kugan Vivekanandarajah  <kuganv@linaro.org>

* config/aarch64/aarch64.c (aarch64_override_options_after_change_1):
Disable pc relative literal load irrespective of TARGET_FIX_ERR_A53_84341
for default.

From-SVN: r252053

gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr63304_1.c

index aaf639461c04f420660867415e651e1129ec55f6..0ac2cf14c3fda5cef150d487458041e74220715a 100644 (file)
@@ -1,3 +1,9 @@
+2017-09-13  Kugan Vivekanandarajah  <kuganv@linaro.org>
+
+       * config/aarch64/aarch64.c (aarch64_override_options_after_change_1):
+       Disable pc relative literal load irrespective of TARGET_FIX_ERR_A53_84341
+       for default.
+
 2017-09-12  Eric Botcazou  <ebotcazou@adacore.com>
 
        * config/sparc/sparc.c (output_return): Output the source location of
index de1fbdca950b452f5616f37eb0ea719ee793cfdc..1c1400871d4e08ae97d0c8c320f1b183e5a8efb1 100644 (file)
@@ -8986,17 +8986,6 @@ aarch64_override_options_after_change_1 (struct gcc_options *opts)
   if (opts->x_pcrelative_literal_loads == 1)
     aarch64_pcrelative_literal_loads = true;
 
-  /* This is PR70113. When building the Linux kernel with
-     CONFIG_ARM64_ERRATUM_843419, support for relocations
-     R_AARCH64_ADR_PREL_PG_HI21 and R_AARCH64_ADR_PREL_PG_HI21_NC is
-     removed from the kernel to avoid loading objects with possibly
-     offending sequences.  Without -mpc-relative-literal-loads we would
-     generate such relocations, preventing the kernel build from
-     succeeding.  */
-  if (opts->x_pcrelative_literal_loads == 2
-      && TARGET_FIX_ERR_A53_843419)
-    aarch64_pcrelative_literal_loads = true;
-
   /* In the tiny memory model it makes no sense to disallow PC relative
      literal pool loads.  */
   if (aarch64_cmodel == AARCH64_CMODEL_TINY
index dc5ae01a641365f0115e9d5d0d43adf0807cad36..ed0a85863638e3dadf00d97b8f3f54bfa446bc2b 100644 (file)
@@ -1,3 +1,7 @@
+2017-09-13  Kugan Vivekanandarajah  <kuganv@linaro.org>
+
+       * gcc.target/aarch64/pr63304_1.c: Remove-mno-fix-cortex-a53-843419.
+
 017-09-12  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/70621
index 114d8c1a6c307b688085b0e1648ebe55e04e8857..b00f9a6862156a6c1ec272dd980cf720c317de19 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do assemble } */
-/* { dg-options "-O1 --save-temps -mno-fix-cortex-a53-843419" } */
+/* { dg-options "-O1 --save-temps" } */
 #pragma GCC push_options
 #pragma GCC target ("+nothing+simd, cmodel=small")