1 .\" Copyright 1997 John-Mark Gurney. All rights reserved.
3 .\" Redistribution and use in source and binary forms, with or without
4 .\" modification, are permitted provided that the following conditions
6 .\" 1. Redistributions of source code must retain the above copyright
7 .\" notice, this list of conditions and the following disclaimer.
8 .\" 2. Redistributions in binary form must reproduce the above copyright
9 .\" notice, this list of conditions and the following disclaimer in the
10 .\" documentation and/or other materials provided with the distribution.
12 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS''
13 .\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
16 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 .Nd mark an ELF binary for a specific ABI
33 .Op Fl f Ar ELF_ABI_number
39 utility marks an ELF binary to be run under a certain ABI for
42 The options are as follows:
43 .Bl -tag -width indent
44 .It Fl f Ar ELF_ABI_number
45 Forces branding with the supplied ELF ABI number.
49 These values are assigned by SCO/USL.
51 Writes the list of all known ELF types to the standard error.
53 Turns on verbose output.
55 Brands the given ELF binaries to be of the
58 Currently supported ABIs are
66 is given it will brand
70 otherwise it will simply display the branding of
74 Exit status is 0 on success, and 1 if the command
75 fails if a file does not exist, is too short, fails to brand properly,
76 or the brand requested is not one of the known types and the
80 The following is an example of a typical usage
84 .Bd -literal -offset indent
86 brandelf -t Linux file
90 .%A The Santa Cruz Operation, Inc.
91 .%T System V Application Binary Interface
92 .%D April 29, 1998 (DRAFT)
93 .%U http://www.sco.com/developers/devspecs/
98 manual page first appeared in
101 This manual page was written by
102 .An John-Mark Gurney Aq Mt jmg@FreeBSD.org .