Re: [PATCH 2/2] arm: Clean up linker script using new linkerscript macros.

From: Russell King - ARM Linux
Date: Thu Oct 01 2009 - 08:57:28 EST


On Wed, Sep 30, 2009 at 11:39:25PM +0200, Sam Ravnborg wrote:
> On Wed, Sep 30, 2009 at 05:25:35PM -0400, Tim Abbott wrote:
> > From: Nelson Elhage <nelhage@xxxxxxxxxxx>
> >
> > This patch is mostly a straightforward translation. The primary side
> > effect to the resulting vmlinux should be to increase the alignment on
> > the initramfs to the standard PAGE_SIZE from 32 bytes.
> >
> > Signed-off-by: Nelson Elhage <nelhage@xxxxxxxxxxx>
> > Cc: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>
> > Signed-off-by: Tim Abbott <tabbott@xxxxxxxxxxx>
> > ---
> > arch/arm/kernel/vmlinux.lds.S | 75 +++++++++++-----------------------------
> > 1 files changed, 21 insertions(+), 54 deletions(-)
> >
> >
> > - .bss : {
> > - __bss_start = .; /* BSS */
> > - *(.bss)
> > - *(COMMON)
> > - __bss_stop = .;
> > - _end = .;
>
> Where is _end in the new layout?
> I think we lost it.

You're right - this will cause a build failure since _end is used in
several core ARM files. Tim?

PS, please ensure that all patches are at the very least build tested,
or say when they aren't.
--
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/