diff options
author | ivmai <ivmai> | 2009-11-06 07:16:05 +0000 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 21:06:51 +0400 |
commit | c3014dd71e141b940df7d06c3d08f17085a62a37 (patch) | |
tree | 49c8fbb14b4979528a707d11d2b35606f571e846 /sparc_mach_dep.S | |
parent | dabce82fc68eadae5f5de87dacf52eb0509c3361 (diff) | |
download | bdwgc-c3014dd71e141b940df7d06c3d08f17085a62a37.tar.gz |
2009-11-06 Ivan Maidanski <ivmai@mail.ru>
* mach_dep.c (GC_push_regs): Remove STATIC (just to catch
a duplicate symbol definition linker error).
* misc.c (GC_clear_stack_inner): Ditto.
* sparc_mach_dep.S (GC_push_regs): Comment out the reference.
* sparc_mach_dep.S: Remove trailing spaces at EOLn; remove
multiple trailing blank lines.
Diffstat (limited to 'sparc_mach_dep.S')
-rw-r--r-- | sparc_mach_dep.S | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/sparc_mach_dep.S b/sparc_mach_dep.S index e8ad6556..3920a00a 100644 --- a/sparc_mach_dep.S +++ b/sparc_mach_dep.S @@ -6,7 +6,7 @@ .seg "text" .globl GC_save_regs_in_stack - .globl GC_push_regs +! .globl GC_push_regs GC_save_regs_in_stack: #if defined(__arch64__) || defined(__sparcv9) save %sp,-128,%sp @@ -21,12 +21,11 @@ GC_save_regs_in_stack: #endif /* 32 bit SPARC */ .GC_save_regs_in_stack_end: .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. +! than sp, and limit is 8 byte aligned. .globl GC_clear_stack_inner GC_clear_stack_inner: #if defined(__arch64__) || defined(__sparcv9) @@ -42,7 +41,7 @@ loop: bgu,pt %xcc, loop ! if (p > limit) goto loop add %o3,-8,%o3 ! p -= 8 (delay slot) retl - mov %o2,%sp ! Restore sp., delay slot + mov %o2,%sp ! Restore sp., delay slot #else /* 32 bit SPARC */ mov %sp,%o2 ! Save sp add %sp,-8,%o3 ! p = sp-8 @@ -61,10 +60,3 @@ loop: #endif /* 32 bit SPARC */ .GC_clear_stack_inner_end: .size GC_clear_stack_inner,.GC_clear_stack_inner_end-GC_clear_stack_inner - - - - - - - |