Re: [PATCH] i386: always clear bss

From: Jeremy Fitzhardinge
Date: Fri May 04 2007 - 11:26:20 EST


Eric W. Biederman wrote:
> Using 0x40 as a stack would be ok.
>

OK.

> There are issues with CONFIG_RELOCATABLE and V!=P that I'm not
> comfortable with yet, because we can't tell the difference.

But it doesn't matter in this case, does it? It just needs to find the
current address, whether it be virtual or physical, of the bss. It
doesn't assume any particular offset.

When does the relocation happen? Does the bzImage loader do it as part
of decompression? Or does the kernel do it to itself? (Not that it
makes any difference here.)

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/