1
0
mirror of https://github.com/golang/go synced 2024-11-23 04:20:03 -07:00

fix 6l bug - moved symbol table without

recording correct place in mach tables
	used by debuggers.

R=r
DELTA=4  (0 added, 2 deleted, 2 changed)
OCL=19810
CL=19849
This commit is contained in:
Russ Cox 2008-11-21 16:13:11 -08:00
parent c4bba4b1fd
commit 284a50c109

View File

@ -409,10 +409,8 @@ asmb(void)
7, 5, /* protects */ 7, 5, /* protects */
0, 0); /* sections flags */ 0, 0); /* sections flags */
v += rnd(datsize, INITRND); machsymseg(symo+8,symsize); /* fileoffset,filesize */
machsymseg(v,symsize); /* fileoffset,filesize */ machsymseg(symo+8+symsize,lcsize); /* fileoffset,filesize */
v += symsize;
machsymseg(v,lcsize); /* fileoffset,filesize */
} }
break; break;
case 7: case 7: