diff options
Diffstat (limited to 'src/cmd/gc/popt.c')
-rw-r--r-- | src/cmd/gc/popt.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cmd/gc/popt.c b/src/cmd/gc/popt.c index ea88b94db..993bb2482 100644 --- a/src/cmd/gc/popt.c +++ b/src/cmd/gc/popt.c @@ -49,7 +49,7 @@ noreturn(Prog *p) symlist[0] = pkglookup("panicindex", runtimepkg); symlist[1] = pkglookup("panicslice", runtimepkg); symlist[2] = pkglookup("throwinit", runtimepkg); - symlist[3] = pkglookup("panic", runtimepkg); + symlist[3] = pkglookup("gopanic", runtimepkg); symlist[4] = pkglookup("panicwrap", runtimepkg); symlist[5] = pkglookup("throwreturn", runtimepkg); symlist[6] = pkglookup("selectgo", runtimepkg); @@ -98,6 +98,10 @@ chasejmp(Prog *p, int *jmploop) */ #define alive ((void*)0) #define dead ((void*)1) +/*c2go +extern void *alive; +extern void *dead; +*/ /* mark all code reachable from firstp as alive */ static void |