V10/libc/gen/mcount.s

Compare this file to the similar file:
Show the results in this format:

# count subroutine called during profiling

.globl	mcount
.globl	__mcbase

mcount:
	movl	(r0),r1
	beql	init
incr:
	incl	(r1)
return:
	rsb
init:
	movl	__mcbase,r1
	beql	return
	addl2	$8,__mcbase
	movl	(sp),(r1)+
	movl	r1,(r0)
	brb 	incr