sh: Add unaligned memory access for PC relative intructions
authorPhil Edworthy <Phil.Edworthy@renesas.com>
Wed, 24 Aug 2011 10:43:59 +0000 (10:43 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 29 Aug 2011 06:32:10 +0000 (15:32 +0900)
commit34f7145a63211eb7ecfcafa6c2a8db5646baf953
treedaaa5fe82c1d80c806c6da6cb69cd96218f27072
parent0710b91c516ffd448db6e80e9026f11778a80d45
sh: Add unaligned memory access for PC relative intructions

This adds unaligned memory access support for the following instructions:
  mov.w @(disp,PC),Rn
  mov.l @(disp,PC),Rn

These instructions are often used on SH2A toolchains.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/traps_32.c