Skip to content

Commit 394be60

Browse files
chenhengqilmb
authored andcommitted
cmd/bpf2go: Make LoongArch a supported target
In #975, someone added support for the loong64 GOARCH, but did't provide a Linux string for it. Since the upstream support ([0]) has already landed, let's add the missing Linux string and make LoongArch a supported target. [0]: torvalds/linux@00883922ab40 Signed-off-by: Hengqi Chen <[email protected]>
1 parent 431f71b commit 394be60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/bpf2go/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ var targetByGoArch = map[string]target{
5353
"amd64p32": {"bpfel", ""},
5454
"arm": {"bpfel", "arm"},
5555
"arm64": {"bpfel", "arm64"},
56-
"loong64": {"bpfel", ""},
56+
"loong64": {"bpfel", "loongarch"},
5757
"mipsle": {"bpfel", ""},
5858
"mips64le": {"bpfel", ""},
5959
"mips64p32le": {"bpfel", ""},

0 commit comments

Comments
 (0)