summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinath Parvathaneni <srinath.parvathaneni@arm.com>2023-01-23 13:37:07 +0000
committerAndrea Corallo <andrea.corallo@arm.com>2023-03-09 16:11:15 +0100
commitf430585dbb99031c4ba0260c672661f9438feb60 (patch)
treed9f435884de6a0982f4ba47b9d84786175533602
parent28c545f81a888154ca8abf844197f4eca473e61d (diff)
downloadgcc-f430585dbb99031c4ba0260c672661f9438feb60.tar.gz
arm: Documentation fix for -mbranch-protection option.
This patch fixes the documentation for -mbranch-protection command line option. gcc/ChangeLog: 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com> * doc/invoke.texi (-mbranch-protection): Update documentation.
-rw-r--r--gcc/doc/invoke.texi3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 1749cb95f70..a389991ebfb 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -21550,8 +21550,7 @@ The opposite @option{-mno-fdpic} option is useful (and required) to
build the Linux kernel using the same (@code{arm-*-uclinuxfdpiceabi})
toolchain as the one used to build the userland programs.
-@item
--mbranch-protection=@var{none}|@var{standard}|@var{pac-ret}[+@var{leaf}][+@var{bti}]|@var{bti}[+@var{pac-ret}[+@var{leaf}]]
+@item -mbranch-protection=@var{none}|@var{standard}|@var{pac-ret}[+@var{leaf}][+@var{bti}]|@var{bti}[+@var{pac-ret}[+@var{leaf}]]
@opindex mbranch-protection
Enable branch protection features (armv8.1-m.main only).
@samp{none} generate code without branch protection or return address