]> git.sur5r.net Git - u-boot/commitdiff
Revert "Correct relocation fixup for mpc5xx"
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 15 Nov 2007 15:27:52 +0000 (08:27 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 15 Nov 2007 15:31:27 +0000 (08:31 -0700)
This reverts commit 3649cd99ba815b6601868735765602f00ef3692b.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
cpu/mpc5xx/config.mk
cpu/mpc5xx/u-boot.lds
include/common.h

index e95b8a1a85514a062eb127b43aed697d56334ecc..64cd60071ad4085ab2ae1b583545ce51bccb68f1 100644 (file)
@@ -28,7 +28,7 @@
 #
 
 
-PLATFORM_RELFLAGS +=   -fPIC -ffixed-r14 -meabi -mrelocatable
+PLATFORM_RELFLAGS +=   -fPIC -ffixed-r14 -meabi
 
 PLATFORM_CPPFLAGS +=   -DCONFIG_5xx -ffixed-r2 -ffixed-r29 -mpowerpc -msoft-float
 
index 10001b1c1decabc2b05db808fdfef65cf6ee6e68..5b03fef66c77ddac1bbbe0c032a0525b5752953b 100644 (file)
@@ -59,6 +59,7 @@ SECTIONS
     cpu/mpc5xx/start.o (.text)
 
     *(.text)
+    *(.fixup)
     *(.got1)
   }
   _etext = .;
index 4bfb8c5627d41dfadfdd30f30404e5cc1670efd8..63ac8b062cd05c9a0b782ae60f291cae24c228ae 100644 (file)
@@ -63,7 +63,6 @@ typedef volatile unsigned char        vu_char;
 #endif
 #elif defined(CONFIG_5xx)
 #include <asm/5xx_immap.h>
-#define CONFIG_RELOC_FIXUP_WORKS
 #elif defined(CONFIG_MPC5xxx)
 #include <mpc5xxx.h>
 #elif defined(CONFIG_MPC512X)