diff options
author | midipix <writeonce@midipix.org> | 2015-06-16 16:24:25 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-07-18 20:11:14 -0400 |
commit | d2187e6edb017750de5cb1f7d2a161abf839dea2 (patch) | |
tree | 59b737298fad616ee476c30003eb84c1bcd73d1f /crt/nt32 | |
parent | c00c94a763b256f7ff8c0e6ae568119cb11995e6 (diff) | |
download | mmglue-d2187e6edb017750de5cb1f7d2a161abf839dea2.tar.bz2 mmglue-d2187e6edb017750de5cb1f7d2a161abf839dea2.tar.xz |
adapt crte.s and crti.s to the newly integrated ctors/dtors iteration functions in psxscl.
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'crt/nt32')
-rw-r--r-- | crt/nt32/crte.s | 24 | ||||
-rw-r--r-- | crt/nt32/crti.s | 40 |
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 |