diff options
Diffstat (limited to 'src/pkg/runtime/os_windows_amd64.c')
| -rw-r--r-- | src/pkg/runtime/os_windows_amd64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/os_windows_amd64.c b/src/pkg/runtime/os_windows_amd64.c index a7acf1d786..9a69d73c07 100644 --- a/src/pkg/runtime/os_windows_amd64.c +++ b/src/pkg/runtime/os_windows_amd64.c @@ -42,7 +42,7 @@ runtime·sighandler(ExceptionRecord *info, Context *r, G *gp) { bool crash; uintptr *sp; - extern byte text[], etext[]; + extern byte runtime·text[], runtime·etext[]; if(info->ExceptionCode == DBG_PRINTEXCEPTION_C) { // This exception is intended to be caught by debuggers. @@ -59,7 +59,7 @@ runtime·sighandler(ExceptionRecord *info, Context *r, G *gp) // Only handle exception if executing instructions in Go binary // (not Windows library code). - if(r->Rip < (uint64)text || (uint64)etext < r->Rip) + if(r->Rip < (uint64)runtime·text || (uint64)runtime·etext < r->Rip) return 0; switch(info->ExceptionCode) { |
