Add marker labels to the end of the exception-vector (and exception
jump-table) locore entrypoints, so the stack traceback code can use the end marker to handle entry points specially when doing tracebacks, even if it doesn't know about them explicitly.
This commit is contained in:
parent
96eb3c22a4
commit
a179b23932
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: locore_r2000.S,v 1.25 1996/10/13 07:45:03 jonathan Exp $ */
|
||||
/* $NetBSD: locore_r2000.S,v 1.26 1996/10/13 08:45:17 jonathan Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -601,6 +601,13 @@ NNON_LEAF(mips_r2000_UserIntr, STAND_FRAME_SIZE, ra)
|
||||
.set at
|
||||
END(mips_r2000_UserIntr)
|
||||
|
||||
/*
|
||||
* Mark where code entreed from exception hander jumptable
|
||||
* ends, for stack traceback code.
|
||||
*/
|
||||
.globl _C_LABEL(mips1_exceptionentry_end)
|
||||
_C_LABEL(mips1_exceptionentry_end):
|
||||
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
|
@ -775,6 +775,15 @@ sys_stk_chk:
|
||||
END(mips_r4000_TLBMissException)
|
||||
|
||||
|
||||
/*
|
||||
* Mark where code entreed from exception hander jumptable
|
||||
* ends, for stack traceback code.
|
||||
*/
|
||||
.globl _C_LABEL(mips3_exceptionentry_end)
|
||||
_C_LABEL(mips3_exceptionentry_end):
|
||||
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
*
|
||||
* mips_r4000_TLBWriteIndexed --
|
||||
|
Loading…
Reference in New Issue
Block a user