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

Wolfgang Denk wd at denx.de
Thu Sep 27 10:30:08 CEST 2012


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



More information about the U-Boot mailing list