Re: [U-Boot] [PATCH] armv7: fix linker file for newer ld support

2010-11-03 Thread Alexander Holler
Hello, Am 02.11.2010 18:38, schrieb Albert ARIBAUD: The problem is that the first patch posted here places .rel.dyn after ..bss, so when dumping u-boot.img, all of .bss is included in the file. Keeping it before .bss allows the flat binary to omit .bss as usual. Indeed, but that accounts

Re: [U-Boot] [PATCH] armv7: fix linker file for newer ld support

2010-11-02 Thread Albert ARIBAUD
Le 02/11/2010 05:05, Steve Sakoman a écrit : I've been using gcc 4.3.3, so I haven't run into the issue that this patch is attempting to fix. I tested this patch using gcc 4.3.3, and while it produces a usable image, it causes the size of the image to grow from 227K to 433K! So perhaps we

Re: [U-Boot] [PATCH] armv7: fix linker file for newer ld support

2010-11-02 Thread Alexander Holler
Hello, Am 02.11.2010 05:05, schrieb Steve Sakoman: I've been using gcc 4.3.3, so I haven't run into the issue that this patch is attempting to fix. just to correct this, the problem is a change in binutils and not, as I wrongly assumed earlier, gcc. Using ld from binutils 2.20.1 leads to

Re: [U-Boot] [PATCH] armv7: fix linker file for newer ld support

2010-11-02 Thread Steve Sakoman
On Tue, Nov 2, 2010 at 12:48 AM, Albert ARIBAUD albert.arib...@free.fr wrote: Le 02/11/2010 05:05, Steve Sakoman a écrit : I've been using gcc 4.3.3, so I haven't run into the issue that this patch is attempting to fix. I tested this patch using gcc 4.3.3, and while it produces a usable

Re: [U-Boot] [PATCH] armv7: fix linker file for newer ld support

2010-11-02 Thread Albert ARIBAUD
Le 02/11/2010 14:08, Steve Sakoman a écrit : On Tue, Nov 2, 2010 at 12:48 AM, Albert ARIBAUDalbert.arib...@free.fr wrote: Le 02/11/2010 05:05, Steve Sakoman a écrit : I've been using gcc 4.3.3, so I haven't run into the issue that this patch is attempting to fix. I tested this patch

Re: [U-Boot] [PATCH] armv7: fix linker file for newer ld support

2010-11-02 Thread Steve Sakoman
On Tue, Nov 2, 2010 at 9:28 AM, Albert ARIBAUD albert.arib...@free.fr wrote: Le 02/11/2010 14:08, Steve Sakoman a écrit : On Tue, Nov 2, 2010 at 12:48 AM, Albert ARIBAUDalbert.arib...@free.fr  wrote: Le 02/11/2010 05:05, Steve Sakoman a écrit : I've been using gcc 4.3.3, so I haven't run

Re: [U-Boot] [PATCH] armv7: fix linker file for newer ld support

2010-11-02 Thread Måns Rullgård
Albert ARIBAUD albert.arib...@free.fr writes: Le 02/11/2010 14:08, Steve Sakoman a écrit : On Tue, Nov 2, 2010 at 12:48 AM, Albert ARIBAUDalbert.arib...@free.fr wrote: Le 02/11/2010 05:05, Steve Sakoman a écrit : I've been using gcc 4.3.3, so I haven't run into the issue that this patch

Re: [U-Boot] [PATCH] armv7: fix linker file for newer ld support

2010-11-02 Thread Albert ARIBAUD
Le 02/11/2010 18:00, Måns Rullgård a écrit : Albert ARIBAUDalbert.arib...@free.fr writes: Le 02/11/2010 14:08, Steve Sakoman a écrit : On Tue, Nov 2, 2010 at 12:48 AM, Albert ARIBAUDalbert.arib...@free.fr wrote: Le 02/11/2010 05:05, Steve Sakoman a écrit : I've been using gcc 4.3.3, so

[U-Boot] [PATCH] armv7: fix linker file for newer ld support

2010-11-01 Thread Alexander Holler
Signed-off-by: Alexander Holler hol...@ahsoftware.de --- arch/arm/cpu/armv7/u-boot.lds | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/arm/cpu/armv7/u-boot.lds b/arch/arm/cpu/armv7/u-boot.lds index 88a0fec..34e0a79 100644 ---

Re: [U-Boot] [PATCH] armv7: fix linker file for newer ld support

2010-11-01 Thread Steve Sakoman
On Mon, Nov 1, 2010 at 8:23 PM, Alexander Holler hol...@ahsoftware.de wrote: Signed-off-by: Alexander Holler hol...@ahsoftware.de ---  arch/arm/cpu/armv7/u-boot.lds |   15 ---  1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/arm/cpu/armv7/u-boot.lds