public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] TQM8xx: adjust linker script to grown code size
@ 2012-09-27  8:30 Wolfgang Denk
  2012-09-27 13:20 ` Marek Vasut
  2012-10-02 22:06 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Denk @ 2012-09-27  8:30 UTC (permalink / raw)
  To: u-boot

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*)
-- 
1.7.11.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] TQM8xx: adjust linker script to grown code size
  2012-09-27  8:30 [U-Boot] [PATCH] TQM8xx: adjust linker script to grown code size Wolfgang Denk
@ 2012-09-27 13:20 ` Marek Vasut
  2012-10-01 20:30   ` Wolfgang Denk
  2012-10-02 22:06 ` [U-Boot] " Tom Rini
  1 sibling, 1 reply; 5+ messages in thread
From: Marek Vasut @ 2012-09-27 13:20 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] TQM8xx: adjust linker script to grown code size
  2012-09-27 13:20 ` Marek Vasut
@ 2012-10-01 20:30   ` Wolfgang Denk
  2012-10-01 20:33     ` Marek Vasut
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2012-10-01 20:30 UTC (permalink / raw)
  To: u-boot

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

-- 
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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] TQM8xx: adjust linker script to grown code size
  2012-10-01 20:30   ` Wolfgang Denk
@ 2012-10-01 20:33     ` Marek Vasut
  0 siblings, 0 replies; 5+ messages in thread
From: Marek Vasut @ 2012-10-01 20:33 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] TQM8xx: adjust linker script to grown code size
  2012-09-27  8:30 [U-Boot] [PATCH] TQM8xx: adjust linker script to grown code size Wolfgang Denk
  2012-09-27 13:20 ` Marek Vasut
@ 2012-10-02 22:06 ` Tom Rini
  1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2012-10-02 22:06 UTC (permalink / raw)
  To: u-boot

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!

-- 
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>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-02 22:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-27  8:30 [U-Boot] [PATCH] TQM8xx: adjust linker script to grown code size Wolfgang Denk
2012-09-27 13:20 ` Marek Vasut
2012-10-01 20:30   ` Wolfgang Denk
2012-10-01 20:33     ` Marek Vasut
2012-10-02 22:06 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox