]> Cypherpunks repositories - gostls13.git/commit
cmd/link: use correct path for dynamic loader on ppc64le
authorLynn Boger <laboger@linux.vnet.ibm.com>
Thu, 14 Jul 2022 15:47:28 +0000 (10:47 -0500)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Fri, 5 Aug 2022 14:53:13 +0000 (14:53 +0000)
commit15d395a196f4aba5b8c6bb990380a85fce3282a7
treed60cc8cc0453fe03a44bbf1402a4eabdaee36012
parent91d5ce3def7c967b23de37546439bb4714e26e8a
cmd/link: use correct path for dynamic loader on ppc64le

The setting of the path for the dynamic loader when building for
linux/ppc64le ELF v2 was incorrectly set to the path for
PPC64 ELF v1. This has not caused issues in the common cases
because this string can be set based on the default GO_LDSO setting.
It does result in an incorrect value when cross compiling binaries
with -buildmode=pie.

Updates #53813

Change-Id: I84de1c97b42e0434760b76a57c5a05e055fbb730
Reviewed-on: https://go-review.googlesource.com/c/go/+/417614
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
src/cmd/link/internal/ppc64/obj.go