Home | History | Annotate | Download | only in man1
 Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14)

Standard preamble:
========================================================================
..
..
.. Set up some character translations and predefined strings. \*(-- will
give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
double quote, and \*(R" will give a right double quote. \*(C+ will
give a nicer C++. Capital omega is used to do unbreakable dashes and
therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
nothing in troff, for use with C<>.
.tr \(*W- . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.

If the F register is turned on, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.
. de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} . de IX .. .\}
Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] .\} . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents . \" corrections for vroff . \" for low resolution devices (crt and lpr) \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} ========================================================================

Title "ELFEDIT 1"
ELFEDIT 1 " " "binutils-2.21" "GNU Development Tools"
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.
.nh
"NAME"
elfedit - Update the ELF header of ELF files.
"SYNOPSIS"
Header "SYNOPSIS" elfedit [--input-mach=machine] [--input-type=type] [--input-osabi=osbi] --output-mach=machine --output-type=type --output-osabi=osbi [-v|--version] [-h|--help] elffile...
"DESCRIPTION"
Header "DESCRIPTION" \fBelfedit updates the \s-1ELF\s0 header of \s-1ELF\s0 files which have the matching \s-1ELF\s0 machine and file types. The options control how and which fields in the \s-1ELF\s0 header should be updated.

\fIelffile... are the \s-1ELF\s0 files to be updated. 32-bit and 64-bit \s-1ELF\s0 files are supported, as are archives containing \s-1ELF\s0 files.

"OPTIONS"
Header "OPTIONS" The long and short forms of options, shown here as alternatives, are equivalent. At least one of the --output-mach, \fB--output-type and --output-osabi options must be given.
"--input-mach=machine" 4
Item "--input-mach=machine" Set the matching input \s-1ELF\s0 machine type to machine. If \fB--input-mach isn't specified, it will match any \s-1ELF\s0 machine types. .Sp The supported \s-1ELF\s0 machine types are, L1OM and x86-64.
"--output-mach=machine" 4
Item "--output-mach=machine" Change the \s-1ELF\s0 machine type in the \s-1ELF\s0 header to machine. The supported \s-1ELF\s0 machine types are the same as --input-mach.
"--input-type=type" 4
Item "--input-type=type" Set the matching input \s-1ELF\s0 file type to type. If \fB--input-type isn't specified, it will match any \s-1ELF\s0 file types. .Sp The supported \s-1ELF\s0 file types are, rel, exec and dyn.
"--output-type=type" 4
Item "--output-type=type" Change the \s-1ELF\s0 file type in the \s-1ELF\s0 header to type. The supported \s-1ELF\s0 types are the same as --input-type.
"--input-osabi=osabi" 4
Item "--input-osabi=osabi" Set the matching input \s-1ELF\s0 file \s-1OSABI\s0 to osbi. If \fB--input-osabi isn't specified, it will match any \s-1ELF\s0 OSABIs. .Sp The supported \s-1ELF\s0 OSABIs are, none, \s-1HPUX\s0, NetBSD, \fILinux, Hurd, Solaris, \s-1AIX\s0, Irix, \fIFreeBSD, \s-1TRU64\s0, Modesto, OpenBSD, OpenVMS, \fI\s-1NSK\s0, \s-1AROS\s0 and FenixOS.
"--output-osabi=osabi" 4
Item "--output-osabi=osabi" Change the \s-1ELF\s0 \s-1OSABI\s0 in the \s-1ELF\s0 header to type. The supported \s-1ELF\s0 \s-1OSABI\s0 are the same as --input-osabi.
"-v" 4
Item "-v"

0

"--version" 4
Item "--version"

Display the version number of elfedit.

"-h" 4
Item "-h"

0

"--help" 4
Item "--help"

Display the command line options understood by elfedit.

"@file" 4
Item "@file" Read command-line options from file. The options read are inserted in place of the original @file option. If file does not exist, or cannot be read, then the option will be treated literally, and not removed. .Sp Options in file are separated by whitespace. A whitespace character may be included in an option by surrounding the entire option in either single or double quotes. Any character (including a backslash) may be included by prefixing the character to be included with a backslash. The file may itself contain additional @file options; any such options will be processed recursively.
"SEE ALSO"
Header "SEE ALSO" \fIreadelf\|(1), and the Info entries for binutils.
"COPYRIGHT"
Header "COPYRIGHT" Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".