@copying
@c man begin COPYRIGHT
Copyright @copyright{} 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
-Free Software Foundation, Inc.
+2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
[@option{-t}|@option{--section-details}]
[@option{-e}|@option{--headers}]
[@option{-s}|@option{--syms}|@option{--symbols}]
- [@option{--dyn-syms}]
[@option{-n}|@option{--notes}]
[@option{-r}|@option{--relocs}]
[@option{-u}|@option{--unwind}]
[@option{-c}|@option{--archive-index}]
[@option{-w[lLiaprmfFsoRt]}|
@option{--debug-dump}[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges,=pubtypes]]
- [@option{-I}|@option{--histogram}]
+ [@option{-I}|@option{-histogram}]
[@option{-v}|@option{--version}]
[@option{-W}|@option{--wide}]
[@option{-H}|@option{--help}]
@cindex ELF symbol table information
Displays the entries in symbol table section of the file, if it has one.
-@item --dyn-syms
-@cindex ELF dynamic symbol table information
-Displays the entries in dynamic symbol table section of the file, if it
-has one.
-
@item -e
@itemx --headers
Display all the headers in the file. Equivalent to @option{-h -l -S}.
@item -D
@itemx --use-dynamic
When displaying symbols, this option makes @command{readelf} use the
-symbol hash tables in the file's dynamic section, rather than the
-symbol table sections.
+symbol table in the file's dynamic section, rather than the one in the
+symbols section.
@item -x <number or name>
@itemx --hex-dump=<number or name>
@smallexample
@c man begin SYNOPSIS elfedit
elfedit [@option{--input-mach=}@var{machine}]
- [@option{--input-type=}@var{type}]
- @option{--output-mach=}@var{machine}
- @option{--output-type=}@var{type}
+ @option{--output-machine=}@var{machine}
[@option{-v}|@option{--version}]
[@option{-h}|@option{--help}]
@var{elffile}@dots{}
@c man begin DESCRIPTION elfedit
-@command{elfedit} updates the ELF header of ELF files which have
-the matching ELF machine and file types. The options control how and
-which fields in the ELF header should be updated.
+@command{elfedit} updates the ELF header of ELF files. The
+options control how and which fields in the ELF header should be
+updated.
@var{elffile}@dots{} are the ELF files to be updated. 32-bit and
64-bit ELF files are supported, as are archives containing ELF files.
@c man begin OPTIONS elfedit
The long and short forms of options, shown here as alternatives, are
-equivalent. At least one of the @option{--output-mach} and
-@option{--output-type} options must be given.
+equivalent. The @option{--output-mach} option must be given.
@table @env
@itemx --input-mach=@var{machine}
-Set the matching input ELF machine type to @var{machine}. If
-@option{--input-mach} isn't specified, it will match any ELF
-machine types.
+Only the input files with ELF machine type, @var{machine}, will be
+updated. If @option{--input-mach} isn't specified, any ELF file
+will be updated.
The supported ELF machine types are, @var{L1OM} and @var{x86-64}.
Change the ELF machine type in the ELF header to @var{machine}. The
supported ELF machine types are the same as @option{--input-mach}.
-@itemx --input-type=@var{type}
-Set the matching input ELF file type to @var{type}. If
-@option{--input-type} isn't specified, it will match any ELF file types.
-
-The supported ELF file types are, @var{rel}, @var{exec} and @var{dyn}.
-
-@itemx --output-type=@var{type}
-Change the ELF file type in the ELF header to @var{type}. The
-supported ELF types are the same as @option{--input-type}.
-
@item -v
@itemx --version
Display the version number of @command{elfedit}.