summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2014-09-28 10:43:34 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2014-09-28 10:43:34 +0000
commit8b438548c520c6fc8601a17ff3a3fff110aab79c (patch)
tree1e99335693f4ce49214c236734b590ae5551dff0 /share/man
parent6f52de09278160652893150f1262f24c834917aa (diff)
document -fstack-shuffle
ok jmc@ tedu@
Diffstat (limited to 'share/man')
-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.