diff options
author | Neal Frager <neal.frager@amd.com> | 2023-10-19 12:37:40 +0100 |
---|---|---|
committer | Michael J. Eager <eager@eagercon.com> | 2023-10-19 17:59:06 -0700 |
commit | 2d1777b530d7832db5d8d7017378354c28816554 (patch) | |
tree | afb934c520d01495eef0b82641f0c7d47d089ed9 /libbacktrace/aclocal.m4 | |
parent | 4781e165dc9e8b8f3c0ba40825c620e88e6ae103 (diff) | |
download | gdb-2d1777b530d7832db5d8d7017378354c28816554.zip gdb-2d1777b530d7832db5d8d7017378354c28816554.tar.gz gdb-2d1777b530d7832db5d8d7017378354c28816554.tar.bz2 |
opcodes: microblaze: Fix bit masking bug
There is currently a bug in the bit masking for the barrel shift
instructions because the bit mask is not including all of the
register bits which must be zero. With this patch, the disassembler
can be sure that the 32-bit value is indeed a barrel shift instruction
and not a data value in memory.
This fix can be verified by assembling and disassembling the following:
.text
.long 0x65005f5f
With this patch, the bug is fixed, and the objdump will know that
0x65005f5f is not a barrel shift instruction.
Signed-off-by: Neal Frager <neal.frager@amd.com>
Signed-off-by: Michael J. Eager <eager@eagercon.com>
Diffstat (limited to 'libbacktrace/aclocal.m4')
0 files changed, 0 insertions, 0 deletions