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