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

Wolfgang Denk wd at denx.de
Wed Oct 24 14:36:16 CEST 2012


Once more, some of the previous changes caused the code to grow, which
causes errors like

u-boot.lds:80 cannot move location counter backwards (from 400082a4 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 |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/board/tqc/tqm8xx/u-boot.lds b/board/tqc/tqm8xx/u-boot.lds
index 7cc41cd..e1e1ccd 100644
--- a/board/tqc/tqm8xx/u-boot.lds
+++ b/board/tqc/tqm8xx/u-boot.lds
@@ -1,5 +1,5 @@
 /*
- * (C) Copyright 2000
+ * (C) Copyright 2000-2012
  * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
  *
  * See file CREDITS for list of people who contributed to this
@@ -41,8 +41,6 @@ SECTIONS
     drivers/net/libnet.o		(.text*)
     drivers/pcmcia/libpcmcia.o		(.text.pcmcia_on)
     drivers/pcmcia/libpcmcia.o		(.text.pcmcia_hardware_enable)
-    drivers/rtc/librtc.o		(.text*)
-    drivers/misc/libmisc.o		(.text*)
 
     . = DEFINED(env_offset) ? env_offset : .;
     common/env_embedded.o	(.ppcenv*)
-- 
1.7.7.6



More information about the U-Boot mailing list