[U-Boot] [PATCH] TQM8xx: adjust linker script to grown code size

Some of the previous changes caused the code to grow, which causes errors like
u-boot.lds:76 cannot move location counter backwards (from 4000828c to 40008000)
when building with some older tool chains (like ELDK 4.2). Adjust the linker script to make fit again.
Signed-off-by: Wolfgang Denk wd@denx.de --- board/tqc/tqm8xx/u-boot.lds | 2 -- 1 file changed, 2 deletions(-)
This fixes the autobuilder errors for TQM855L, TQM860L and TQM862L.
diff --git a/board/tqc/tqm8xx/u-boot.lds b/board/tqc/tqm8xx/u-boot.lds index 4f08be6..e905c26 100644 --- a/board/tqc/tqm8xx/u-boot.lds +++ b/board/tqc/tqm8xx/u-boot.lds @@ -43,8 +43,6 @@ SECTIONS drivers/pcmcia/libpcmcia.o (.text.pcmcia_hardware_enable) drivers/rtc/librtc.o (.text*) drivers/misc/libmisc.o (.text*) - *(.text.print_buffer) - *(.text.print_size)
. = DEFINED(env_offset) ? env_offset : .; common/env_embedded.o (.ppcenv*)

Dear Wolfgang Denk,
Some of the previous changes caused the code to grow, which causes errors like
u-boot.lds:76 cannot move location counter backwards (from 4000828c to 40008000)
when building with some older tool chains (like ELDK 4.2). Adjust the linker script to make fit again.
[...]
I ain't no expert, but didn't this happen on TQM85xx ?
Best regards, Marek Vasut

Dear Marek Vasut,
In message 201209271520.33571.marex@denx.de you wrote:
Dear Wolfgang Denk,
Some of the previous changes caused the code to grow, which causes errors like
u-boot.lds:76 cannot move location counter backwards (from 4000828c to 40008000)
when building with some older tool chains (like ELDK 4.2). Adjust the linker script to make fit again.
[...]
I ain't no expert, but didn't this happen on TQM85xx ?
No.
TQM85xx is a different issue (here the image size has grown, which would require to change the whole memory map). I'll rather remove these boards.
Best regards,
Wolfgang Denk

Dear Wolfgang Denk,
Dear Marek Vasut,
In message 201209271520.33571.marex@denx.de you wrote:
Dear Wolfgang Denk,
Some of the previous changes caused the code to grow, which causes errors like
u-boot.lds:76 cannot move location counter backwards (from 4000828c to 40008000)
when building with some older tool chains (like ELDK 4.2). Adjust the linker script to make fit again.
[...]
I ain't no expert, but didn't this happen on TQM85xx ?
No.
TQM85xx is a different issue (here the image size has grown, which would require to change the whole memory map). I'll rather remove these boards.
But these are important powerpc boards, no ?
Best regards,
Wolfgang Denk
Best regards, Marek Vasut

On Wed, Sep 26, 2012 at 10:30:08PM -0000, Wolfgang Denk wrote:
Some of the previous changes caused the code to grow, which causes errors like
u-boot.lds:76 cannot move location counter backwards (from 4000828c to 40008000)
when building with some older tool chains (like ELDK 4.2). Adjust the linker script to make fit again.
Signed-off-by: Wolfgang Denk wd@denx.de
Applied to u-boot/master, thanks!
participants (3)
-
Marek Vasut
-
Tom Rini
-
Wolfgang Denk