Skip to contentSkip to conversation

TQM8xx: adjust linker script to grown code size

PATCH In review Wolfgang Denk 3 participants 5 messages Sep 27, 2012 – Oct 2, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 board/tqc/tqm8xx/u-boot.lds | 2 --
 1 file changed, 2 deletions(-)

This fixes the autobuilder errors for TQM855L, TQM860L and TQM862L.

board/tqc/tqm8xx/u-boot.lds +0 -2
index 4f08be6..e905c26 100644
@@ -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*)
Signature · 1 line
1.7.11.4
#1 lore raw

PATCH 1/1 TQM8xx: adjust linker script to grown code size

Dear Wolfgang Denk,

Quoted 8 lines

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

#2 lore raw

PATCH 1/1 TQM8xx: adjust linker script to grown code size

Dear Marek Vasut,

Quoted 5 lines · In message <[email protected]> you wrote:

Dear Wolfgang Denk,

Quoted 3 lines

Some of the previous changes caused the code to grow, which causes errors like

Quoted 8 lines
Quoted 5 lines

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

Signature · 7 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
PROGRAM - n.  A magic spell cast over a computer  allowing it to turn
one's input into error messages.
v. tr. - To engage in a pastime similar to banging one's head against
a wall, but with fewer opportunities for reward.
#3 lore raw

PATCH 1/1 TQM8xx: adjust linker script to grown code size

Dear Wolfgang Denk,

Quoted 16 lines

Dear Marek Vasut,

Quoted 13 lines · In message <[email protected]> you wrote:

Dear Wolfgang Denk,

Quoted 8 lines

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.

[...]

Quoted 7 lines
Quoted 1 line

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 ?

Quoted 3 lines

Best regards,

Wolfgang Denk

Best regards,
Marek Vasut

#4 lore raw
In reply to Wolfgang Denk
Quoted 9 lines · 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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121002/06cfb966/attachment.pgp>