]> Cypherpunks repositories - gostls13.git/commit
runtime: fix s390x build
authorRuss Cox <rsc@golang.org>
Thu, 9 May 2019 22:34:29 +0000 (18:34 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 9 May 2019 23:41:02 +0000 (23:41 +0000)
commit40657c282d49d807d2bd76165fe013317855a653
treed031197eebb4ca813df40f5f4f106525420a3006
parentb8d5150f4a81c82ae7ebeb750f568055b7e8b212
runtime: fix s390x build

The new prototypes of duffzero and duffcopy must be
accompanied by functions. Otherwise buildmode=shared
(in particular, misc/cgo/testshared) has missing symbols.

The right fix, of course, is to implement these on s390x.

For #31916.

Change-Id: I3efff5e3011956341e1b26223a4847a8a91a0453
Reviewed-on: https://go-review.googlesource.com/c/go/+/176397
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/duff_s390x.s [new file with mode: 0644]