mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
30 lines
402 B
ArmAsm
30 lines
402 B
ArmAsm
/*
|
|
* arch/alpha/lib/dbg_current.S
|
|
* Contributed by Richard Henderson (rth@cygnus.com)
|
|
*
|
|
* Trap if we find current not correct.
|
|
*/
|
|
|
|
#include <asm/pal.h>
|
|
|
|
.text
|
|
.set noat
|
|
|
|
.globl _mcount
|
|
.ent _mcount
|
|
_mcount:
|
|
.frame $30, 0, $28, 0
|
|
.prologue 0
|
|
|
|
lda $0, -0x4000($30)
|
|
cmpult $8, $30, $1
|
|
cmpule $0, $30, $2
|
|
and $1, $2, $3
|
|
bne $3, 1f
|
|
|
|
call_pal PAL_bugchk
|
|
|
|
1: ret $31, ($28), 1
|
|
|
|
.end _mcount
|