summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafal Jaworowski <raj@semihalf.com>2007-09-07 17:05:36 +0200
committerRafal Jaworowski <raj@semihalf.com>2007-09-07 17:05:36 +0200
commit8d17979d0359492a822a0a409d26e3a3549b4cd4 (patch)
treefae21e70a84149b56a0d21c9b4c7d5ee3351e272
parent56a9270521baaa00e12639a978302a67f61ef060 (diff)
downloadu-boot-imx-8d17979d0359492a822a0a409d26e3a3549b4cd4.zip
u-boot-imx-8d17979d0359492a822a0a409d26e3a3549b4cd4.tar.gz
u-boot-imx-8d17979d0359492a822a0a409d26e3a3549b4cd4.tar.bz2
[MPC512x] Correct fixup relocation
Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
-rw-r--r--board/ads5121/u-boot.lds1
-rw-r--r--cpu/mpc512x/config.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/board/ads5121/u-boot.lds b/board/ads5121/u-boot.lds
index 038d849..34ceb0f 100644
--- a/board/ads5121/u-boot.lds
+++ b/board/ads5121/u-boot.lds
@@ -51,7 +51,6 @@ SECTIONS
{
cpu/mpc512x/start.o (.text)
*(.text)
- *(.fixup)
*(.got1)
. = ALIGN(16);
*(.rodata)
diff --git a/cpu/mpc512x/config.mk b/cpu/mpc512x/config.mk
index 8a07c5a..3259d53 100644
--- a/cpu/mpc512x/config.mk
+++ b/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