1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Forwarded: https://github.com/iovisor/gobpf/pull/324
commit a8772aa7a6c088c9845406d9566e59630f7f4c92
Author: Ast-x64 <Ast-x64@protonmail.com>
Date: Mon Feb 27 18:30:03 2023 +0900
elf: Add utsname support for riscv64
According to https://go.dev/src/syscall/ztypes_linux_riscv64.go#L573 we
should use uint8 on riscv64.
---
elf/utsname_uint8.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/elf/utsname_uint8.go
===================================================================
--- a/elf/utsname_uint8.go
+++ b/elf/utsname_uint8.go
@@ -1,4 +1,4 @@
-// +build linux,arm linux,ppc64 linux,ppc64le s390x
+// +build linux,arm linux,ppc64 linux,ppc64le linux,riscv64 s390x
package elf
|