This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, AArch64] Add Cortex-A53 erratum 843419 configure-time option
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Yvan Roux <yvan dot roux at linaro dot org>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Maxim Kuvyrkov <maxim dot kuvyrkov at linaro dot org>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, James Greenhalgh <james dot greenhalgh at arm dot com>
- Date: Fri, 1 May 2015 16:18:31 +0100
- Subject: Re: [PATCH, AArch64] Add Cortex-A53 erratum 843419 configure-time option
- Authentication-results: sourceware.org; auth=none
- References: <CAD57uCdGEc4PH=V4DQpTVuCvTSJx35pvS_yAE_vQGmUYRDrZBA at mail dot gmail dot com> <CAFqB+PzJmQo25P1NR8cfA814EoeSquPYE5Vt_8mhU9Xctm_AAQ at mail dot gmail dot com> <CAD57uCedxcaN3t5jtwFqUQ=Gi2vdDiHhkYcckS7MGNi_YPj+Lg at mail dot gmail dot com> <CAD57uCeLG4d4-um0h0qnCTS-BBYk5reMRa8WLc_QQjTjwpD4Mw at mail dot gmail dot com>
On 1 May 2015 at 14:56, Yvan Roux <yvan.roux@linaro.org> wrote:
> 2015-05-01 Yvan Roux <yvan.roux@linaro.org>
>
> * configure.ac: Add --enable-fix-cortex-a53-843419 option.
> * configure: Regenerate.
> * config/aarch64/aarch64-elf-raw.h (CA53_ERR_843419_SPEC): Define.
> (LINK_SPEC): Include CA53_ERR_843419_SPEC.
> * config/aarch64/aarch64-linux.h (CA53_ERR_843419_SPEC): Define.
> (LINK_SPEC): Include CA53_ERR_843419_SPEC.
> * doc/install.texi (aarch64*-*-*): Document
> new --enable-fix-cortex-a53-843419 option
> * config/aarch64/aarch64.opt (mfix-cortex-a53-843419): New option.
> * doc/invoke.texi (AArch64 Options): Document -mfix-cortex-a53-843419
> and -mno-fix-cortex-a53-8434199 options.
>
+@option{--enable-fix-cortex-a53-843419} option. This erratum
workaround is
+made at link time and enabling it by default in GCC will only pass
the
How about something like "The workaround is applied at link time.
Enabling the workaround will cause GCC to pass the relevant option to
the linker." ?
+corresponding flag to the linker. It can be explicitly disabled
during
+compilation by passing the @option{-mno-fix-cortex-a53-835769} option.
Copy paste error here with the previous errata number.
Cheers
/Marcus