xref: /original-bsd/old/symorder/symorder.1 (revision 93ab02a6)
1.\" Copyright (c) 1980, 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)symorder.1	6.5 (Berkeley) 04/22/91
7.\"
8.Dd
9.Dt SYMORDER 1
10.Os BSD 3
11.Sh NAME
12.Nm symorder
13.Nd rearrange name list
14.Sh SYNOPSIS
15.Nm symorder
16.Fl t Ar symlist file
17.Sh DESCRIPTION
18The file
19.Ar symlist
20contains a list of symbols to be found in
21.Ar file,
22one symbol per line.
23.Pp
24The symbol table of
25.Ar file
26is updated in place;
27symbols read from
28.Ar symlist
29are relocated to the beginning of the table and in the order given.
30.Bl -tag -width flag
31.It Fl t
32Restrict the symbol table to the symbols listed in
33.Ar symlist .
34.El
35.Pp
36This program was specifically designed to cut down on the
37overhead of getting symbols from
38.Pa /vmunix.
39.Sh DIAGNOSTICS
40The
41.Nm symorder
42utility exits 0 on success, 1 if a symbol
43listed in the
44.Ar symlist
45file was not found in the symbol
46table, and >1 if an error occurs.
47.Sh SEE ALSO
48.Xr nm 3 ,
49.Xr nlist 3 ,
50.Xr strip 3
51.Sh HISTORY
52The
53.Nm
54command appeared in
55.Bx 3.0 .
56