commit | 8dd7cfbed83c74b1fb991fae264944e041e22e62 | [log] [tgz] |
---|---|---|
author | Jon Medhurst <tixy@yxit.co.uk> | Tue Apr 12 07:45:24 2011 +0100 |
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | Thu Apr 28 23:40:58 2011 -0400 |
tree | 97eac596f52e2244a2fc96020ef666d01504e637 | |
parent | 780b5c1162286cc75ef2dcc0f14215d9f9f06230 [diff] |
ARM: kprobes: Fix emulation of SXTB16, SXTB, SXTH, UXTB16, UXTB and UXTH instructions These sign extension instructions are encoded as extend-and-add instructions where the register to add is specified as r15. The decoding routines weren't checking for this and were using the incorrect emulation code, giving incorrect results. Signed-off-by: Jon Medhurst <tixy@yxit.co.uk> Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>