summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbenno <benno@openbsd.org>2014-09-28 10:43:33 +0000
committerbenno <benno@openbsd.org>2014-09-28 10:43:33 +0000
commitd56088ab4c77b4f5361b3fc65cbf41e762475905 (patch)
treeb4fbf2645147ec68d5d4fa10a827df5a46bd2ae3
parentin pool_destroy, enter and leave mutex as necessary to satisfy assertions. (diff)
downloadwireguard-openbsd-d56088ab4c77b4f5361b3fc65cbf41e762475905.tar.xz
wireguard-openbsd-d56088ab4c77b4f5361b3fc65cbf41e762475905.zip
document -fstack-shuffle
ok jmc@ tedu@
-rw-r--r--share/man/man1/gcc-local.19
1 files changed, 7 insertions, 2 deletions
diff --git a/share/man/man1/gcc-local.1 b/share/man/man1/gcc-local.1
index b169dcb5d75..5c610504386 100644
--- a/share/man/man1/gcc-local.1
+++ b/share/man/man1/gcc-local.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gcc-local.1,v 1.43 2014/07/10 19:14:40 matthew Exp $
+.\" $OpenBSD: gcc-local.1,v 1.44 2014/09/28 10:43:33 benno Exp $
.\"
.\" Copyright (c) 2002 Marc Espie
.\" Copyright (c) 2003 Anil Madhavapeddy
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 10 2014 $
+.Dd $Mdocdate: September 28 2014 $
.Dt GCC-LOCAL 1
.Os
.Sh NAME
@@ -199,6 +199,11 @@ does not store its version string in objects.
This behavior can be restored with
.Fl fident .
.It
+The option
+.Fl fstack-shuffle
+will randomize the order of stack variables at compile time, which can
+be helpful to find bugs.
+.It
.Nm gcc
will not move variables initialized with the value zero
from the data section to the bss section.