1ELFEDIT(1)                   GNU Development Tools                  ELFEDIT(1)
2
3
4

NAME

6       elfedit - Update the ELF header of ELF files.
7

SYNOPSIS

9       elfedit [--input-mach=machine]
10               [--input-type=type]
11               --output-mach=machine
12               --output-type=type
13               [-v|--version]
14               [-h|--help]
15               elffile...
16

DESCRIPTION

18       elfedit updates the ELF header of ELF files which have the matching ELF
19       machine and file types.  The options control how and which fields in
20       the ELF header should be updated.
21
22       elffile... are the ELF files to be updated.  32-bit and 64-bit ELF
23       files are supported, as are archives containing ELF files.
24

OPTIONS

26       The long and short forms of options, shown here as alternatives, are
27       equivalent. At least one of the --output-mach and --output-type options
28       must be given.
29
30       --input-mach=machine
31           Set the matching input ELF machine type to machine.  If
32           --input-mach isn't specified, it will match any ELF machine types.
33
34           The supported ELF machine types are, L1OM and x86-64.
35
36       --output-mach=machine
37           Change the ELF machine type in the ELF header to machine.  The
38           supported ELF machine types are the same as --input-mach.
39
40       --input-type=type
41           Set the matching input ELF file type to type.  If --input-type
42           isn't specified, it will match any ELF file types.
43
44           The supported ELF file types are, rel, exec and dyn.
45
46       --output-type=type
47           Change the ELF file type in the ELF header to type.  The supported
48           ELF types are the same as --input-type.
49
50       -v
51       --version
52           Display the version number of elfedit.
53
54       -h
55       --help
56           Display the command line options understood by elfedit.
57
58       @file
59           Read command-line options from file.  The options read are inserted
60           in place of the original @file option.  If file does not exist, or
61           cannot be read, then the option will be treated literally, and not
62           removed.
63
64           Options in file are separated by whitespace.  A whitespace
65           character may be included in an option by surrounding the entire
66           option in either single or double quotes.  Any character (including
67           a backslash) may be included by prefixing the character to be
68           included with a backslash.  The file may itself contain additional
69           @file options; any such options will be processed recursively.
70

SEE ALSO

72       readelf(1), and the Info entries for binutils.
73
75       Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
76       2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
77       Software Foundation, Inc.
78
79       Permission is granted to copy, distribute and/or modify this document
80       under the terms of the GNU Free Documentation License, Version 1.3 or
81       any later version published by the Free Software Foundation; with no
82       Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
83       Texts.  A copy of the license is included in the section entitled "GNU
84       Free Documentation License".
85
86
87
88binutils-2.20.51.0.7              2011-05-02                        ELFEDIT(1)
Impressum