]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - opcodes/ChangeLog
picojava assembler and disassembler fixes
authorAlan Modra <amodra@gmail.com>
Mon, 21 Jun 2021 07:37:05 +0000 (17:07 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 22 Jun 2021 08:14:45 +0000 (17:44 +0930)
commitded5cb94441b2a47a75a0b1d26218f0d5e3dca28
tree4817ba5c5893550c18a2e219871c3a91f870c8cf
parent456ef1c1d43c0407801fb2d59db355472be8a554
picojava assembler and disassembler fixes

Commit 54758c3e398d made changes to the picojava support based on
https://sourceware.org/pipermail/binutils/2005-November/045136.html
An update from picojava to picojava II, I think.  Unfortunately the
patch neglected any changes to the gas testsuite, resulting in
"FAIL: pj" since that date.  This patch makes a few relatively simple
changes to cure the regression.

gas/
* config/tc-pj.c (md_apply_fix): Apply PJ_CODE_REL32 relocs.
* testsuite/gas/pj/ops.s: Update jsr, ret, getstatic,
putstatic, getfield, putfield, invokevirtual, invokespecial,
invokestatic, invokeinterface, goto_w, jsr_w assembly.  Delete
version 1 picojava opcodes.
* testsuite/gas/pj/ops.d: Match expected output.
opcodes/
* pj-dis.c (print_insn_pj): Don't print trailing tab.  Do
print separator for pcrel insns.
gas/ChangeLog
gas/config/tc-pj.c
gas/testsuite/gas/pj/ops.d
gas/testsuite/gas/pj/ops.s
opcodes/ChangeLog
opcodes/pj-dis.c