Annotation of src/usr.bin/ctfconv/ctfstrip.1, Revision 1.2
1.2 ! jasper 1: .\" $OpenBSD$
1.1 mpi 2: .\"
3: .\" Copyright (c) 2017 Martin Pieuchot
4: .\"
5: .\" Permission to use, copy, modify, and distribute this software for any
6: .\" purpose with or without fee is hereby granted, provided that the above
7: .\" copyright notice and this permission notice appear in all copies.
8: .\"
9: .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10: .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11: .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12: .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13: .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14: .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15: .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16: .\"
1.2 ! jasper 17: .Dd $Mdocdate: August 11 2017 $
1.1 mpi 18: .Dt CTFSTRIP 1
19: .Os
20: .Sh NAME
21: .Nm ctfstrip
22: .Nd insert a CTF section
23: .Sh SYNOPSIS
24: .Nm ctfstrip
25: .Op Fl S
26: .Op Fl o Ar outfile
27: .Ar file
28: .Sh DESCRIPTION
29: The
30: .Nm
31: utility generates and inserts a
32: .Dv .SUNW_ctf
33: section in a
34: .Xr elf 5
35: file based on the content of its exisiting DWARF debug sections.
36: .Pp
37: The options are as follows:
38: .Bl -tag -width Ds
39: .It Fl S
40: Remove debug sections.
41: .It Fl o Ar outfile
42: Put the converted output in
43: .Ar outfile
44: instead of replacing
45: .Ar file .
46: .El
47: .Sh EXIT STATUS
48: .Ex -std ctfstrip
49: .Sh SEE ALSO
50: .Xr ctfconvert 1 ,
51: .Xr strip 1 ,
52: .Xr elf 5