/* Compute the desired load offset from a compressed program; outputs a small assembly wrapper with the appropriate symbols defined.  */
static uint32_t getle32(const void *p)
/* Compute the desired load offset from a compressed program; outputs a small assembly wrapper with the appropriate symbols defined.  */
static uint32_t getle32(const void *p)
{
	const uint8_t *cp = p;
	return (uint32_t)cp[0] + ((uint32_t)cp[1] << 8) +
		((uint32_t)cp[2] << 16) + ((uint32_t)cp[3] << 24);
}