lkml.org 
[lkml]   [2003]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Consolidate vmlinux.lds.S files
On Mon, 13 Jan 2003, David Mosberger wrote:

>
> Kai> I would suggest an approach like the following, of course
> Kai> showing only a first simple step. A series of steps like this
> Kai> should allow for a serious reduction in size of
> Kai> arch/*/vmlinux.lds.S already, while being obviously correct and
> Kai> allowing archs to do their own special thing if necessary (in
> Kai> particular, IA64 seems to differ from all the other archs).
>
> The only real difference for the ia64 vmlinux.lds.S is that it
> generates correct physical addressess, so that the boot loader doesn't
> have to know anything about the virtual layout of the kernel.
> Something that might be useful for other arches as well...

Hmmh, you mean that the boot loader can just load the vmlinux sections to
the LMAs, right? Yes, I can see that this makes sense - Most archs don't
actually load the ELF file, so they don't even have the LMA information,
but for them it shouldn't hurt, either.

So it should be possible to have the correct LMA for all archs w/o
breakage. Might be worth a try.

--Kai


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

\
 
 \ /
  Last update: 2005-03-22 13:32    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site