]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/s390x: add s390x support
authorMichael Munday <munday@ca.ibm.com>
Fri, 18 Mar 2016 23:23:50 +0000 (19:23 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 30 Mar 2016 04:57:30 +0000 (04:57 +0000)
commit13f97ea4568b6b1720438347a914618a8bee07be
tree03797d1f910d3069c9cef1f523d58149be3d706d
parent7fc562199109bec2755b14587ef9c64cc305d5e5
cmd/internal/obj/s390x: add s390x support

Based on the ppc64 port.

s390x supports 2, 4 and 6 byte instructions and Go assembly
instructions sometimes map to several s390x instructions. The
assembler loops until a fixed point is reached in order to use
branch instructions that can only handle a short offset in a
similar way to other ports.

Change-Id: I4278bf46aca35a96ca9cea0857e6229643c9c1e3
Reviewed-on: https://go-review.googlesource.com/20942
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/dist/buildtool.go
src/cmd/internal/obj/s390x/a.out.go [new file with mode: 0644]
src/cmd/internal/obj/s390x/anames.go [new file with mode: 0644]
src/cmd/internal/obj/s390x/anamesz.go [new file with mode: 0644]
src/cmd/internal/obj/s390x/asmz.go [new file with mode: 0644]
src/cmd/internal/obj/s390x/listz.go [new file with mode: 0644]
src/cmd/internal/obj/s390x/objz.go [new file with mode: 0644]
src/cmd/internal/obj/s390x/vector.go [new file with mode: 0644]