[U-Boot] [PATCH V3 1/5] ARM: fix u-boot.lds for -ffunction-sections/-fdata-sections

Albert ARIBAUD albert.u.boot at aribaud.net
Fri Oct 26 23:45:00 CEST 2012


Hi Simon,

On Thu, 25 Oct 2012 11:11:14 -0700, Simon Glass <sjg at chromium.org>
wrote:

> On Mon, Oct 22, 2012 at 9:19 AM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> > From: Stephen Warren <swarren at nvidia.com>
> >
> > When -ffunction-sections or -fdata-section are used, symbols are placed
> > into sections such as .data.eserial1_device and .bss.serial_current.
> > Update the linker script to explicitly include these. Without this
> > change (at least with my gcc-4.5.3 built using crosstool-ng), I see that
> > the sections do end up being included, but __bss_end__ gets set to the
> > same value as __bss_start.
> >
> > Signed-off-by: Stephen Warren <swarren at nvidia.com>
> > Acked-by: Allen Martin <amartin at nvidia.com>
> 
> I tested this series on seaboard.
> 
> Acked-by: Simon Glass <sjg at chromium.org>
> Tested-by: Simon Glass <sjg at chromium.org>
> 
> Regards,
> Simon
> 

Applied (this patch only in the series) to u-boot-arm/master, thanks!

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list