]> Cypherpunks repositories - gostls13.git/commit
runtime,cmd/dist,cmd/link: add cgo support on openbsd/arm
authorJoel Sing <joel@sing.id.au>
Sun, 16 Dec 2018 14:18:51 +0000 (01:18 +1100)
committerJoel Sing <joel@sing.id.au>
Tue, 18 Dec 2018 12:02:45 +0000 (12:02 +0000)
commitc52beb108779b8d983136fa5200ab91005c6de49
treeca2694faa55674db60001bdda1e95cf95ca67a8b
parent99e4ddd053fada36038f7fd4e7220d789e30e48a
runtime,cmd/dist,cmd/link: add cgo support on openbsd/arm

Add support for cgo on openbsd/arm.The gcc shipped with base OpenBSD armv7
is old/inadequate, so use clang by default.

Change-Id: I945a26d369378952d357727718e69249411e1127
Reviewed-on: https://go-review.googlesource.com/c/154381
Run-TryBot: Joel Sing <joel@sing.id.au>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/build.go
src/cmd/dist/main.go
src/cmd/link/internal/ld/lib.go
src/runtime/cgo/gcc_openbsd_arm.c [new file with mode: 0644]
src/runtime/sys_openbsd_arm.s