]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - cddl/usr.bin/ctfmerge/ctfmerge.1
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / cddl / usr.bin / ctfmerge / ctfmerge.1
1 .\"
2 .\" Copyright (c) 2010 The FreeBSD Foundation 
3 .\" All rights reserved. 
4 .\" 
5 .\" This software was developed by Rui Paulo under sponsorship from the
6 .\" FreeBSD Foundation. 
7 .\"  
8 .\" Redistribution and use in source and binary forms, with or without 
9 .\" modification, are permitted provided that the following conditions 
10 .\" are met: 
11 .\" 1. Redistributions of source code must retain the above copyright 
12 .\"    notice, this list of conditions and the following disclaimer. 
13 .\" 2. Redistributions in binary form must reproduce the above copyright 
14 .\"    notice, this list of conditions and the following disclaimer in the 
15 .\"    documentation and/or other materials provided with the distribution. 
16 .\" 
17 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 
18 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
19 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
20 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 
21 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
22 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 
23 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
24 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
25 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 
26 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 
27 .\" SUCH DAMAGE. 
28 .\"
29 .\" $FreeBSD$
30 .\"
31 .Dd July 7, 2010
32 .Dt CTFMERGE 1
33 .Os
34 .Sh NAME
35 .Nm ctfmerge
36 .Nd merge several CTF data sections into one
37 .Sh SYNOPSIS
38 .Nm
39 .Op Fl fgstv
40 .Fl l Ar label
41 .Fl L Ar labelenv
42 .Fl o Ar outfile
43 file ...
44 .Nm
45 .Op Fl fgstv
46 .Fl l Ar label
47 .Fl L Ar labelenv
48 .Fl o Ar outfile
49 .Fl d Ar uniqfile
50 .Op Fl g
51 .Op Fl D Ar uniqlabel
52 file ...
53 .Nm
54 .Op Fl fgstv
55 .Fl l Ar label
56 .Fl L Ar labelenv
57 .Fl o Ar outfile
58 .Fl w Ar withfile
59 file ...
60 .Nm
61 .Op Fl g
62 .Fl c Ar srcfile
63 .Ar destfile
64 .Sh DESCRIPTION
65 The
66 .Nm
67 utility merges several CTF data sections from several files into one
68 output file, unifying common data.
69 .Pp
70 The following options are available:
71 .Bl -tag -width indent
72 .It Fl f
73 Match global symbols to global CTF data.
74 .It Fl g
75 Don't delete the original debugging sections.
76 .It Fl s
77 Use the .dynsym ELF section instead of the .symtab ELF section.
78 .It Fl t
79 Make sure that all object files have a CTF section.
80 .It Fl v
81 Enable verbose mode.
82 .It Fl l Ar label
83 Sets the label as
84 .Ar label .
85 .It Fl L Ar labelenv
86 Instructs
87 .Nm
88 to read the label from the environment variable
89 .Ar labelenv .
90 .It Fl o Ar outfile
91 Use
92 .Ar outfile
93 to store the merged CTF data.
94 .It Fl d Ar uniqfile
95 Uniquify against
96 .Ar uniqfile .
97 .It Fl d Ar uniqlabel
98 Uniquify against label
99 .Ar uniqlabel
100 .It Fl w Ar withfile
101 Additive merge with
102 .Ar withfile .
103 .It Fl c Ar srcfile Ar destfile
104 Copy CTF data from
105 .Ar srcfile
106 into
107 .Ar destfile .
108 .El
109 .Sh EXIT STATUS
110 .Ex -std
111 .Sh SEE ALSO
112 .Xr ctfconvert 1 ,
113 .Xr ctfdump 1
114 .Sh HISTORY
115 The
116 .Nm
117 utility first appeared in
118 .Fx 7.0 .
119 .Sh AUTHORS
120 The CTF utilities came from OpenSolaris.