2 .\" Copyright (c) 1994 University of Maryland
3 .\" All Rights Reserved.
5 .\" Permission to use, copy, modify, distribute, and sell this software and its
6 .\" documentation for any purpose is hereby granted without fee, provided that
7 .\" the above copyright notice appear in all copies and that both that
8 .\" copyright notice and this permission notice appear in supporting
9 .\" documentation, and that the name of U.M. not be used in advertising or
10 .\" publicity pertaining to distribution of the software without specific,
11 .\" written prior permission. U.M. makes no representations about the
12 .\" suitability of this software for any purpose. It is provided "as is"
13 .\" without express or implied warranty.
15 .\" U.M. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL U.M.
17 .\" BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
18 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
19 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
20 .\" IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 .\" Author: James da Silva, Systems Design and Analysis Group
23 .\" Computer Science Department
24 .\" University of Maryland at College Park
31 .Nd hides symbol names from ld, for crunching programs together
34 .Op Fl f Ar keep-list-file
35 .Op Fl k Ar keep-symbol
36 .Op Ar object-file ...
40 hides the global symbols of
42 such that they are ignored by subsequent runs of the linker,
44 Some symbols may be left visible via the
47 .Fl f Ar keep-list-file
50 must contain a list of symbols to keep visible, one symbol per line.
55 should be C names. For example,
56 to keep the C function
63 is designed as a companion program for
65 which automates the process of creating crunched binaries from
66 multiple component programs.
73 .An James da Silva Aq jds@cs.umd.edu .
75 Copyright (c) 1994 University of Maryland. All Rights Reserved.
77 Chris Demetriou <cgd@netbsd.org> reorganized
79 so that it supported multiple object formats, and added
80 ELF object support and ECOFF object recognition.
82 Copyright (c) 1997 Christopher G. Demetriou. All Rights Reserved.