aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/link
diff options
context:
space:
mode:
authorlimeidan <limeidan@loongson.cn>2024-03-01 11:13:21 +0800
committerGopher Robot <gobot@golang.org>2024-05-23 18:50:04 +0000
commit128a99decdfd697f6426e3ee651e852081dd7ac5 (patch)
tree0409be48c697c41ae69e355a35468b046b4952ce /src/cmd/link
parentbf91eb3a8bb057a620f3823e4d6b74a529c0a44d (diff)
downloadgo-128a99decdfd697f6426e3ee651e852081dd7ac5.tar.xz
cmd/link/internal/loong64: correct the musl dynamic linker path
Musl libc already supports loongarch64, the dynamic linker path is the same as other architectures: /lib/ld-musl-$ARCH.so.1 Ref: https://git.musl-libc.org/cgit/musl/tree/INSTALL#n141 Change-Id: Ie31d4254f6e14a5d634b2a7b5fa4c6270e2c0dc7 Reviewed-on: https://go-review.googlesource.com/c/go/+/569475 Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Cherry Mui <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: abner chenc <chenguoqi@loongson.cn> Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn> Reviewed-by: Qiqi Huang <huangqiqi@loongson.cn>
Diffstat (limited to 'src/cmd/link')
-rw-r--r--src/cmd/link/internal/loong64/obj.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/link/internal/loong64/obj.go b/src/cmd/link/internal/loong64/obj.go
index b68ed494f6..06ac5302cc 100644
--- a/src/cmd/link/internal/loong64/obj.go
+++ b/src/cmd/link/internal/loong64/obj.go
@@ -30,7 +30,7 @@ func Init() (*sys.Arch, ld.Arch) {
ELF: ld.ELFArch{
Linuxdynld: "/lib64/ld-linux-loongarch-lp64d.so.1",
- LinuxdynldMusl: "/lib64/ld-musl-loongarch.so.1",
+ LinuxdynldMusl: "/lib/ld-musl-loongarch.so.1",
Freebsddynld: "XXX",
Openbsddynld: "XXX",
Netbsddynld: "XXX",