diff options
Diffstat (limited to 'crt/nt64/crte.s')
-rw-r--r-- | crt/nt64/crte.s | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/crt/nt64/crte.s b/crt/nt64/crte.s new file mode 100644 index 0000000..9753213 --- /dev/null +++ b/crt/nt64/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 + .quad dso_main_routine + .quad _so_entry_point + .quad _init + .quad _fini |