[aarch64] Refactor common errata work-around specs
authorRichard Earnshaw <rearnsha@arm.com>
Thu, 20 Jun 2019 17:27:06 +0000 (17:27 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Thu, 20 Jun 2019 17:27:06 +0000 (17:27 +0000)
commit91bed1a15a6dfb891b9658532b49f9488b5537f4
tree929885c2d0d8b1a1d8a37485cbeccfd4178affa6
parentceb76ffc6b65e8e35d6cde1148dc0ac958e4a06c
[aarch64] Refactor common errata work-around specs

With the addition of the AArch64 NetBSD support code we now have four
ports all using and defining the same errata work-around headers.
That's silly and long-term becomes a maintenance burden.

This patch factors all that code into a single header to eliminate all
the duplication.

* config/aarch64/aarch64-errata.h: New file.
* config/aarch64/aarch64-elf-raw.h (CA53_ERR_835769_SPEC): Delete.
(CA53_ERR_843419_SPEC): Delete.
(LINK_SPEC): Use AARCH64_ERRATA_LINK_SPEC instead of above.
* config/aarch64/aarch64-linux.h: Likewise.
* config/aarch64/aarch64-netbsd.h: Likewise.
* config/aarch64/aarch64-freebsd.h: Likewise.

From-SVN: r272515
gcc/ChangeLog
gcc/config.gcc
gcc/config/aarch64/aarch64-elf-raw.h
gcc/config/aarch64/aarch64-errata.h [new file with mode: 0644]
gcc/config/aarch64/aarch64-freebsd.h
gcc/config/aarch64/aarch64-linux.h
gcc/config/aarch64/aarch64-netbsd.h