[U-Boot] [PATCH 3/3] powerpc, 8xx: adapt a few linker scripts so it will build.

Joakim Tjernlund Joakim.Tjernlund at transmode.se
Sun Apr 24 10:29:34 CEST 2011


Seems like recent linker/fpic changes broke a few 8xx boards.
This makes them build again.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
---
 board/LEOX/elpt860/u-boot.lds |    2 +-
 board/etx094/u-boot.lds       |    2 +-
 board/svm_sc8xx/u-boot.lds    |    2 +-
 board/tqc/tqm8xx/u-boot.lds   |    2 ++
 4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/board/LEOX/elpt860/u-boot.lds b/board/LEOX/elpt860/u-boot.lds
index 5aaf6b3..37b74ec 100644
--- a/board/LEOX/elpt860/u-boot.lds
+++ b/board/LEOX/elpt860/u-boot.lds
@@ -43,7 +43,7 @@ SECTIONS
 
     arch/powerpc/cpu/mpc8xx/start.o	(.text*)
     arch/powerpc/cpu/mpc8xx/traps.o	(.text*)
-    common/libcommon.o			(.text*)
+    /* common/libcommon.o			(.text*) */
     arch/powerpc/cpu/mpc8xx/libmpc8xx.o	(.text*)
     board/LEOX/elpt860/libelpt860.o	(.text*)
     arch/powerpc/lib/libpowerpc.o	(.text*)
diff --git a/board/etx094/u-boot.lds b/board/etx094/u-boot.lds
index b68d9ea..33c4dba 100644
--- a/board/etx094/u-boot.lds
+++ b/board/etx094/u-boot.lds
@@ -36,7 +36,7 @@ SECTIONS
     arch/powerpc/cpu/mpc8xx/traps.o	(.text*)
     net/libnet.o			(.text*)
     arch/powerpc/cpu/mpc8xx/libmpc8xx.o	(.text*)
-    *(.text.*printf*)
+    /* *(.text.*printf*) */
 
     . = env_offset;
     common/env_embedded.o		(.text*)
diff --git a/board/svm_sc8xx/u-boot.lds b/board/svm_sc8xx/u-boot.lds
index c65f022..7b886f0 100644
--- a/board/svm_sc8xx/u-boot.lds
+++ b/board/svm_sc8xx/u-boot.lds
@@ -41,7 +41,7 @@ SECTIONS
     *(.text.*printf)
     *(.text.do_mem_*)
     *(.text.flash*)
-    *(.text.run_command)
+/*    *(.text.run_command) */
     *(.text.main_loop)
     *(.text.srec_decode)
 
diff --git a/board/tqc/tqm8xx/u-boot.lds b/board/tqc/tqm8xx/u-boot.lds
index f625c3d..43bfe1c 100644
--- a/board/tqc/tqm8xx/u-boot.lds
+++ b/board/tqc/tqm8xx/u-boot.lds
@@ -42,8 +42,10 @@ SECTIONS
     drivers/pcmcia/libpcmcia.o		(.text*)
     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.3.4



More information about the U-Boot mailing list