aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/powerpc/powerpc64/dl-trampoline.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/dl-trampoline.S b/sysdeps/powerpc/powerpc64/dl-trampoline.S
index 9ec40ea..e7b558e 100644
--- a/sysdeps/powerpc/powerpc64/dl-trampoline.S
+++ b/sysdeps/powerpc/powerpc64/dl-trampoline.S
@@ -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