From: Camm Maguire Date: Sun, 8 Dec 2019 19:27:24 +0000 (+0000) Subject: Version_2_6_13pre1a X-Git-Tag: archive/raspbian/2.6.12-90+rpi1^2~110 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=05726c9a3b5b17f949104dfbe72339fa2e688dff;p=gcl.git Version_2_6_13pre1a Gbp-Pq: Name Version_2_6_13pre1a --- diff --git a/o/alloc.c b/o/alloc.c index 155a4762..b5a6d9f2 100644 --- a/o/alloc.c +++ b/o/alloc.c @@ -1269,10 +1269,11 @@ gcl_init_alloc(void *cs_start) { update_real_maxpage(); if (gcl_alloc_initialized) { - massert(rb_start==heap_end &&rb_end==heap_end && rb_limit==heap_end && rb_pointer==heap_end); - holepage=new_holepage; - alloc_page(-holepage); - rb_start=rb_end=rb_limit=rb_pointer=heap_end+(holepage<c.c_cdr),pp=pp->c.c_cdr) if ((pp)->c.c_car->st.st_self == ptr) { - /* SGC contblock pages: Its possible this is on an old page CM 20030827 */ -/* #ifdef SGC */ -/* insert_maybe_sgc_contblock((pp)->c.c_car->st.st_self,(pp)->c.c_car->st.st_dim); */ -/* #else */ -/* insert_contblock((pp)->c.c_car->st.st_self,(pp)->c.c_car->st.st_dim); */ -/* #endif */ (pp)->c.c_car->st.st_self = NULL; *p = pp->c.c_cdr; #ifdef GCL_GPROF if (initial_monstartup_pointer==ptr) { + initial_monstartup_pointer_echo=ptr; initial_monstartup_pointer=NULL; - if (core_end-heap_end>=sizeof(ptr)) - *(void **)heap_end=ptr; } #endif return; @@ -1840,12 +1835,13 @@ free(void *ptr) { #ifdef NOFREE_ERR return; #else - if (core_end-heap_end