binutils-gdb/binutils/testsuite/binutils-all/nfp/test2_no-pc_ctx4.d
Francois H. Theron fe944acf8f This patch adds support to objdump for disassembly of NFP (Netronome Flow Processor) ELF files (.nffw) as well as some basic readelf support.
bfd	* Makefile.am: Added NFP files to build.
	* archures.c: Added bfd_arch_nfp
	* config.bfd: Added NFP support.
	* configure.ac: Added NFP support.
	* cpu-nfp.c: New, for NFP support.
	* elf-bfd.h: Added elf_section_info()
	* elf64-nfp.c: New, for NFP support.
	* po/SRC-POTFILES.in: Added NFP source files.
	* targets.c: Added nfp_elf64_vec
	* bfd-in2.h: Regenerate.
	* Makefile.in: Regenerate.
	* configure: Regenerate.

binutils* readelf.c: Very basic support for EM_NFP and its section types.
	* testsuite/binutils-all/nfp: New directory.
	* testsuite/binutils-all/nfp/objdump.exp: New file.  Run new
	tests.
	* testsuite/binutils-all/nfp/test2_ctx8.d: New file.
	* testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
	* testsuite/binutils-all/nfp/test1.d: New file.
	* testsuite/binutils-all/nfp/nfp6000.nffw: New file.
	* testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
	* NEWS: Mention the new support.

include	* dis-asm.h: Added print_nfp_disassembler_options prototype.
	* elf/common.h: Added EM_NFP, officially assigned. See Google Group
	Generic System V Application Binary Interface.
	* elf/nfp.h: New, for NFP support.
	* opcode/nfp.h: New, for NFP support.

opcodes	Makefile.am: Added nfp-dis.c.
	configure.ac: Added bfd_nfp_arch.
	disassemble.h: Added print_insn_nfp prototype.
	disassemble.c: Added ARCH_nfp and call to print_insn_nfp
	nfp-dis.c: New, for NFP support.
	po/POTFILES.in: Added nfp-dis.c to the list.
	Makefile.in: Regenerate.
	configure: Regenerate.
2018-04-30 17:02:59 +01:00

17 lines
549 B
Makefile

.*: file format elf64-nfp
Disassembly of section \.text\.i32\.me0:
0000000000000000 <\.text\.i32\.me0>:
0: 000d80a0300c0300 alu\[--, --, B, 0x0\]
8: 0008a0a0300c0700 alu\[--, --, B, 0x1\]
10: 0004a0a0300c0b00 alu\[--, --, B, 0x2\]
18: 000180a0300c0f00 alu\[--, --, B, 0x3\]
20: 0004a0a018cc1300 alu\[\$xfer_12, --, B, 0x4\]
28: 0001c0a019fc1700 alu\[\$xfer_31, --, B, 0x5\]
30: 000400a0b00c198c alu\[--, \$xfer_12, \+, 0x6\]
38: 0008c0a0b00c1d9f alu\[--, \$xfer_31, \+, 0x7\]
40: 000220e000020000 ctx_arb\[bpt\]