diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-10-03 00:27:14 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-10-03 00:29:41 -0400 |
| commit | b5054625093ef22b3f228199b6fbf70e1c50b703 (patch) | |
| tree | 09b000d9205b1f378d0d6a78700c3f3b642894d8 /src/link.cpp | |
| parent | f1bd02e6f46821415d96f54f6a3258159ba5a9c5 (diff) | |
| download | zig-b5054625093ef22b3f228199b6fbf70e1c50b703.tar.gz zig-b5054625093ef22b3f228199b6fbf70e1c50b703.zip | |
replace __chkstk function with a stub that does not crash
Closes #508
See #302
Diffstat (limited to 'src/link.cpp')
| -rw-r--r-- | src/link.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.cpp b/src/link.cpp index bd17ff1ea4..35b350df0f 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -423,7 +423,7 @@ static void construct_linker_job_coff(LinkJob *lj) { if (g->have_winmain) { lj->args.append("-ENTRY:WinMain"); } else { - lj->args.append("-ENTRY:_start"); + lj->args.append("-ENTRY:WinMainCRTStartup"); } } |
