summaryrefslogtreecommitdiff
path: root/src/as/crti.s
blob: 5894e2db9defddb82373e49e02fe5be136cf7c75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* x86 crti.s */
.section .init
.global _init
.type _init, @function
_init:
    push %ebp
    movl %esp, %ebp
    /* gcc will nicely put the contents of crtbegin.o's .init section here. */

.section .fini
.global _fini
.type _fini, @function
_fini:
    push %ebp
    movl %esp, %ebp
    /* gcc will nicely put the contents of crtbegin.o's .fini section here. */