Browse Source

[MPC512x] Correct fixup relocation

Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
Rafal Jaworowski 17 years ago
parent
commit
8d17979d03
2 changed files with 1 additions and 2 deletions
  1. 0 1
      board/ads5121/u-boot.lds
  2. 1 1
      cpu/mpc512x/config.mk

+ 0 - 1
board/ads5121/u-boot.lds

@@ -51,7 +51,6 @@ SECTIONS
   {
     cpu/mpc512x/start.o	(.text)
     *(.text)
-    *(.fixup)
     *(.got1)
     . = ALIGN(16);
     *(.rodata)

+ 1 - 1
cpu/mpc512x/config.mk

@@ -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