1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:14:43 -07:00

cmd/link/internal/loong64: correct the glibc dynamic linker path.

Ref: https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html#_program_interpreter_path

Change-Id: Ic2598110cc091362cb09f877b6b86433cacf32c6
Reviewed-on: https://go-review.googlesource.com/c/go/+/526535
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
limeidan 2023-09-06 17:09:35 +08:00 committed by Gopher Robot
parent 65f245af49
commit 02d581ef53

View File

@ -29,7 +29,7 @@ func Init() (*sys.Arch, ld.Arch) {
Gentext: gentext,
ELF: ld.ELFArch{
Linuxdynld: "/lib64/ld.so.1",
Linuxdynld: "/lib64/ld-linux-loongarch-lp64d.so.1",
LinuxdynldMusl: "/lib64/ld-musl-loongarch.so.1",
Freebsddynld: "XXX",
Openbsddynld: "XXX",