This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] MIPS16/opcodes: Keep the LSB of PC-relative offsets in disassembly
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 02 May 2017 10:07:52 -0400
- Subject: [binutils-gdb] MIPS16/opcodes: Keep the LSB of PC-relative offsets in disassembly
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT a4ddc54ec1cd187c844ca631fe0315bf1d78e96f ***
Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: a4ddc54ec1cd187c844ca631fe0315bf1d78e96f
MIPS16/opcodes: Keep the LSB of PC-relative offsets in disassembly
Correct the disassembly of the PC-relative immediate argument of the
MIPS16 synthetic LA, LW, DLA and LD instructions and do not mask the
LSB, which in this case is a part of the data address rather than the
ISA bit and has to be fully presented.
opcodes/
* mips-dis.c (print_insn_arg): Only clear the ISA bit for jumps
and branches and not synthetic data instructions.
binutils/
* testsuite/binutils-all/mips/mips16-undecoded.d: Adjust the
disassembly of PC-relative LA and LW synthetic instructions.