Revert "Correct fixup relocation for mpc824x"
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 15 Nov 2007 15:20:57 +0000 (08:20 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 15 Nov 2007 15:31:19 +0000 (08:31 -0700)
This reverts commit f3a52fe05923935db86985daf9438e2f70ac39aa.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
board/mousse/u-boot.lds
cpu/mpc824x/config.mk
cpu/mpc824x/u-boot.lds
include/common.h

index eb4d8e4..57358b8 100644 (file)
@@ -60,6 +60,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
     lib_generic/zlib.o         (.text)
 
+    *(.fixup)
     *(.got1)
     . = ALIGN(16);
     *(.rodata)
index 17fdb21..66207f4 100644 (file)
@@ -21,7 +21,7 @@
 # MA 02111-1307 USA
 #
 
-PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing -mrelocatable
+PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing
 
 PLATFORM_CPPFLAGS += -DCONFIG_MPC824X -ffixed-r2 -ffixed-r29 -mstring -mcpu=603e -msoft-float
 
index 8cbef4a..c90d1e9 100644 (file)
@@ -55,6 +55,7 @@ SECTIONS
   {
     cpu/mpc824x/start.o                (.text)
     *(.text)
+    *(.fixup)
     *(.got1)
     . = ALIGN(16);
     *(.rodata)
index d763cc7..8ba57e8 100644 (file)
@@ -73,8 +73,6 @@ typedef volatile unsigned char        vu_char;
 #elif defined(CONFIG_MPC8220)
 #include <asm/immap_8220.h>
 #define CONFIG_RELOC_FIXUP_WORKS
-#elif defined(CONFIG_824X)
-#define CONFIG_RELOC_FIXUP_WORKS
 #elif defined(CONFIG_8260)
 #if   defined(CONFIG_MPC8247) \
    || defined(CONFIG_MPC8248) \