TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
gcl (2.6.12-50) unstable; urgency=medium
* list_order.6
Gbp-Pq: Name defined_real_maxpage
#define RELOC_H "elf32_i386_reloc.h"
#define NEED_STACK_CHK_GUARD
+
+#define DEFINED_REAL_MAXPAGE (1UL<<18) /*FIXME brk probe broken*/
#define RELOC_H "elf32_m68k_reloc.h"
#define NEED_STACK_CHK_GUARD
+
+#define DEFINED_REAL_MAXPAGE (1UL<<18) /*FIXME brk probe broken*/
#define RELOC_H "elf32_sh4_reloc.h"
#define NEED_STACK_CHK_GUARD
+
+#define DEFINED_REAL_MAXPAGE (1UL<<18) /*FIXME brk probe broken*/
}
#endif
+#ifdef DEFINED_REAL_MAXPAGE
+ real_maxpage=DEFINED_REAL_MAXPAGE;
+#else
massert(cur=sbrk(0));
beg=data_start ? data_start : cur;
for (i=0,j=(1L<<log_maxpage_bound);j>PAGESIZE;j>>=1)
i+=j;
}
massert(!mbrk(cur));
-
+#endif
+
phys_pages=ufmin(get_phys_pages1(0)+page(beg),real_maxpage)-page(beg);
get_gc_environ();