mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
c9dcc18f8d
* NEWS: Mention --output-abiversion. * elfedit.c (input_elf_abiversion): New. (output_elf_abiversion): Likewise. (update_elf_header): Update EI_ABIVERSION. (command_line_switch): Add OPTION_INPUT_ABIVERSION and OPTION_OUTPUT_ABIVERSION. (options): Add --input-abiversion and --output-abiversion. (usage): Likewise. (main): Handle --input-abiversion and --output-abiversion. * doc/binutils.texi: Document --input-abiversion and --output-abiversion. * testsuite/binutils-all/elfedit.exp: Run elfedit-6. * testsuite/binutils-all/elfedit-6.d: New file.
16 lines
270 B
Makefile
16 lines
270 B
Makefile
#PROG: elfedit
|
|
#elfedit: --output-abiversion 20
|
|
#source: empty.s
|
|
#readelf: -h
|
|
#name: Update ELF header 6
|
|
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
|
|
|
|
#...
|
|
ELF Header:
|
|
Magic: 7f 45 4c 46 .*
|
|
#...
|
|
Version:[ \t]+1 \(current\)
|
|
#...
|
|
ABI Version:[ \t]+20
|
|
#...
|