]> git.ipfire.org Git - thirdparty/glibc.git/commit
powerpc: Fix ld.so address determination for PCREL mode (bug 31640)
authorFlorian Weimer <fweimer@redhat.com>
Sun, 14 Apr 2024 06:24:51 +0000 (08:24 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Sun, 14 Apr 2024 09:27:23 +0000 (11:27 +0200)
commitc15fbfdc0ebff8c05713c2f1e7387ce38acc3a37
treecb61175d9adea360e4a5df34f5d333df7edfc828
parenta4c897e4c7a4424e3fbf8853b721844bcb35b9dd
powerpc: Fix ld.so address determination for PCREL mode (bug 31640)

This seems to have stopped working with some GCC 14 versions,
which clobber r2.  With other compilers, the kernel-provided
r2 value is still available at this point.

Reviewed-by: Peter Bergner <bergner@linux.ibm.com>
(cherry picked from commit 14e56bd4ce15ac2d1cc43f762eb2e6b83fec1afe)
sysdeps/powerpc/powerpc64/dl-machine.h