2002-10-26 09:25:26 -04:00
|
|
|
$OpenBSD: patch-mach_dep_c,v 1.2 2002/10/26 13:25:26 todd Exp $
|
|
|
|
--- mach_dep.c.orig Wed Jul 31 17:12:03 2002
|
|
|
|
+++ mach_dep.c Fri Oct 25 11:53:09 2002
|
|
|
|
@@ -446,7 +446,7 @@ ptr_t cold_gc_frame;
|
2002-08-27 11:41:30 -04:00
|
|
|
/* the stack. Return sp. */
|
|
|
|
# ifdef SPARC
|
|
|
|
asm(" .seg \"text\"");
|
|
|
|
-# ifdef SVR4
|
|
|
|
+# if defined(SVR4) || defined(__ELF__)
|
|
|
|
asm(" .globl GC_save_regs_in_stack");
|
|
|
|
asm("GC_save_regs_in_stack:");
|
|
|
|
asm(" .type GC_save_regs_in_stack,#function");
|