summaryrefslogtreecommitdiff
path: root/ptrace.a
diff options
context:
space:
mode:
Diffstat (limited to 'ptrace.a')
-rw-r--r--ptrace.a2
1 files changed, 2 insertions, 0 deletions
diff --git a/ptrace.a b/ptrace.a
index e7f5e63..3e18751 100644
--- a/ptrace.a
+++ b/ptrace.a
@@ -469,6 +469,8 @@ init_profiler:
if 1
lea r3,stack_size
lwz r3,0(r3)
+ addi r3,r3,4095
+ rlwinm r3,r3,0,0,31-12
else
li r3, (512*1024) % 65536
addis r3,r3,(512*1024) / 65536