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
24 .\" $FreeBSD: src/usr.bin/brandelf/brandelf.1,v 1.17 2007/03/09 14:36:18 ru Exp $
25 .\" $Id: brandelf.1 3235 2015-07-31 16:44:47Z emaste $
32 .Nd mark an ELF binary for a specific ABI
35 .Op Fl V | Fl -version
36 .Op Fl f Ar ELF_ABI_number
45 utility marks an ELF binary to be run under a certain ABI.
47 The options are as follows:
48 .Bl -tag -width indent
49 .It Fl f Ar ELF_ABI_number
50 Forces branding with the supplied ELF ABI number.
54 These values are assigned by SCO/USL.
56 Print a usage message and exit.
58 Writes the list of all known ELF types to standard output.
60 Brands the given ELF binaries to be of the ABI specified by argument
62 Supported ABIs include
89 This option is accepted for compatibility with other versions of
91 but is otherwise ignored.
92 .It Fl V | Fl -version
93 Print a version identifier and exit.
97 .Fl f Ar ELF_ABI_number
102 will brand the files named by command-line arguments
114 options were specified,
116 will display the current branding for the files named by the arguments
119 Exit status is 0 on success, and 1 if the command
120 fails if a file does not exist, is too short, fails to brand properly,
121 or the brand requested is not one of the known types and the
125 The following is an example of a typical usage
129 .Bd -literal -offset indent
135 .%A The Santa Cruz Operation, Inc.
136 .%T System V Application Binary Interface
137 .%D April 29, 1998 (DRAFT)
138 .%O http://www.sco.com/developer/devspecs/
143 manual page first appeared in
146 This manual page was written by
147 .An John-Mark Gurney Aq Mt jmg@FreeBSD.org .