1
0
mirror of https://github.com/golang/go synced 2024-11-15 03:30:37 -07:00
go/src/cmd/internal
Matthew Dempsky 6fe1febc86 cmd/internal/obj: replace AGLOBL with (*Link).Globl
Replace the AGLOBL pseudo-op with a method to directly register an
LSym as a global. Similar to how we previously already replaced the
ADATA pseudo-op with directly writing out data bytes.

Passes toolstash -cmp.

Change-Id: I3631af0a2ab5798152d0c26b833dc309dbec5772
Reviewed-on: https://go-review.googlesource.com/29366
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Dave Cheney <dave@cheney.net>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-09-17 00:51:47 +00:00
..
bio cmd/internal/obj: remove use of package bio 2016-04-14 17:58:33 +00:00
browser cmd: add internal/browser package 2016-09-14 18:26:33 +00:00
dwarf cmd: generate DWARF for functions in compile instead of link. 2016-08-18 15:06:27 +00:00
gcprog cmd/{asm,compile/internal}: delete dead code 2016-08-25 12:20:29 +00:00
goobj cmd/link, etc: introduce SymKind type 2016-09-09 16:56:03 +00:00
obj cmd/internal/obj: replace AGLOBL with (*Link).Globl 2016-09-17 00:51:47 +00:00
objfile cmd/objdump: implement objdump of .o files 2016-08-24 17:36:59 +00:00
pprof cmd: add internal/browser package 2016-09-14 18:26:33 +00:00
sys cmd/objdump: implement objdump of .o files 2016-08-24 17:36:59 +00:00