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