]> git.ipfire.org Git - thirdparty/gcc.git/commit
AArch64, ARM: Clean up documentation of -mbranch-protection.
authorSandra Loosemore <sloosemore@baylibre.com>
Thu, 6 Nov 2025 22:30:44 +0000 (22:30 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Thu, 6 Nov 2025 22:30:44 +0000 (22:30 +0000)
commiteb88c84cf75405f0904867372b31fee09cb565bf
tree8c795960fb7ed4d4d66a45131887588b2dc2bd30
parente5b5a1322dec8d713d649378529ee28b816b5b1b
AArch64, ARM: Clean up documentation of -mbranch-protection.

While working on other things, I noticed that the documentation for
the -mbranch-protection= option was pretty garbled on both aarch64 and
arm targets, with incorrect markup, too much syntax crammed into the
option summary, and confusion about what the values "+leaf" modifier
can apply to.  I rewrote it to list all the valid option values
explicitly in the option description, checking this against the
implementation.

gcc/ChangeLog
* doc/invoke.texi (AArch64 Options): Clean up description of
-mbranch-protection= argument.
(ARM Options): Likewise.
gcc/doc/invoke.texi