Add support for disassembling WebAssembly opcodes.
authorPip Cet <pipcet@gmail.com>
Thu, 6 Apr 2017 16:17:15 +0000 (17:17 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 6 Apr 2017 16:20:02 +0000 (17:20 +0100)
commit62ecb94c4a2929c1aace3fb5470d2a5100255811
treee2be6cbc234c3a38863d3e6899a9da01e07983a1
parent0dedf3777db42712f460123ac0c63c49de5456f5
Add support for disassembling WebAssembly opcodes.

include * dis-asm.h: Add prototypes for wasm32 disassembler.

opcodes * Makefile.am: Add wasm32-dis.c.
* configure.ac: Add wasm32-dis.c to wasm32 target.
* disassemble.c: Add wasm32 disassembler code.
* wasm32-dis.c: New file.
* Makefile.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/opcodes.pot: Regenerate.

gas * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
changes.
* testsuite/gas/wasm32/disass.d: New test.
* testsuite/gas/wasm32/disass.s: New test.
* testsuite/gas/wasm32/disass-2.d: New test.
* testsuite/gas/wasm32/disass-2.s: New test.
* testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
names.
* testsuite/gas/wasm32/reloc.s: Update test for changed assembler
syntax.
* testsuite/gas/wasm32/wasm32.exp: Run new tests.  Expect allinsn
test to succeed.
20 files changed:
gas/ChangeLog
gas/testsuite/gas/wasm32/allinsn.d
gas/testsuite/gas/wasm32/disass-2.d [new file with mode: 0644]
gas/testsuite/gas/wasm32/disass-2.s [new file with mode: 0644]
gas/testsuite/gas/wasm32/disass.d [new file with mode: 0644]
gas/testsuite/gas/wasm32/disass.s [new file with mode: 0644]
gas/testsuite/gas/wasm32/reloc.d
gas/testsuite/gas/wasm32/reloc.s
gas/testsuite/gas/wasm32/wasm32.exp
include/ChangeLog
include/dis-asm.h
opcodes/ChangeLog
opcodes/Makefile.am
opcodes/Makefile.in
opcodes/configure
opcodes/configure.ac
opcodes/disassemble.c
opcodes/po/POTFILES.in
opcodes/po/opcodes.pot
opcodes/wasm32-dis.c [new file with mode: 0644]