summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/os_windows_386.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/os_windows_386.c')
-rw-r--r--src/pkg/runtime/os_windows_386.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/os_windows_386.c b/src/pkg/runtime/os_windows_386.c
index 02bc81adbf..15a5ea5d1f 100644
--- a/src/pkg/runtime/os_windows_386.c
+++ b/src/pkg/runtime/os_windows_386.c
@@ -34,7 +34,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.
@@ -51,7 +51,7 @@ runtime·sighandler(ExceptionRecord *info, Context *r, G *gp)
// Only handle exception if executing instructions in Go binary
// (not Windows library code).
- if(r->Eip < (uint32)text || (uint32)etext < r->Eip)
+ if(r->Eip < (uint32)runtime·text || (uint32)runtime·etext < r->Eip)
return 0;
switch(info->ExceptionCode) {