sections doesn't work when the -r option is used. Disable the unmapping
code again until lld gets fixed.
-/* $OpenBSD: autoconf.c,v 1.5 2017/12/24 23:24:45 kettenis Exp $ */
+/* $OpenBSD: autoconf.c,v 1.6 2017/12/27 13:57:40 kettenis Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
*
void
unmap_startup(void)
{
+#if 0
extern void *_start, *endboot;
vaddr_t p = (vaddr_t)&_start;
pmap_kremove(p, PAGE_SIZE);
p += PAGE_SIZE;
} while (p < (vaddr_t)&endboot);
+#endif
}
void