1
0
mirror of https://github.com/golang/go synced 2024-11-25 23:58:02 -07:00

5l, 8l: output missing section symbols

R=rsc
CC=golang-dev
https://golang.org/cl/4252067
This commit is contained in:
Anthony Martin 2011-03-08 17:15:20 -05:00 committed by Russ Cox
parent ce0de4229f
commit f3ed1ad50c
2 changed files with 6 additions and 0 deletions

View File

@ -1985,6 +1985,9 @@ genasmsym(void (*put)(Sym*, char*, int, vlong, vlong, int, Sym*))
case SRODATA: case SRODATA:
case SDATA: case SDATA:
case SELFDATA: case SELFDATA:
case STYPE:
case SSTRING:
case SGOSTRING:
if(!s->reachable) if(!s->reachable)
continue; continue;
put(s, s->name, 'D', s->value, s->size, s->version, s->gotype); put(s, s->name, 'D', s->value, s->size, s->version, s->gotype);

View File

@ -1167,6 +1167,9 @@ genasmsym(void (*put)(Sym*, char*, int, vlong, vlong, int, Sym*))
case SELFDATA: case SELFDATA:
case SMACHO: case SMACHO:
case SMACHOGOT: case SMACHOGOT:
case STYPE:
case SSTRING:
case SGOSTRING:
case SWINDOWS: case SWINDOWS:
if(!s->reachable) if(!s->reachable)
continue; continue;