diff options
Diffstat (limited to 'crt/nt64/crti.s')
-rw-r--r-- | crt/nt64/crti.s | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/crt/nt64/crti.s b/crt/nt64/crti.s new file mode 100644 index 0000000..14fdd90 --- /dev/null +++ b/crt/nt64/crti.s @@ -0,0 +1,41 @@ +.text +.globl _pei386_runtime_relocator +_pei386_runtime_relocator: + ret + +.globl _init +_init: + call .init + ret + +.globl _fini +_fini: + call .fini + ret + +.section .init + xor %rax,%rax + push %rax + push %rcx + push %rdx + nop + nop + +.section .fini + xor %rax,%rax + push %rax + push %rcx + push %rdx + nop + nop + +.section .midipix + .ascii "e35ed272" + .ascii "9e55" + .ascii "46c1" + .ascii "8251" + .ascii "022a59e6c480" + .long 0 + .long 1 + .long 0 + .long 0 |