aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorJorropo <jorropo.pgm@gmail.com>2026-02-22 01:47:45 +0100
committerJorropo <jorropo.pgm@gmail.com>2026-03-04 08:29:21 -0800
commitc918cbd5561c14edc3caf04a007c4fabbbb896a1 (patch)
tree8070ca310b277babe261ef1d1b0dda3bc09d29cc /src/runtime
parent30d873462fd42c7fc940fe96ca68dfe396f350c7 (diff)
downloadgo-c918cbd5561c14edc3caf04a007c4fabbbb896a1.tar.xz
runtime: fix value of ENOSYS on mips from 38 to 89
Fixes #77730 Change-Id: I8b68b2d4353344e70f970d48a2d50c1a3bd7f273 Reviewed-on: https://go-review.googlesource.com/c/go/+/747664 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Rongrong <rongrong-for-oss@oss.cipunited.com> Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/defs_linux_mips64x.go2
-rw-r--r--src/runtime/defs_linux_mipsx.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/defs_linux_mips64x.go b/src/runtime/defs_linux_mips64x.go
index 7449d2cfac..4d0f10385a 100644
--- a/src/runtime/defs_linux_mips64x.go
+++ b/src/runtime/defs_linux_mips64x.go
@@ -12,7 +12,7 @@ const (
_EINTR = 0x4
_EAGAIN = 0xb
_ENOMEM = 0xc
- _ENOSYS = 0x26
+ _ENOSYS = 0x59
_PROT_NONE = 0x0
_PROT_READ = 0x1
diff --git a/src/runtime/defs_linux_mipsx.go b/src/runtime/defs_linux_mipsx.go
index 5a446e0595..b8da4d00af 100644
--- a/src/runtime/defs_linux_mipsx.go
+++ b/src/runtime/defs_linux_mipsx.go
@@ -12,7 +12,7 @@ const (
_EINTR = 0x4
_EAGAIN = 0xb
_ENOMEM = 0xc
- _ENOSYS = 0x26
+ _ENOSYS = 0x59
_PROT_NONE = 0x0
_PROT_READ = 0x1