Re: [RFC] Consolidate vmlinux.lds.S files

dada1 (dada1@cosmosbay.com)
Mon, 13 Jan 2003 11:19:58 +0100


> Recently we have seen seveal changes to arch/*/vmlinux-lds.S,
> mainly introduced by the module support but also other changes.
>
> This is first version, where I have converted i386, s390 and sparc64.
> The latter two is not tested, only to make sure it can be used by more
> than one platform.
>

...

> + TEXT_SECTION_CMD(0xC0000000 + 0x100000,, 0x9090, )

Nice job indeed.

Could you change in arch/i386/vmlinux-lds.S the 0xC0000000 by PAGE_OFFSET
(defined in include/asm-i386/page.h)

TEXT_SECTION_CMD(PAGE_OFFSET + 0x100000,, 0x9090, )

This way, one could change PAGE_OFFSET if he needs too, without having to
change vmlinux-lds.S accordingly

Thanks

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