Re: vmlinux.lds cleanup

From: Sam Ravnborg
Date: Mon Feb 25 2008 - 15:33:08 EST


On Mon, Feb 25, 2008 at 12:58:00PM +0300, Cyrill Gorcunov wrote:
> Hi Sam,
>
> you know I've just take a look on different architectures and I suddenly
> realized that I even can't test my changes I'm bringnin in. For example -
> xtensa arch, most of lds numeric constants could (and should) be changed
> to PAGE_SIZE and THREAD_SIZE but this requires to include additional
> heades in lds script and I'm not even sure if it link without errors...
> (actually, i'm absolutely sure there would be errors ;)
>
> I'm not sure, but maybe it would be more convenient to ask mainteiners
> fix their scripts? At least their have access to an appropriate hardware
> to test.

I have in most cases the relevant toolchains and then I manually inspect
the generated .lds file.
In other cases I just do my best to make it correct and tell in my
submisison that htis is not build tested. (This type of
info belongs below the three dasches '---').

Sam
--
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/