]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.link] cmd/link: stream external relocations on S390X
authorCherry Zhang <cherryyz@google.com>
Wed, 22 Jul 2020 15:42:13 +0000 (11:42 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 23 Jul 2020 16:38:43 +0000 (16:38 +0000)
All the bits are there. Just need to enable it.

Change-Id: I12ee25317c6385838493dadc900fb57c3b49a416
Reviewed-on: https://go-review.googlesource.com/c/go/+/244277
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/link/internal/ld/target.go

index 9f0aab3d6cc23daa7d7c09003c20acb19c8dc816..40e53d4c9d5095a6ff514052fbc4251104109b4e 100644 (file)
@@ -185,5 +185,5 @@ func (t *Target) IsBigEndian() bool {
 // Temporary helper.
 func (t *Target) StreamExtRelocs() bool {
        return (t.IsELF || t.IsDarwin()) &&
-               (t.IsAMD64() || t.Is386() || t.IsARM64() || t.IsMIPS() || t.IsMIPS64())
+               (t.IsAMD64() || t.Is386() || t.IsARM64() || t.IsMIPS() || t.IsMIPS64() || t.IsS390X())
 }