From f3ed1ad50c7de8f909ea630a2da62d956a756f46 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Tue, 8 Mar 2011 17:15:20 -0500 Subject: [PATCH] 5l, 8l: output missing section symbols R=rsc CC=golang-dev https://golang.org/cl/4252067 --- src/cmd/5l/asm.c | 3 +++ src/cmd/8l/asm.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/cmd/5l/asm.c b/src/cmd/5l/asm.c index 95b12a9b496..e2583e7c31e 100644 --- a/src/cmd/5l/asm.c +++ b/src/cmd/5l/asm.c @@ -1985,6 +1985,9 @@ genasmsym(void (*put)(Sym*, char*, int, vlong, vlong, int, Sym*)) case SRODATA: case SDATA: case SELFDATA: + case STYPE: + case SSTRING: + case SGOSTRING: if(!s->reachable) continue; put(s, s->name, 'D', s->value, s->size, s->version, s->gotype); diff --git a/src/cmd/8l/asm.c b/src/cmd/8l/asm.c index 19134d4a974..4f37df5e43d 100644 --- a/src/cmd/8l/asm.c +++ b/src/cmd/8l/asm.c @@ -1167,6 +1167,9 @@ genasmsym(void (*put)(Sym*, char*, int, vlong, vlong, int, Sym*)) case SELFDATA: case SMACHO: case SMACHOGOT: + case STYPE: + case SSTRING: + case SGOSTRING: case SWINDOWS: if(!s->reachable) continue;