]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/test/issue9400: fix to build with gccgo
authorIan Lance Taylor <iant@golang.org>
Wed, 29 Apr 2015 00:58:17 +0000 (17:58 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 29 Apr 2015 16:57:13 +0000 (16:57 +0000)
commite2b6cebcd697345495bafddba000ff82fc96c0db
tree40a227e32c91e3b7cead00401c8950e4c7ac0cca
parent282db6273e1194f62af9cebfdd165dea3c63b1a3
misc/cgo/test/issue9400: fix to build with gccgo

This doesn't test much with gccgo, but at least it builds now, and the
test does, unsurprisingly, pass.  A proper test would require adding
assembly files in GCC syntax for all platforms that gccgo supports,
which would be infeasible.

Also added copyright headers to the asm files.

Change-Id: Icea5af29d7d521a0681506ddb617a79705b76d33
Reviewed-on: https://go-review.googlesource.com/9417
Reviewed-by: Minux Ma <minux@golang.org>
misc/cgo/test/issue9400/asm_386.s
misc/cgo/test/issue9400/asm_amd64x.s
misc/cgo/test/issue9400/asm_arm.s
misc/cgo/test/issue9400/asm_arm64.s
misc/cgo/test/issue9400/asm_ppc64x.s
misc/cgo/test/issue9400/gccgo.go [new file with mode: 0644]