On 4/2/19 6:45 AM, Sudakshina Das wrote:
Hi

This patch add the missing documentation bits for -mbranch-protection in
both extend.texi and invoke.texi.

Is this ok for trunk?

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 
ef7adb6a9c0fe1abd769e237fd8d0ce4c614aef8..7e1c28182138aeba163e50f5b7ed60812c1dfe27
 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -3925,7 +3925,15 @@ same as for the @option{-mcpu=} command-line option.
 @cindex @code{sign-return-address} function attribute, AArch64
 Select the function scope on which return address signing will be applied.  The
 behavior and permissible arguments are the same as for the command-line option
-@option{-msign-return-address=}.  The default value is @code{none}.
+@option{-msign-return-address=}.  The default value is @code{none}.  This
+attribute is @code{deprecated}.  The @code{branch-protection} attribute should
+be used instead.

s/@code{deprecated}/deprecated/

The patch is OK with that tweak.

-Sandra

Reply via email to