powerpc64: Fix dl-trampoline.S big-endian / non-ROP build failure

Fix a big-endian / non-ROP build failure caused by commit 4d9a4c02 when
building dl-trampoline.S.

Reported-by: Joseph Myers <josmyers@redhat.com>
This commit is contained in:
Peter Bergner 2024-12-11 23:15:13 +03:00
parent 4f5704ea34
commit aec85b2557

View File

@ -33,7 +33,11 @@
a function that makes no calls except for __tls_get_addr and we
might be here resolving the __tls_get_addr call. */
.hidden _dl_runtime_resolve
#define INT_PARMS FRAME_ROP_SAVE-64
#ifdef FRAME_ROP_SAVE
# define INT_PARMS FRAME_ROP_SAVE-64
#else
# define INT_PARMS -64
#endif
ENTRY (_dl_runtime_resolve, 4)
std r3,INT_PARMS+0(r1)
mr r3,r11