openbsd-ports/devel/boehm-gc/patches/patch-mach_dep_c
todd f680842474 Thanks to marius at monkey dot org for unbreaking this port.
Thanks to Andrew Delgleish for updating this to 6.2
patches submitted upstream.
2003-10-15 12:58:11 +00:00

13 lines
529 B
Plaintext

$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");