Skip to content

Commit

Permalink
cmd/bpf2go: Make LoongArch a supported target
Browse files Browse the repository at this point in the history
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 <hengqi.chen@gmail.com>
  • Loading branch information
chenhengqi authored and lmb committed Jan 8, 2024
1 parent 431f71b commit 394be60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/bpf2go/main.go
Expand Up @@ -53,7 +53,7 @@ var targetByGoArch = map[string]target{
"amd64p32": {"bpfel", ""},
"arm": {"bpfel", "arm"},
"arm64": {"bpfel", "arm64"},
"loong64": {"bpfel", ""},
"loong64": {"bpfel", "loongarch"},
"mipsle": {"bpfel", ""},
"mips64le": {"bpfel", ""},
"mips64p32le": {"bpfel", ""},
Expand Down

0 comments on commit 394be60

Please sign in to comment.