aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/runtime/hash32.go2
-rw-r--r--src/runtime/mpagealloc_32bit.go2
-rw-r--r--src/runtime/panic32.go2
-rw-r--r--src/runtime/tagptr_32bit.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/runtime/hash32.go b/src/runtime/hash32.go
index 8589893127..206a308f12 100644
--- a/src/runtime/hash32.go
+++ b/src/runtime/hash32.go
@@ -5,7 +5,7 @@
// Hashing algorithm inspired by
// wyhash: https://github.com/wangyi-fudan/wyhash/blob/ceb019b530e2c1c14d70b79bfa2bc49de7d95bc1/Modern%20Non-Cryptographic%20Hash%20Function%20and%20Pseudorandom%20Number%20Generator.pdf
-//go:build 386 || arm || mips || mipsle || wasm
+//go:build 386 || arm || mips || mipsle || wasm || (gccgo && (ppc || s390))
package runtime
diff --git a/src/runtime/mpagealloc_32bit.go b/src/runtime/mpagealloc_32bit.go
index 4e99be1c2a..44c7beecbc 100644
--- a/src/runtime/mpagealloc_32bit.go
+++ b/src/runtime/mpagealloc_32bit.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build 386 || arm || mips || mipsle || wasm
+//go:build 386 || arm || mips || mipsle || wasm || (gccgo && (ppc || s390))
// wasm is a treated as a 32-bit architecture for the purposes of the page
// allocator, even though it has 64-bit pointers. This is because any wasm
diff --git a/src/runtime/panic32.go b/src/runtime/panic32.go
index 9dd4c0eb2e..7abc9f595b 100644
--- a/src/runtime/panic32.go
+++ b/src/runtime/panic32.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build 386 || arm || mips || mipsle
+//go:build 386 || arm || mips || mipsle || (gccgo && (ppc || s390))
package runtime
diff --git a/src/runtime/tagptr_32bit.go b/src/runtime/tagptr_32bit.go
index d846904130..b2175df913 100644
--- a/src/runtime/tagptr_32bit.go
+++ b/src/runtime/tagptr_32bit.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build 386 || arm || mips || mipsle
+//go:build 386 || arm || mips || mipsle || (gccgo && (ppc || s390))
package runtime