summaryrefslogtreecommitdiffhomepage
path: root/crt/nt32/crti.s
diff options
context:
space:
mode:
Diffstat (limited to 'crt/nt32/crti.s')
-rw-r--r--crt/nt32/crti.s41
1 files changed, 41 insertions, 0 deletions
diff --git a/crt/nt32/crti.s b/crt/nt32/crti.s
new file mode 100644
index 0000000..7b1a642
--- /dev/null
+++ b/crt/nt32/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 %eax,%eax
+ push %eax
+ push %ecx
+ push %edx
+ nop
+ nop
+
+.section .fini
+ xor %eax,%eax
+ push %eax
+ push %ecx
+ push %edx
+ nop
+ nop
+
+.section .midipix
+ .ascii "e35ed272"
+ .ascii "9e55"
+ .ascii "46c1"
+ .ascii "8251"
+ .ascii "022a59e6c480"
+ .long 0
+ .long 1
+ .long 0
+ .long 0