From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Fri, 26 Oct 2012 23:45:00 +0200 Subject: [U-Boot] [PATCH V3 1/5] ARM: fix u-boot.lds for -ffunction-sections/-fdata-sections In-Reply-To: References: <1350922776-30909-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <20121026234500.69add8bb@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Thu, 25 Oct 2012 11:11:14 -0700, Simon Glass wrote: > On Mon, Oct 22, 2012 at 9:19 AM, Stephen Warren wrote: > > From: Stephen Warren > > > > 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 > > Acked-by: Allen Martin > > I tested this series on seaboard. > > Acked-by: Simon Glass > Tested-by: Simon Glass > > Regards, > Simon > Applied (this patch only in the series) to u-boot-arm/master, thanks! Amicalement, -- Albert.