diff options
author | midipix <writeonce@midipix.org> | 2015-04-05 17:05:57 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-04-05 17:05:57 -0400 |
commit | 296178913c5dfbc2b35842fc16ed680ef51fd402 (patch) | |
tree | 6720928dbc03c3d656229d2509eda38f6eb0628b /crt/nt32/crte.s | |
parent | 20a5ca45ef2f5716e8f2dea42c7e8a6b3367619f (diff) | |
download | mmglue-296178913c5dfbc2b35842fc16ed680ef51fd402.tar.bz2 mmglue-296178913c5dfbc2b35842fc16ed680ef51fd402.tar.xz |
nt32: initial commit of core port files.
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
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 |