Commit f3ed1ad5 authored by Anthony Martin's avatar Anthony Martin Committed by Russ Cox

5l, 8l: output missing section symbols

R=rsc
CC=golang-dev
https://golang.org/cl/4252067
parent ce0de422
...@@ -1985,6 +1985,9 @@ genasmsym(void (*put)(Sym*, char*, int, vlong, vlong, int, Sym*)) ...@@ -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);
......
...@@ -1167,6 +1167,9 @@ genasmsym(void (*put)(Sym*, char*, int, vlong, vlong, int, Sym*)) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment