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

From: Sam Ravnborg
Date: Wed Sep 30 2009 - 17:39:36 EST


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.

> - }
> - /* Stabs debugging sections. */
> - .stab 0 : { *(.stab) }
> - .stabstr 0 : { *(.stabstr) }
> - .stab.excl 0 : { *(.stab.excl) }
> - .stab.exclstr 0 : { *(.stab.exclstr) }
> - .stab.index 0 : { *(.stab.index) }
> - .stab.indexstr 0 : { *(.stab.indexstr) }
> + BSS_SECTION(0, 0, 0)
> + STABS_DEBUG
> .comment 0 : { *(.comment) }
> }

Other than that.
Acked-by: Sam Ravnborg <sam@xxxxxxxxxxxx>

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/