openbsd-ports/devel/boehm-gc/patches/patch-mach_dep_c

13 lines
529 B
Plaintext
Raw Normal View History

$OpenBSD: patch-mach_dep_c,v 1.3 2003/10/15 12:58:11 todd Exp $
--- mach_dep.c.orig 2003-06-06 04:50:30.000000000 +1000
+++ mach_dep.c 2003-10-15 13:42:32.000000000 +1000
@@ -456,7 +456,7 @@ ptr_t cold_gc_frame;
/* the stack. Return sp. */
# ifdef SPARC
asm(" .seg \"text\"");
-# if defined(SVR4) || defined(NETBSD)
+# if defined(SVR4) || defined(NETBSD) || defined(__ELF__)
asm(" .globl GC_save_regs_in_stack");
asm("GC_save_regs_in_stack:");
asm(" .type GC_save_regs_in_stack,#function");