elfedit(1)


NAME

   elfedit - Update the ELF header of ELF files.

SYNOPSIS

   elfedit [--input-mach=machine]
           [--input-type=type]
           [--input-osabi=osabi]
           --output-mach=machine
           --output-type=type
           --output-osabi=osabi
           [-v|--version]
           [-h|--help]
           elffile...

DESCRIPTION

   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.

   elffile... are the ELF files to be updated.  32-bit and 64-bit ELF
   files are supported, as are archives containing ELF files.

OPTIONS

   The long and short forms of options, shown here as alternatives, are
   equivalent. At least one of the --output-mach, --output-type and
   --output-osabi options must be given.

   --input-mach=machine
       Set the matching input ELF machine type to machine.  If
       --input-mach isn't specified, it will match any ELF machine types.

       The supported ELF machine types are, i386, IAMCU, L1OM, K1OM and
       x86-64.

   --output-mach=machine
       Change the ELF machine type in the ELF header to machine.  The
       supported ELF machine types are the same as --input-mach.

   --input-type=type
       Set the matching input ELF file type to type.  If --input-type
       isn't specified, it will match any ELF file types.

       The supported ELF file types are, rel, exec and dyn.

   --output-type=type
       Change the ELF file type in the ELF header to type.  The supported
       ELF types are the same as --input-type.

   --input-osabi=osabi
       Set the matching input ELF file OSABI to osabi.  If --input-osabi
       isn't specified, it will match any ELF OSABIs.

       The supported ELF OSABIs are, none, HPUX, NetBSD, GNU, Linux (alias
       for GNU), Solaris, AIX, Irix, FreeBSD, TRU64, Modesto, OpenBSD,
       OpenVMS, NSK, AROS and FenixOS.

   --output-osabi=osabi
       Change the ELF OSABI in the ELF header to osabi.  The supported ELF
       OSABI are the same as --input-osabi.

   -v
   --version
       Display the version number of elfedit.

   -h
   --help
       Display the command line options understood by elfedit.

   @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.

       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

   readelf(1), and the Info entries for binutils.

COPYRIGHT

   Copyright (c) 1991-2016 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 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 "GNU
   Free Documentation License".


More Linux Commands

manpages/ber_bvfree.3.html
ber_bvfree(3) - OpenLDAP LBER types and allocation functions
The following are the basic types and structures defined for use with the Lightweight BER library. ber_int_t is a signed integer of at least 32 bits. It is comm

manpages/getdirentries.3.html
getdirentries(3) - get directory entries in a file system-in
Read directory entries from the directory specified by fd into buf. At most nbytes are read. Reading starts at offset *basep, and *basep is updated with the new

manpages/pcre32_free_substring.3.html
pcre32_free_substring(3) Perl-compatible regular expressions
This is a convenience function for freeing the store obtained by a previous call to pcre[16|32]_get_substring() or pcre[16|32]_get_named_substring(). Its only a

manpages/Tcl_LimitSetCommands.3.html
Tcl_LimitSetCommands(3) - manage and check resource limits o
Tcls interpreter resource limit subsystem allows for close control over how much computation time a script may use, and is useful for cases where a program is d

manpages/mv.1.html
mv(1) - move (rename) files (Commands - Linux man page).....
Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY. Mandatory arguments to long options are mandatory for short options too. --backup[=CONTROL] make a backup

manpages/gnutls_openpgp_crt_get_pk_rsa_raw.3.html
gnutls_openpgp_crt_get_pk_rsa_raw(3) - API function.........
gnutls_openpgp_crt_get_pk_rsa_raw.3 - This function will export the RSA public keys parameters found in the given structure. The new parameters will be allocate

manpages/outsl.2.html
outsl(2) - port I/O (System calls - Linux man page).........
This family of functions is used to do low-level port input and output. The out* functions do port output, the in* functions do port input; the b-suffix functio

manpages/toplevel.n.html
toplevel(n) - Create and manipulate toplevel widgets........
The toplevel command creates a new toplevel widget (given by the pathName argument). Additional options, described above, may be specified on the command line o

manpages/key_encryptsession.3.html
key_encryptsession(3) - interfaces to rpc keyserver daemon
The functions here are used within the RPCs secure authentication mechanism (AUTH_DES). There should be no need for user programs to use this functions. The fun

manpages/snmpd.8.html
snmpd(8) - daemon to respond to SNMP request packets........
snmpd is an SNMP agent which binds to a port and awaits requests from SNMP management software. Upon receiving a request, it processes the request(s), collects

manpages/gserialver-4.6.1.html
gserialver-4.6(1) - version command - Linux manual page.....
Print the serialVersionUID of the specified classes. OPTIONS -classpath PATH Class path to use to find classes. Standard options: -help Print help text, then ex

manpages/Tcl_SetByteArrayObj.3.html
Tcl_SetByteArrayObj(3) - manipulate Tcl objects as a arrays
These procedures are used to create, modify, and read Tcl byte-array objects from C code. Byte-array objects are typically used to hold the results of binary IO





We can't live, work or learn in freedom unless the software we use is free.