forked from Imagelibrary/binutils-gdb
Add --input-osabi and --output-osabi to elfedit.
binutils/ 2010-08-23 H.J. Lu <hongjiu.lu@intel.com> * elfedit.c (input_elf_osabi): New. (output_elf_osbi): Likewise. (osabis): Likewise. (elf_osabi): Likewise. (update_elf_header): Support updating ELF OSABI. (make_qualified_name): Break long line. (command_line_switch): Add OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI. (options): Likewise. (usage): Add --input-osabi and --output-osabi. (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI. * doc/binutils.texi: Document --input-osabi and --output-osabi for elfedit. binutils/testsuite/ 2010-08-23 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/elfedit-3.d: New. * binutils-all/elfedit.exp: Run elfedit-3.
This commit is contained in:
15
binutils/testsuite/binutils-all/elfedit-3.d
Normal file
15
binutils/testsuite/binutils-all/elfedit-3.d
Normal file
@@ -0,0 +1,15 @@
|
||||
#PROG: elfedit
|
||||
#elfedit: --output-osabi FenixOS
|
||||
#source: empty.s
|
||||
#readelf: -h
|
||||
#name: Update ELF header 3
|
||||
#target: *-*-linux*
|
||||
|
||||
#...
|
||||
ELF Header:
|
||||
Magic: 7f 45 4c 46 .*
|
||||
#...
|
||||
Version:[ \t]+1 \(current\)
|
||||
#...
|
||||
OS/ABI:[ \t]+FenixOS
|
||||
#...
|
||||
Reference in New Issue
Block a user