From: Russ Cox Date: Sat, 16 May 2009 00:26:08 +0000 (-0700) Subject: fix handling of line numbers for first function X-Git-Tag: weekly.2009-11-06~1626 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a343e5ceb170d6e41a31a0ca765e7680e5fd622f;p=gostls13.git fix handling of line numbers for first function R=r DELTA=2 (1 added, 0 deleted, 1 changed) OCL=28949 CL=28951 --- diff --git a/src/runtime/symtab.c b/src/runtime/symtab.c index 10debe52f0..b4802715e1 100644 --- a/src/runtime/symtab.c +++ b/src/runtime/symtab.c @@ -250,8 +250,9 @@ splitpcln(void) f = func; ef = func + nfunc; - f->pcln.array = p; pc = func[0].entry; // text base + f->pcln.array = p; + f->pc0 = pc - PcQuant; line = 0; for(; p < ep; p++) { if(f < ef && pc >= (f+1)->entry) {