]> Cypherpunks repositories - gostls13.git/commit
liblink, cmd/ld, cmd/5l: darwin/arm support
authorShenghou Ma <minux@golang.org>
Fri, 26 Dec 2014 05:15:07 +0000 (00:15 -0500)
committerMinux Ma <minux@golang.org>
Fri, 6 Feb 2015 05:41:15 +0000 (05:41 +0000)
commit1083715b7f2cb89e90a9ef04012a427aabe4e648
tree524919ef007b2125b19e2ed27c85fc9ae7691b78
parentdb0d3892e0f3b246475c473685249427f86e3a56
liblink, cmd/ld, cmd/5l: darwin/arm support

liblink:
 - set dummy value for ctxt->tlsoffset.
cmd/ld:
 - always do external linking when using cgo on darwin/arm,
   as our linker might not generate codesign-compatible binary.
cmd/5l:
 - support generate ARM Mach-O binaries
 - add machoreloc1() that translate our internal relocation to
   macho relocations used by external linking.

Change-Id: Ic5454aeb87009aaf8f1453ec7fe33e6da55d5f06
Reviewed-on: https://go-review.googlesource.com/3273
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/5l/asm.c
src/cmd/5l/obj.c
src/cmd/ld/lib.c
src/cmd/ld/macho.c
src/cmd/ld/macho.h
src/liblink/sym.c