binutils: elfedit
1
1 16 elfedit
1 **********
1
1 elfedit [--input-mach=MACHINE]
1 [--input-type=TYPE]
1 [--input-osabi=OSABI]
1 --output-mach=MACHINE
1 --output-type=TYPE
1 --output-osabi=OSABI
1 [-v|--version]
1 [-h|--help]
1 ELFFILE...
1
1 'elfedit' updates the ELF header of ELF files which have the matching
1 ELF machine and file types. The options control how and which fields in
1 the ELF header should be updated.
1
1 ELFFILE... are the ELF files to be updated. 32-bit and 64-bit ELF
1 files are supported, as are archives containing ELF files.
1
1 The long and short forms of options, shown here as alternatives, are
1 equivalent. At least one of the '--output-mach', '--output-type' and
1 '--output-osabi' options must be given.
1
1 '--input-mach=MACHINE'
1 Set the matching input ELF machine type to MACHINE. If
1 '--input-mach' isn't specified, it will match any ELF machine
1 types.
1
1 The supported ELF machine types are, I386, IAMCU, L1OM, K1OM and
1 X86-64.
1
1 '--output-mach=MACHINE'
1 Change the ELF machine type in the ELF header to MACHINE. The
1 supported ELF machine types are the same as '--input-mach'.
1
1 '--input-type=TYPE'
1 Set the matching input ELF file type to TYPE. If '--input-type'
1 isn't specified, it will match any ELF file types.
1
1 The supported ELF file types are, REL, EXEC and DYN.
1
1 '--output-type=TYPE'
1 Change the ELF file type in the ELF header to TYPE. The supported
1 ELF types are the same as '--input-type'.
1
1 '--input-osabi=OSABI'
1 Set the matching input ELF file OSABI to OSABI. If '--input-osabi'
1 isn't specified, it will match any ELF OSABIs.
1
1 The supported ELF OSABIs are, NONE, HPUX, NETBSD, GNU, LINUX (alias
1 for GNU), SOLARIS, AIX, IRIX, FREEBSD, TRU64, MODESTO, OPENBSD,
1 OPENVMS, NSK, AROS and FENIXOS.
1
1 '--output-osabi=OSABI'
1 Change the ELF OSABI in the ELF header to OSABI. The supported ELF
1 OSABI are the same as '--input-osabi'.
1
1 '-v'
1 '--version'
1 Display the version number of 'elfedit'.
1
1 '-h'
1 '--help'
1 Display the command line options understood by 'elfedit'.
1