]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/readelf.c
This patch adds support to objdump for disassembly of NFP (Netronome Flow Processor...
authorFrancois H. Theron <francois.theron@netronome.com>
Mon, 30 Apr 2018 16:02:59 +0000 (17:02 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 30 Apr 2018 16:02:59 +0000 (17:02 +0100)
commitfe944acf8f858cfe6bcfd00670a88847a464717c
tree63cfbbb8631a3c6624f1263aa0608ea6c796c5c4
parentd33bc52e51fdb6c464c1c8e8fdf9b2007b522b57
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.
39 files changed:
bfd/ChangeLog
bfd/Makefile.am
bfd/Makefile.in
bfd/archures.c
bfd/bfd-in2.h
bfd/config.bfd
bfd/configure
bfd/configure.ac
bfd/cpu-nfp.c [new file with mode: 0644]
bfd/elf-bfd.h
bfd/elf64-nfp.c [new file with mode: 0755]
bfd/po/SRC-POTFILES.in
bfd/po/bfd.pot
bfd/targets.c
binutils/ChangeLog
binutils/NEWS
binutils/po/binutils.pot
binutils/readelf.c
binutils/testsuite/binutils-all/nfp/objdump.exp [new file with mode: 0644]
binutils/testsuite/binutils-all/nfp/test1.d [new file with mode: 0644]
binutils/testsuite/binutils-all/nfp/test1_nfp6000.nffw [new file with mode: 0644]
binutils/testsuite/binutils-all/nfp/test2_ctx8.d [new file with mode: 0644]
binutils/testsuite/binutils-all/nfp/test2_nfp6000.nffw [new file with mode: 0644]
binutils/testsuite/binutils-all/nfp/test2_no-pc_ctx4.d [new file with mode: 0644]
include/ChangeLog
include/dis-asm.h
include/elf/common.h
include/elf/nfp.h [new file with mode: 0755]
include/opcode/nfp.h [new file with mode: 0644]
opcodes/ChangeLog
opcodes/Makefile.am
opcodes/Makefile.in
opcodes/configure
opcodes/configure.ac
opcodes/disassemble.c
opcodes/disassemble.h
opcodes/nfp-dis.c [new file with mode: 0644]
opcodes/po/POTFILES.in
opcodes/po/opcodes.pot