diff options
| author | John van Groningen | 2003-07-11 11:59:28 +0000 |
|---|---|---|
| committer | John van Groningen | 2003-07-11 11:59:28 +0000 |
| commit | 08b6b61214062da92aafcc179e222122c5ef4f74 (patch) | |
| tree | ecdc5dd45ff7703dc42c944587418ec3bd98dd3b /macho/pprofile.a | |
| parent | @ before write_heap label instead of _ (diff) | |
added stack overflow detection using virtual memory and exceptions
Diffstat (limited to 'macho/pprofile.a')
| -rw-r--r-- | macho/pprofile.a | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macho/pprofile.a b/macho/pprofile.a index 84d2022..0146418 100644 --- a/macho/pprofile.a +++ b/macho/pprofile.a @@ -1185,6 +1185,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 |
