DragonFly On-Line Manual Pages
BRANDELF(1) DragonFly General Commands Manual BRANDELF(1)
brandelf -- mark an ELF binary for a specific ABI
brandelf [-l] [-f ELF_ABI_number] [-t string] file ...
The brandelf utility marks an ELF binary to be run under a certain ABI
The options are as follows:
Forces branding with the supplied ELF ABI number. Incompatible
with the -t option. These values are assigned by SCO/USL.
-l Writes the list of all known ELF types to the standard error.
Brands the given ELF binaries to be of the string ABI type. Cur-
rently supported ABIs are ``FreeBSD'', ``Linux'', and ``SVR4''.
(DragonFly currently uses ``FreeBSD'' as its native branding.)
file If -t string is given it will brand file to be of type string,
otherwise it will simply display the branding of file.
Exit status is 0 on success, and 1 if the command fails if a file does
not exist, is too short, fails to brand properly, or the brand requested
is not one of the known types and the -f option is not set.
The following is an example of a typical usage of the brandelf command:
brandelf -t Linux file
The Santa Cruz Operation, Inc., System V Application Binary Interface,
April 29, 1998 (DRAFT), http://www.sco.com/developer/devspecs/.
The brandelf manual page first appeared in FreeBSD 2.2.
This manual page was written by John-Mark Gurney <email@example.com>.
DragonFly 3.5 February 6, 1997 DragonFly 3.5