Clear the IT state when invoking a Thumb-2 signal handler

If a process is interrupted during an If-Then block and a signal is
invoked, the ITSTATE bits must be cleared otherwise the handler would
not run correctly.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Joseph S. Myers <joseph@codesourcery.com>
This commit is contained in:
Catalin Marinas 2009-05-30 14:00:15 +01:00
commit d71e1352e2
2 changed files with 13 additions and 2 deletions