repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Linux 5.7.6
[linux/fpc-iii.git]
/
arch
/
alpha
/
lib
/
dbg_current.S
blob
be66121312774918505fc1cd3fd9b85463799e30
1
/* SPDX-License-Identifier: GPL-2.0 */
2
/*
3
* arch/alpha/lib/dbg_current.S
4
* Contributed by Richard Henderson (rth@cygnus.com)
5
*
6
* Trap if we find current not correct.
7
*/
8
9
#include <asm/pal.h>
10
11
.text
12
.set noat
13
14
.globl _mcount
15
.ent _mcount
16
_mcount:
17
.frame $30, 0, $28, 0
18
.prologue 0
19
20
lda $0, -0x4000($30)
21
cmpult $8, $30, $1
22
cmpule $0, $30, $2
23
and $1, $2, $3
24
bne $3, 1f
25
26
call_pal PAL_bugchk
27
28
1: ret $31, ($28), 1
29
30
.end _mcount