]> git.sur5r.net Git - u-boot/commitdiff
[MPC512x] Correct fixup relocation
authorRafal Jaworowski <raj@semihalf.com>
Fri, 7 Sep 2007 15:05:36 +0000 (17:05 +0200)
committerRafal Jaworowski <raj@semihalf.com>
Fri, 7 Sep 2007 15:05:36 +0000 (17:05 +0200)
Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
board/ads5121/u-boot.lds
cpu/mpc512x/config.mk

index 038d84955316ae362a6ce25e4a5e54ae82af73ee..34ceb0fdac45cd08c8529c312d08564e8fdec8fb 100644 (file)
@@ -51,7 +51,6 @@ SECTIONS
   {
     cpu/mpc512x/start.o        (.text)
     *(.text)
-    *(.fixup)
     *(.got1)
     . = ALIGN(16);
     *(.rodata)
index 8a07c5a3b679cc4c0308c32de290ab70eb4d661a..3259d53a13f83c3666ba6cd1b26cfa289df2040b 100644 (file)
@@ -19,7 +19,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
 #
-PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
+PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -mrelocatable
 
 PLATFORM_CPPFLAGS += -DCONFIG_MPC512X -DCONFIG_E300 \
                        -ffixed-r2 -ffixed-r29 -msoft-float -mcpu=603e