Rev 145 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 145 | Rev 159 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | format ELF |
1 | format ELF |
- | 2 | include "public_stdcall.inc" |
|
2 | section '.text' executable |
3 | section '.text' executable |
3 | extrn malloc |
4 | extrn malloc |
4 | public _msys_start_thread |
5 | public_stdcall _msys_start_thread,12 |
5 | _msys_start_thread: |
- | |
6 | ;arg1 - proc |
6 | ;arg1 - proc |
7 | ;arg2 - stacksize |
7 | ;arg2 - stacksize |
8 | ;arg3 - pid |
8 | ;arg3 - pid |
9 | push dword [esp+8] |
9 | push dword [esp+8] |
10 | call malloc |
10 | call malloc |