fix ARMv7 data processing instructions
authorJuha Riihimäki <juha.riihimaki@nokia.com>
Wed, 6 May 2009 06:16:12 +0000 (09:16 +0300)
committerPaul Brook <paul@codesourcery.com>
Fri, 15 May 2009 02:18:42 +0000 (03:18 +0100)
commit21aeb3430ce7ba066f394c2029c2ddf130662455
tree7cad43fa28b948c506d516e999a6a265b4c42611
parente9bb4aa977391e2c62b7dc496b1e14d29b7cbd4e
fix ARMv7 data processing instructions

ARMv7 defines a new behavior for ARM data processing instructions
compared to earlier architecture revisions; when the destination
register is R15, a Branch and Exchange operation is executed rather
than a simple Branch to the target address. This patch corrects the
behavior of the emulation for the aforementioned operations. To be
applied after applying the previous patch in this patch set.

Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
Signed-off-by: Paul Brook <paul@codesourcery.com>
target-arm/translate.c