diff options
Diffstat (limited to 'crt/nt32/crte.s')
-rw-r--r-- | crt/nt32/crte.s | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/crt/nt32/crte.s b/crt/nt32/crte.s new file mode 100644 index 0000000..56fa138 --- /dev/null +++ b/crt/nt32/crte.s @@ -0,0 +1,19 @@ +.text +.globl __so_entry_point +__so_entry_point: + cmp $0x1,%edx + jne _dso_main_routine + mov %edx,%eax + ret + +___dso_main_routine: + ret + + .weak _dso_main_routine + .set _dso_main_routine,___dso_main_routine + +.section .midipix + .long _dso_main_routine + .long __so_entry_point + .long __init + .long __fini |