This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 0/1] Add disassembler support for NFP.
- From: "Francois H. Theron" <francois dot theron at netronome dot com>
- To: binutils at sourceware dot org
- Date: Tue, 10 Apr 2018 15:24:53 +0200
- Subject: [PATCH 0/1] Add disassembler support for NFP.
This patch adds support to objdump for disassembly of NFP
(Netronome Flow Processor) ELF files (.nffw) as well as some basic readelf
support.
If the patch is acceptable, I'll submit config.sub to config-patches@gnu.org
Francois H. Theron (1):
Add disassembler support for NFP.
bfd/Makefile.am | 4 +
bfd/Makefile.in | 5 +
bfd/archures.c | 5 +
bfd/bfd-in2.h | 3 +
bfd/config.bfd | 7 +
bfd/configure | 1 +
bfd/configure.ac | 1 +
bfd/cpu-nfp.c | 62 +
bfd/elf-bfd.h | 1 +
bfd/elf64-nfp.c | 286 ++
bfd/po/SRC-POTFILES.in | 2 +
bfd/targets.c | 3 +
binutils/readelf.c | 37 +
.../testsuite/binutils-all/nfp/objdump.exp | 52 +
binutils/testsuite/binutils-all/nfp/test1.d | 973 ++++++
.../binutils-all/nfp/test1_nfp6000.nffw | Bin 0 -> 9880 bytes
.../testsuite/binutils-all/nfp/test2_ctx8.d | 16 +
.../binutils-all/nfp/test2_nfp6000.nffw | Bin 0 -> 1472 bytes
.../binutils-all/nfp/test2_no-pc_ctx4.d | 16 +
config.sub | 2 +
configure | 4 +
configure.ac | 4 +
include/dis-asm.h | 1 +
include/elf/common.h | 1 +
include/elf/nfp.h | 305 ++
include/opcode/nfp.h | 181 +
opcodes/Makefile.am | 1 +
opcodes/Makefile.in | 1 +
opcodes/configure | 1 +
opcodes/configure.ac | 1 +
opcodes/disassemble.c | 9 +
opcodes/disassemble.h | 1 +
opcodes/nfp-dis.c | 2966 +++++++++++++++++
opcodes/po/POTFILES.in | 1 +
34 files changed, 4953 insertions(+)
create mode 100644 bfd/cpu-nfp.c
create mode 100755 bfd/elf64-nfp.c
create mode 100644 binutils/testsuite/binutils-all/nfp/objdump.exp
create mode 100644 binutils/testsuite/binutils-all/nfp/test1.d
create mode 100644 binutils/testsuite/binutils-all/nfp/test1_nfp6000.nffw
create mode 100644 binutils/testsuite/binutils-all/nfp/test2_ctx8.d
create mode 100644 binutils/testsuite/binutils-all/nfp/test2_nfp6000.nffw
create mode 100644 binutils/testsuite/binutils-all/nfp/test2_no-pc_ctx4.d
create mode 100755 include/elf/nfp.h
create mode 100644 include/opcode/nfp.h
create mode 100644 opcodes/nfp-dis.c
--
2.17.0