summaryrefslogtreecommitdiffhomepage
path: root/crt/nt32
diff options
context:
space:
mode:
Diffstat (limited to 'crt/nt32')
-rw-r--r--crt/nt32/crte.s24
-rw-r--r--crt/nt32/crti.s40
2 files changed, 50 insertions, 14 deletions
diff --git a/crt/nt32/crte.s b/crt/nt32/crte.s
index 8f2573d..0f7ef82 100644
--- a/crt/nt32/crte.s
+++ b/crt/nt32/crte.s
@@ -14,7 +14,25 @@ ___dso_main_routine:
.set _dso_main_routine,___dso_main_routine
.section .midipix
- .long _dso_main_routine
.long __so_entry_point
- .long __init
- .long __fini
+ .long _dso_main_routine
+ .long 0
+ .long 0
+
+ # void *reserved[16];
+ .long 0x0
+ .long 0x1
+ .long 0x2
+ .long 0x3
+ .long 0x4
+ .long 0x5
+ .long 0x6
+ .long 0x7
+ .long 0x8
+ .long 0x9
+ .long 0xa
+ .long 0xb
+ .long 0xc
+ .long 0xd
+ .long 0xe
+ .long 0xf
diff --git a/crt/nt32/crti.s b/crt/nt32/crti.s
index 1b484b0..09e51e0 100644
--- a/crt/nt32/crti.s
+++ b/crt/nt32/crti.s
@@ -28,14 +28,32 @@ __fini:
nop
.section .midipix
- .ascii "e35ed272"
- .ascii "9e55"
- .ascii "46c1"
- .ascii "8251"
- .ascii "022a59e6c480"
- .long 0
- .long 1
- .long 0
- .long 0
- .long __CTOR_LIST__
- .long __DTOR_LIST__
+ .ascii "e35ed272"
+ .ascii "9e55"
+ .ascii "46c1"
+ .ascii "8251"
+ .ascii "022a59e6c480"
+ .long 0
+ .long 1
+ .long 0
+ .long 0
+ .long __CTOR_LIST__
+ .long __DTOR_LIST__
+
+ # void *reserved[16];
+ .long 0x0
+ .long 0x1
+ .long 0x2
+ .long 0x3
+ .long 0x4
+ .long 0x5
+ .long 0x6
+ .long 0x7
+ .long 0x8
+ .long 0x9
+ .long 0xa
+ .long 0xb
+ .long 0xc
+ .long 0xd
+ .long 0xe
+ .long 0xf