pkgsrc/lang/ghc/patches/patch-ab
tron cbf11455b7 - Fix broken object file format recognition.
- Patch memory management to recognize NetBSD-i386 ELF.

XXX This package still doesn't build on ELF systems due to problems with
XXX included assembler sources.
1999-12-27 18:20:11 +00:00

15 lines
387 B
Text

$NetBSD: patch-ab,v 1.2 1999/12/27 18:20:12 tron Exp $
--- ghc/rts/MBlock.c Wed Sep 15 09:06:54 1999
+++ ghc/rts/MBlock.c Tue Dec 14 10:27:15 1999
@@ -47,6 +47,10 @@
*/
#define ASK_FOR_MEM_AT 0x50000000
+#elif netbsd_TARGET_OS || netbsd_elf_TARGET_OS
+/* NetBSD i386 shared libs are at 0x40000000
+ */
+#define ASK_FOR_MEM_AT 0x50000000
#elif linux_TARGET_OS
/* Any ideas?
*/