target-arm: support thumb exception handlers
authorRabin Vincent <rabin@rab.in>
Sun, 14 Feb 2010 18:32:36 +0000 (00:02 +0530)
committerPaul Brook <paul@codesourcery.com>
Fri, 19 Feb 2010 15:20:21 +0000 (15:20 +0000)
commit0248423c9279612307998411a05cbb66fcdb50b5
tree8edc2035c978ada696cb5f877e25991bd659a4ff
parentd8a77230bf1e281aa2607aa12cef6948ddeb31a3
target-arm: support thumb exception handlers

When handling an exception, switch to the correct mode based on the
Thumb Exception (TE) bit in the SCTLR.

Signed-off-by: Rabin Vincent <rabin@rab.in>
target-arm/helper.c