1
0
mirror of https://github.com/golang/go synced 2024-10-05 03:11:22 -06:00
go/src/cmd
Michael Hudson-Doyle 2a5f88d850 cmd/internal/ld: add -buildmode=c-shared as an alternative to -shared
The linker currently (on some platforms) takes a -shared flag, which means
approximately what -buildmode=c-shared means in the in the proposed "Go
Execution Modes" document. As part of implementing other modes, the term
"shared" becomes horribly overloaded, so this replaces -shared with a
-buildmode argument instead (which currently only handles -buildmode=c-shared
and the default -buildmode=exe -- no new behaviour here).

As the linker support for -shared was in 1.4 this retains it as an alias.

Change-Id: Id2ebb8e05ee07f46208a554bc2622d0e67b47082
Reviewed-on: https://go-review.googlesource.com/8304
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-04-08 21:51:14 +00:00
..
5g cmd/internal/gc: inline runtime.getg 2015-04-07 14:26:47 +00:00
5l cmd/internal/ld: add -buildmode=c-shared as an alternative to -shared 2015-04-08 21:51:14 +00:00
6g cmd/internal/gc: inline runtime.getg 2015-04-07 14:26:47 +00:00
6l cmd/internal/ld: add -buildmode=c-shared as an alternative to -shared 2015-04-08 21:51:14 +00:00
7g cmd/7g: reactivate componentgen 2015-04-08 15:52:47 +00:00
7l cmd/internal/obj/arm64, cmd/internal/ld, cmd/7l: remove absolute addressing in .text 2015-04-08 09:07:48 +00:00
8g cmd/internal/gc: inline runtime.getg 2015-04-07 14:26:47 +00:00
8l cmd/internal/ld, cmd/8l: external linking for windows/386 2015-03-24 03:23:16 +00:00
9g cmd/internal/gc: inline runtime.getg 2015-04-07 14:26:47 +00:00
9l cmd/...: remove use of func() { ... }() in loop increment 2015-03-17 00:34:00 +00:00
addr2line cmd/addr2line: exclude Go tool test on darwin/arm 2015-02-26 23:06:30 +00:00
api cmd/api: make the test more robust 2015-04-08 08:46:42 +00:00
asm cmd/asm: remove object file if assembly fails. 2015-04-08 18:29:17 +00:00
cgo runtime: initialize shared library at library-load time 2015-04-03 01:24:51 +00:00
dist cmd/dist: add misc/cgo/test with -linkmode=auto 2015-04-07 07:07:12 +00:00
fix all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
go cmd/go: re-run mkdoc.sh 2015-04-07 22:44:27 +00:00
gofmt cmd/gofmt, go/format: refactor common pieces into internal/format 2015-04-01 17:35:26 +00:00
internal cmd/internal/ld: add -buildmode=c-shared as an alternative to -shared 2015-04-08 21:51:14 +00:00
link debug/goobj: move to cmd/internal/goobj 2014-11-16 20:52:45 -05:00
nm cmd/nm: exclude Go tool test on darwin/arm 2015-02-26 23:07:27 +00:00
objdump cmd/objdump: disable TestDisasm.* on arm64 2015-03-16 18:46:52 +00:00
old5a cmd/internal/obj: replace Addr.U struct {...} with Val interface{} 2015-03-20 04:47:08 +00:00
old6a cmd/internal/obj: replace Addr.U struct {...} with Val interface{} 2015-03-20 04:47:08 +00:00
old8a cmd/internal/obj: replace Addr.U struct {...} with Val interface{} 2015-03-20 04:47:08 +00:00
old9a cmd/internal/obj: replace Addr.U struct {...} with Val interface{} 2015-03-20 04:47:08 +00:00
pack cmd/pack: skip fork test on darwin/arm 2015-03-01 01:27:06 +00:00
pprof cmd/pprof/internal/profile: insert blank line after non-doc comment 2015-03-16 23:07:15 +00:00
trace cmd/trace: move goroutine analysis code to internal/trace 2015-03-11 12:53:24 +00:00
yacc cmd/internal/gc, cmd/yacc: implement "expecting" syntax error messages 2015-04-07 00:18:02 +00:00