]> git.sur5r.net Git - openocd/commit
target: arm: disassembler: fix Thumb2 BLX decoding address
authorPaul Fertser <fercerpav@gmail.com>
Sun, 28 Jan 2018 12:48:46 +0000 (15:48 +0300)
committerPaul Fertser <fercerpav@gmail.com>
Tue, 13 Mar 2018 08:41:54 +0000 (08:41 +0000)
commita957a1c8433f45452902de3060364122602e6e1c
tree83d0de01ab784c823e4682cdb3876147b6f333c7
parent7ac798016fe1de11b20c4450a861ee477e7ed6c9
target: arm: disassembler: fix Thumb2 BLX decoding address

Since BLX in Thumb2 always switches mode to ARM, the PC needs to be
4-bytes aligned.

Change-Id: I4f4c194fe21093cecfd9872e1d30588f4adc7257
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/4382
Reviewed-by: Philipp Guehring <pg@futureware.at>
Tested-by: jenkins
Reviewed-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>
src/target/arm_disassembler.c