diff options
author | Srinath Parvathaneni <srinath.parvathaneni@arm.com> | 2023-01-23 13:37:07 +0000 |
---|---|---|
committer | Andrea Corallo <andrea.corallo@arm.com> | 2023-03-09 16:11:15 +0100 |
commit | f430585dbb99031c4ba0260c672661f9438feb60 (patch) | |
tree | d9f435884de6a0982f4ba47b9d84786175533602 | |
parent | 28c545f81a888154ca8abf844197f4eca473e61d (diff) | |
download | gcc-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.texi | 3 |
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 |