]> Cypherpunks repositories - gostls13.git/commit
all: enable c-shared/c-archive support for freebsd/amd64
authorTim Wright <tenortim@gmail.com>
Wed, 14 Feb 2018 03:00:17 +0000 (19:00 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 21 Mar 2018 21:56:20 +0000 (21:56 +0000)
commit88129f0cb2438b555fd1dc74c707408251902b4e
tree35ac1da60b4186b937b8c78cc5e4747ed5e607eb
parentff5cf43df5b1614f940157b21ca6ed64791b8a1f
all: enable c-shared/c-archive support for freebsd/amd64

Fixes #14327
Much of the code is based on the linux/amd64 code that implements these
build modes, and code is shared where possible.

Change-Id: Ia510f2023768c0edbc863aebc585929ec593b332
Reviewed-on: https://go-review.googlesource.com/93875
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
21 files changed:
misc/cgo/testcarchive/carchive_test.go
misc/cgo/testcarchive/main5.c
misc/cgo/testcshared/cshared_test.go
src/cmd/dist/test.go
src/cmd/go/internal/work/init.go
src/cmd/internal/obj/x86/asm6.go
src/cmd/internal/obj/x86/obj6.go
src/cmd/link/internal/ld/config.go
src/runtime/cgo/gcc_fatalf.c
src/runtime/cgo/gcc_freebsd_amd64.c
src/runtime/cgo/gcc_freebsd_sigaction.c [new file with mode: 0644]
src/runtime/cgo/sigaction.go
src/runtime/cgo_sigaction.go
src/runtime/os_freebsd.go
src/runtime/os_freebsd2.go [new file with mode: 0644]
src/runtime/os_freebsd_amd64.go [new file with mode: 0644]
src/runtime/sigaction.go [moved from src/runtime/sigaction_linux.go with 65% similarity]
src/runtime/signal_unix.go
src/runtime/sys_freebsd_386.s
src/runtime/sys_freebsd_amd64.s
src/runtime/sys_freebsd_arm.s