From ba273f066f447a23b55403149b50c322a40bb87b Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Wed, 24 Nov 2010 19:19:08 +0100 Subject: 8260: Cleanup for partial linking and --gc-sections Signed-off-by: Wolfgang Denk Acked-by: Stefan Roese --- board/cogent/u-boot.lds | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'board/cogent/u-boot.lds') diff --git a/board/cogent/u-boot.lds b/board/cogent/u-boot.lds index b4c7a0e..42ed142 100644 --- a/board/cogent/u-boot.lds +++ b/board/cogent/u-boot.lds @@ -21,6 +21,7 @@ * MA 02111-1307 USA */ +#include OUTPUT_ARCH(powerpc) SECTIONS @@ -29,9 +30,12 @@ SECTIONS . = + SIZEOF_HEADERS; .text : { +#ifdef CONFIG_MPC8260 + arch/powerpc/cpu/mpc8260/start.o (.text*) +#else arch/powerpc/cpu/mpc8xx/start.o (.text*) arch/powerpc/cpu/mpc8xx/traps.o (.text*) - +#endif *(.text*) } _etext = .; -- cgit v1.1