diff options
author | Shenghou Ma <minux.ma@gmail.com> | 2013-02-26 06:15:29 +0800 |
---|---|---|
committer | Shenghou Ma <minux.ma@gmail.com> | 2013-02-26 06:15:29 +0800 |
commit | 742703983bcfa51719b13b7e9cd2e5fd9c1e6110 (patch) | |
tree | 10e3d794121c9b2f2027ef86012d4ba2d4c09aa7 /src/cmd/5a | |
parent | 48672c54cca7397ad4a0df789288b04f2d47dfd3 (diff) | |
download | go-742703983bcfa51719b13b7e9cd2e5fd9c1e6110.tar.gz |
libmach, cmd/5a, cmd/5c, cmd/5g, cmd/5l: enable DWARF type info for Linux/ARM
Fixes issue 3747.
Update issue 4912
This CL adds gotype into .5 object file.
R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7376054
Diffstat (limited to 'src/cmd/5a')
-rw-r--r-- | src/cmd/5a/lex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/5a/lex.c b/src/cmd/5a/lex.c index fbce6b771..a77e3050d 100644 --- a/src/cmd/5a/lex.c +++ b/src/cmd/5a/lex.c @@ -505,6 +505,7 @@ zaddr(Gen *a, int s) Bputc(&obuf, a->reg); Bputc(&obuf, s); Bputc(&obuf, a->name); + Bputc(&obuf, 0); switch(a->type) { default: print("unknown type %d\n", a->type); |