From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2092) id 378AD3858409; Fri, 10 Mar 2023 16:22:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 378AD3858409 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678465334; bh=3aIoqJzSlDNSrJBoftvQJKinoGEX+OSnLyCSGujRrdw=; h=From:To:Subject:Date:From; b=FSs6Og5o+XsdxeMR+IVWgzCu5mMXHe32jPErCCw7EqbBFNnQlSx0X6iiPChc0RWd4 /lmRYL/3s9KO37ukkrYSf2U1A/BWIAgATJcTr6PjSenf2fvxLmdLauXqHn5RIBt46N H0L5twJNPuPP+aePs9c/Fp7sJgtnrHPOARiIuklI= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Andrea Corallo To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/ARM/heads/arm-12-m-pacbti)] arm: Documentation fix for -mbranch-protection option. X-Act-Checkin: gcc X-Git-Author: Srinath Parvathaneni X-Git-Refname: refs/vendors/ARM/heads/arm-12-m-pacbti X-Git-Oldrev: 28c545f81a888154ca8abf844197f4eca473e61d X-Git-Newrev: f430585dbb99031c4ba0260c672661f9438feb60 Message-Id: <20230310162214.378AD3858409@sourceware.org> Date: Fri, 10 Mar 2023 16:22:14 +0000 (GMT) List-Id: https://gcc.gnu.org/g:f430585dbb99031c4ba0260c672661f9438feb60 commit f430585dbb99031c4ba0260c672661f9438feb60 Author: Srinath Parvathaneni Date: Mon Jan 23 13:37:07 2023 +0000 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 * doc/invoke.texi (-mbranch-protection): Update documentation. Diff: --- gcc/doc/invoke.texi | 3 +-- 1 file changed, 1 insertion(+), 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