ARC: entry.S: Trap handler to use r10 for syscall vs. brkpt decision

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
Vineet Gupta 2015-02-27 16:44:38 +05:30
parent 9b8c7d1e71
commit a8717d2808
1 changed files with 2 additions and 2 deletions

View File

@ -505,8 +505,8 @@ ENTRY(EV_Trap)
EXCEPTION_PROLOGUE
;------- (4) What caused the Trap --------------
lr r12, [ecr]
bmsk.f 0, r12, 7
lr r10, [ecr]
bmsk.f 0, r10, 7
bnz trap_with_param
; ======= (5a) Trap is due to System Call ========