mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
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:
parent
4f5704ea34
commit
aec85b2557
1 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,11 @@
|
||||||
a function that makes no calls except for __tls_get_addr and we
|
a function that makes no calls except for __tls_get_addr and we
|
||||||
might be here resolving the __tls_get_addr call. */
|
might be here resolving the __tls_get_addr call. */
|
||||||
.hidden _dl_runtime_resolve
|
.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)
|
ENTRY (_dl_runtime_resolve, 4)
|
||||||
std r3,INT_PARMS+0(r1)
|
std r3,INT_PARMS+0(r1)
|
||||||
mr r3,r11
|
mr r3,r11
|
||||||
|
|
Loading…
Add table
Reference in a new issue