Patchwork [U-Boot] SMDK6400: fix the compiler error

login
register
mail settings
Submitter Minkyu Kang
Date June 3, 2011, 7:27 a.m.
Message ID <4DE88CC5.8040904@samsung.com>
Download mbox | patch
Permalink /patch/98525/
State Accepted
Commit 84b80856387a72c38586075c9a6795e4face7693
Delegated to: Albert ARIBAUD
Headers show

Comments

Minkyu Kang - June 3, 2011, 7:27 a.m.
This patch adds _end for fix following compiler error

arch/arm/cpu/arm1176/start.o: In function `_end_ofs':
arch/arm/cpu/arm1176/start.S:61: undefined reference to `_end'

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
---
 board/samsung/smdk6400/u-boot-nand.lds |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Minkyu Kang - June 3, 2011, 8:15 a.m.
Dear  Albert ARIBAUD,

On 3 June 2011 16:27, Minkyu Kang <mk7.kang@samsung.com> wrote:
> This patch adds _end for fix following compiler error
>
> arch/arm/cpu/arm1176/start.o: In function `_end_ofs':
> arch/arm/cpu/arm1176/start.S:61: undefined reference to `_end'
>
> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
> ---
>  board/samsung/smdk6400/u-boot-nand.lds |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

This patch is for bugfix.
Please apply it to arm tree.

Thanks
Minkyu Kang
Albert ARIBAUD - June 8, 2011, 8:14 p.m.
Hi Minkyu,

Le 03/06/2011 10:15, Minkyu Kang a écrit :
> Dear  Albert ARIBAUD,
>
> On 3 June 2011 16:27, Minkyu Kang<mk7.kang@samsung.com>  wrote:
>> This patch adds _end for fix following compiler error
>>
>> arch/arm/cpu/arm1176/start.o: In function `_end_ofs':
>> arch/arm/cpu/arm1176/start.S:61: undefined reference to `_end'
>>
>> Signed-off-by: Minkyu Kang<mk7.kang@samsung.com>
>> ---
>>   board/samsung/smdk6400/u-boot-nand.lds |    2 ++
>>   1 files changed, 2 insertions(+), 0 deletions(-)
>
> This patch is for bugfix.
> Please apply it to arm tree.
>
> Thanks
> Minkyu Kang

Applied, thanks!

Amicalement,

Patch

diff --git a/board/samsung/smdk6400/u-boot-nand.lds b/board/samsung/smdk6400/u-boot-nand.lds
index 21e1ed3..f162815 100644
--- a/board/samsung/smdk6400/u-boot-nand.lds
+++ b/board/samsung/smdk6400/u-boot-nand.lds
@@ -67,6 +67,8 @@  SECTIONS
 		*(.dynsym)
 	}
 
+	_end = .;
+
 	.bss __rel_dyn_start (OVERLAY) : {
 		__bss_start = .;
 		*(.bss)