Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/crunch/crunchgen Document section stripping.



details:   https://anonhg.NetBSD.org/src/rev/f5a032381f38
branches:  trunk
changeset: 787320:f5a032381f38
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Jun 10 19:40:53 2013 +0000

description:
Document section stripping.

diffstat:

 usr.bin/crunch/crunchgen/crunchgen.1 |  26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r 19cf5d1009d0 -r f5a032381f38 usr.bin/crunch/crunchgen/crunchgen.1
--- a/usr.bin/crunch/crunchgen/crunchgen.1      Mon Jun 10 19:07:09 2013 +0000
+++ b/usr.bin/crunch/crunchgen/crunchgen.1      Mon Jun 10 19:40:53 2013 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index