Module Name: src
Committed By: joerg
Date: Mon Jun 10 19:40:53 UTC 2013
Modified Files:
src/usr.bin/crunch/crunchgen: crunchgen.1
Log Message:
Document section stripping.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/crunch/crunchgen/crunchgen.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/crunch/crunchgen/crunchgen.1
diff -u src/usr.bin/crunch/crunchgen/crunchgen.1:1.29 src/usr.bin/crunch/crunchgen/crunchgen.1:1.30
--- src/usr.bin/crunch/crunchgen/crunchgen.1:1.29 Sun Apr 8 22:00:38 2012
+++ src/usr.bin/crunch/crunchgen/crunchgen.1 Mon Jun 10 19:40:53 2013
@@ -1,4 +1,4 @@
-.\" $NetBSD: crunchgen.1,v 1.29 2012/04/08 22:00:38 wiz Exp $
+.\" $NetBSD: crunchgen.1,v 1.30 2013/06/10 19:40:53 joerg Exp $
.\"
.\" Copyright (c) 1994 University of Maryland
.\" All Rights Reserved.
@@ -24,7 +24,7 @@
.\" Computer Science Department
.\" University of Maryland at College Park
.\"
-.Dd October 18, 2006
+.Dd June 10, 2013
.Dt CRUNCHGEN 1
.Os
.Sh NAME
@@ -272,6 +272,28 @@ If they are not valid for a particular p
program is skipped in the
.Ar objs
target.
+.Pp
+The makefile produced by
+.Nm
+strips certain sections from the final binary to reduce its size.
+This includes:
+.Bl -tag -width ".Li .eh_frame_hdr"
+.It Li .eh_frame
+Unwinding tables for exceptions and backtraces.
+.It Li .eh_frame_hdr
+Index of the
+.Li .eh_frame
+section.
+.It Li .note
+Optional data for the kernel and/or runtime linker.
+.It Li .comment
+Comments in the binary.
+.It Li .ident
+Embedded source revisions used by
+.Xr ident 1 .
+.It Li .copyright
+Embedded copyright notes.
+.El
.Sh ENVIRONMENT
.Bl -tag -width MAKEOBJDIRPREFIX
.It Ev MAKEOBJDIRPREFIX