[doc] : Reword mstack-protector-guard description.

Submitted by Uros Bizjak on April 16, 2013, 9:39 a.m.

Details

Message ID CAFULd4a6LyPaAO271jwiUri4jX4ky=AdExRntuSYnjf2AvQ3bw@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak April 16, 2013, 9:39 a.m.
Hello!

2013-04-16  Uros Bizjak  <ubizjak@gmail.com>

    * doc/invoke.texi (i386 Option): Reword mstack-protector-guard
    description.

Tested on x86_64-pc-linux-gnu.

OK for mainline?

Uros.

Comments

Gerald Pfeifer April 16, 2013, 3:07 p.m.
On Tue, 16 Apr 2013, Uros Bizjak wrote:
> 2013-04-16  Uros Bizjak  <ubizjak@gmail.com>
> 
>     * doc/invoke.texi (i386 Option): Reword mstack-protector-guard
>     description.

Looks good to me.

Thanks,
Gerald

Patch hide | download patch | download mbox

Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi	(revision 197993)
+++ doc/invoke.texi	(working copy)
@@ -14596,9 +14596,9 @@ 
 @item -mstack-protector-guard=@var{guard}
 @opindex mstack-protector-guard=@var{guard}
 Generate stack protection code using canary at @var{guard}.  Supported
-locations are @samp{global} or @samp{tls} per thread at %gs:20 (the default).
-This option has effect only when @option{-fstack-protector}
-or @option{-fstack-protector-all} is also specified.
+locations are @samp{global} for global canary or @samp{tls} for per-thread
+canary in the TLS block (the default).  This option has effect only when
+@option{-fstack-protector} or @option{-fstack-protector-all} is specified.
 
 @end table