This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/1] Add disassembler support for NFP.


Just wanted to move this into visibility again in case it gets missed
completely.

I can rebase it again if necessary.


Regards

Francois


On 10 April 2018 at 15:24, Francois H. Theron
<francois.theron@netronome.com> wrote:
>
> This patch adds support to objdump disassemble NFP firmware files
> (.nffw). It also adds some basic readelf support.
>
> Signed-off-by: Francois H. Theron <francois.theron@netronome.com>
> ---
>  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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]