summaryrefslogtreecommitdiff
path: root/sparc_mach_dep.S
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-07-26 18:30:36 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 18:30:36 +0200
commit3c50a689ca85f4fe56afbc8da9e894c4cc3af845 (patch)
tree63fc7287fe3951a51b0490573d097e3b899d8dca /sparc_mach_dep.S
parent15a8bd002db68408468ee450c09f7af3975782e8 (diff)
gc7.0alpha5 tarball importgc7_0alpha5
Diffstat (limited to 'sparc_mach_dep.S')
-rw-r--r--sparc_mach_dep.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/sparc_mach_dep.S b/sparc_mach_dep.S
index 06a0f3b..6997fa1 100644
--- a/sparc_mach_dep.S
+++ b/sparc_mach_dep.S
@@ -24,6 +24,10 @@ GC_push_regs:
.size GC_save_regs_in_stack,.GC_save_regs_in_stack_end-GC_save_regs_in_stack
+! GC_clear_stack_inner(arg, limit) clears stack area up to limit and
+! returns arg. Stack clearing is crucial on SPARC, so we supply
+! an assembly version that's more careful. Assumes limit is hotter
+! than sp, and limit is 8 byte aligned.
.globl GC_clear_stack_inner
GC_clear_stack_inner:
#if defined(__arch64__) || defined(__sparcv9)