]> git.ipfire.org Git - thirdparty/gcc.git/commit
AArch64: Remove BTI from outline atomics
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Tue, 26 Sep 2023 15:27:38 +0000 (16:27 +0100)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Tue, 26 Sep 2023 15:37:38 +0000 (16:37 +0100)
commite1e18ea0defe9e1ee35abbbe5279028ecf786957
tree9ae3a5fe67b073416bfe81efdf96ebbefc7af3ff
parentc3c6f30496d945b77dcb7f4ad8c3f8094f5a64a4
AArch64: Remove BTI from outline atomics

The outline atomic functions have hidden visibility and can only be called
directly.  Therefore we can remove the BTI at function entry.  This improves
security by reducing the number of indirect entry points in a binary.
The BTI markings on the objects are still emitted.

libgcc/ChangeLog:
* config/aarch64/lse.S (BTI_C): Remove define.
libgcc/config/aarch64/lse.S