]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/doc/invoke.texi
aarch64: Add support for GCS system registers with the +gcs modifier
authorVictor Do Nascimento <victor.donascimento@arm.com>
Fri, 3 Nov 2023 16:44:56 +0000 (16:44 +0000)
committerVictor Do Nascimento <victor.donascimento@arm.com>
Wed, 6 Dec 2023 21:19:53 +0000 (21:19 +0000)
commit3aba045882d1f589d36eaedd947a014ac6eb5ec3
tree363cb5cadb488eb5154576a162fa2ec8340575b2
parent16a05fac33ddde7a50da9cb937a9b83ea7c111f6
aarch64: Add support for GCS system registers with the +gcs modifier

Given the introduction of system registers associated with the Guarded
Control Stack extension to Armv9.4-a in Binutils and their reliance on
the `+gcs' modifier, we implement the necessary changes in GCC to
allow for them to be recognized by the compiler.

gcc/ChangeLog:

* config/aarch64/aarch64-option-extensions.def (gcs): New.
* config/aarch64/aarch64.h (AARCH64_ISA_GCS): New.
(TARGET_THE):  Likewise.
* doc/invoke.texi (AArch64 Options): Describe GCS.
gcc/config/aarch64/aarch64-option-extensions.def
gcc/config/aarch64/aarch64.h
gcc/doc/invoke.texi