clarify the purpose of this project
[nyanglibc.git] / csu / gmon-start.s
blobcd751dcdbf1db348580db82d8f5b5c099b60eff7
1 .text
2 .p2align 4,,15
3 .globl __gmon_start__
4 .type __gmon_start__, @function
5 __gmon_start__:
6 movl called.4615(%rip), %eax
7 testl %eax, %eax
8 je .L7
9 rep ret
10 .p2align 4,,10
11 .p2align 3
12 .L7:
13 leaq _start(%rip), %rdi
14 leaq etext(%rip), %rsi
15 subq $8, %rsp
16 movl $1, called.4615(%rip)
17 call __monstartup@PLT
18 movq _mcleanup@GOTPCREL(%rip), %rdi
19 addq $8, %rsp
20 jmp atexit@PLT
21 .size __gmon_start__, .-__gmon_start__
22 .local called.4615
23 .comm called.4615,4,4