Deleted Added
full compact
strip.1 (218822) strip.1 (226436)
1.\" $FreeBSD: head/gnu/usr.bin/binutils/strip/strip.1 218822 2011-02-18 20:54:12Z dim $
1.\" $FreeBSD: head/gnu/usr.bin/binutils/strip/strip.1 226436 2011-10-16 14:30:28Z eadler $
2.\" Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14)
3.\"
4.\" Standard preamble:
5.\" ========================================================================
6.de Sp \" Vertical space (when we can't use .PP)
7.if t .sp .5v
8.if n .sp
9..

--- 285 unchanged lines hidden (view full) ---

295.Sp
296The intention is that this option will be used in conjunction with
297\&\fB\-\-add\-gnu\-debuglink\fR to create a two part executable. One a
298stripped binary which will occupy less space in \s-1RAM\s0 and in a
299distribution and the second a debugging information file which is only
300needed if debugging abilities are required. The suggested procedure
301to create these files is as follows:
302.RS 4
2.\" Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14)
3.\"
4.\" Standard preamble:
5.\" ========================================================================
6.de Sp \" Vertical space (when we can't use .PP)
7.if t .sp .5v
8.if n .sp
9..

--- 285 unchanged lines hidden (view full) ---

295.Sp
296The intention is that this option will be used in conjunction with
297\&\fB\-\-add\-gnu\-debuglink\fR to create a two part executable. One a
298stripped binary which will occupy less space in \s-1RAM\s0 and in a
299distribution and the second a debugging information file which is only
300needed if debugging abilities are required. The suggested procedure
301to create these files is as follows:
302.RS 4
303.IP "1.<Link the executable as normal. Assuming that is is called>" 4
304.IX Item "1.<Link the executable as normal. Assuming that is is called>"
303.IP "1.<Link the executable as normal. Assuming that it is called>" 4
304.IX Item "1.<Link the executable as normal. Assuming that it is called>"
305\&\f(CW\*(C`foo\*(C'\fR then...
306.ie n .IP "1.<Run ""objcopy \-\-only\-keep\-debug foo foo.dbg"" to>" 4
307.el .IP "1.<Run \f(CWobjcopy \-\-only\-keep\-debug foo foo.dbg\fR to>" 4
308.IX Item "1.<Run objcopy --only-keep-debug foo foo.dbg to>"
309create a file containing the debugging info.
310.ie n .IP "1.<Run ""objcopy \-\-strip\-debug foo"" to create a>" 4
311.el .IP "1.<Run \f(CWobjcopy \-\-strip\-debug foo\fR to create a>" 4
312.IX Item "1.<Run objcopy --strip-debug foo to create a>"

--- 80 unchanged lines hidden ---
305\&\f(CW\*(C`foo\*(C'\fR then...
306.ie n .IP "1.<Run ""objcopy \-\-only\-keep\-debug foo foo.dbg"" to>" 4
307.el .IP "1.<Run \f(CWobjcopy \-\-only\-keep\-debug foo foo.dbg\fR to>" 4
308.IX Item "1.<Run objcopy --only-keep-debug foo foo.dbg to>"
309create a file containing the debugging info.
310.ie n .IP "1.<Run ""objcopy \-\-strip\-debug foo"" to create a>" 4
311.el .IP "1.<Run \f(CWobjcopy \-\-strip\-debug foo\fR to create a>" 4
312.IX Item "1.<Run objcopy --strip-debug foo to create a>"

--- 80 unchanged lines hidden ---