summaryrefslogtreecommitdiffhomepage
path: root/crt/nt64/crti.s
diff options
context:
space:
mode:
Diffstat (limited to 'crt/nt64/crti.s')
-rw-r--r--crt/nt64/crti.s69
1 files changed, 29 insertions, 40 deletions
diff --git a/crt/nt64/crti.s b/crt/nt64/crti.s
index 44ecc61..9fe0b69 100644
--- a/crt/nt64/crti.s
+++ b/crt/nt64/crti.s
@@ -1,41 +1,30 @@
-.text
-.globl _pei386_runtime_relocator
-_pei386_runtime_relocator:
- ret
-
-.globl _init
-_init:
- jmp .init
-
-.globl _fini
-_fini:
- jmp .fini
-
-.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
- .quad __CTOR_LIST__
- .quad __DTOR_LIST__
+ .ascii "e35ed272"
+ .ascii "9e55"
+ .ascii "46c1"
+ .ascii "8251"
+ .ascii "022a59e6c480"
+ .long 0
+ .long 1
+ .long 0
+ .long 0
+ .quad __CTOR_LIST__
+ .quad __DTOR_LIST__
+
+ # void *reserved[16];
+ .quad 0x0
+ .quad 0x1
+ .quad 0x2
+ .quad 0x3
+ .quad 0x4
+ .quad 0x5
+ .quad 0x6
+ .quad 0x7
+ .quad 0x8
+ .quad 0x9
+ .quad 0xa
+ .quad 0xb
+ .quad 0xc
+ .quad 0xd
+ .quad 0xe
+ .quad 0xf