76aeaddfc5
Regen the patches files (one file per patch). Fix for NetBSD ELF platform: files/stab-elf.c and config/untested/elf-netbsd-cc (by way of patches/patch-af) adjusted. Thanks to Nick for the helping hand and to Alistair for the previous work. This should close PR 13527. Make X11 support conditional by way if the ELK_USE_X11 variable. I tried to enable Motif support: only Motif 1.X should work but even with the lesstif12 package it does not - it does compile though. So Motif support if commented out but leaved in case someone want to fix ELK.
27 lines
597 B
Text
27 lines
597 B
Text
$NetBSD: patch-aq,v 1.1 2002/01/09 23:04:58 seb Exp $
|
|
|
|
--- src/heap-sc.c.orig Thu Apr 4 14:55:43 1996
|
|
+++ src/heap-sc.c
|
|
@@ -37,11 +37,11 @@
|
|
(void)P_Collect ();
|
|
p = Hp;
|
|
}
|
|
- ALIGN(p);
|
|
+ ELK_ALIGN(p);
|
|
if (p + size > Heap_End) {
|
|
(void)P_Collect ();
|
|
p = Hp;
|
|
- ALIGN(p);
|
|
+ ELK_ALIGN(p);
|
|
if (p + size > Heap_End - HEAP_MARGIN)
|
|
Uncatchable_Error ("Out of heap space");
|
|
}
|
|
@@ -108,7 +108,7 @@
|
|
SETPOINTER(*p, POINTER(*tag));
|
|
return;
|
|
}
|
|
- ALIGN(To);
|
|
+ ELK_ALIGN(To);
|
|
switch (t) {
|
|
case T_Bignum:
|
|
size = sizeof (struct S_Bignum) - sizeof (gran_t)
|