d0514c4914
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.
15 lines
237 B
Makefile
15 lines
237 B
Makefile
#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
|
|
#...
|