]> 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 08:34:10 +0000 (10:34 +0200)
commit78ad1b1b0d42b95c2c75463dc413bfd162a778e8
treec6b9d207426c434fc0391183194dcb223ce40b18
parent24de733967029fd902c34073d2ab25b900887352
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