|
|
1.1 root 1: # count subroutine called during profiling
2:
3: .globl mcount
4: .globl __mcbase
5:
6: mcount:
7: movl (r0),r1
8: beql init
9: incr:
10: incl (r1)
11: return:
12: rsb
13: init:
14: movl __mcbase,r1
15: beql return
16: addl2 $8,__mcbase
17: movl (sp),(r1)+
18: movl r1,(r0)
19: brb incr
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.