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:
parent
9b8c7d1e71
commit
a8717d2808
|
@ -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 ========
|
||||
|
|
Loading…
Reference in New Issue