Correct fixup relocation for mpc8260
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 3 Jul 2007 06:34:44 +0000 (00:34 -0600)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jul 2007 23:08:27 +0000 (01:08 +0200)
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
board/cogent/u-boot.lds
board/hymod/u-boot.lds
board/rsdproto/u-boot.lds
cpu/mpc8260/config.mk
cpu/mpc8260/u-boot.lds
include/common.h

index 5ce2694..d87a39b 100644 (file)
@@ -55,7 +55,6 @@ SECTIONS
   {
     *(.text)
     common/environment.o(.text)
-    *(.fixup)
     *(.got1)
   }
   _etext = .;
index 337a395..9bf0f09 100644 (file)
@@ -69,7 +69,6 @@ SECTIONS
     common/environment.o(.text)
 
     *(.text)
-    *(.fixup)
     *(.got1)
   }
   _etext = .;
index 70fc3a5..9bd6248 100644 (file)
@@ -55,7 +55,6 @@ SECTIONS
   {
     cpu/mpc8260/start.o        (.text)
     *(.text)
-    *(.fixup)
     *(.got1)
     /*. = env_offset; */
   }
index 683b6fb..d401e4c 100644 (file)
@@ -21,7 +21,7 @@
 # MA 02111-1307 USA
 #
 
-PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
+PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -mrelocatable
 
 PLATFORM_CPPFLAGS += -DCONFIG_8260 -DCONFIG_CPM2 -ffixed-r2 -ffixed-r29 \
                     -mstring -mcpu=603e -mmultiple
index 3e84f23..b8abc17 100644 (file)
@@ -55,7 +55,6 @@ SECTIONS
   {
     cpu/mpc8260/start.o                (.text)
     *(.text)
-    *(.fixup)
     *(.got1)
     . = ALIGN(16);
     *(.rodata)
index 4c50053..b224e06 100644 (file)
@@ -83,6 +83,7 @@ typedef volatile unsigned char        vu_char;
 #define CONFIG_MPC8260 1
 #endif
 #include <asm/immap_8260.h>
+#define CONFIG_RELOC_FIXUP_WORKS
 #endif
 #ifdef CONFIG_MPC86xx
 #include <mpc86xx.h>