summaryrefslogtreecommitdiff
path: root/cpu/mpc8220
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-07-03 00:34:34 -0600
committerWolfgang Denk <wd@denx.de>2007-07-04 01:08:06 +0200
commita85dd254c0577fca13627c46e93fc2ad4c4f1f00 (patch)
tree1d711f9e765d0001a2b13ad4ec6f4e4017ee0fba /cpu/mpc8220
parent6f7576b20ecf0d040c3ac3b032b5cbc860e38a90 (diff)
Correct fixup relocation for mpc8220
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'cpu/mpc8220')
-rw-r--r--cpu/mpc8220/config.mk2
-rw-r--r--cpu/mpc8220/u-boot.lds1
2 files changed, 1 insertions, 2 deletions
diff --git a/cpu/mpc8220/config.mk b/cpu/mpc8220/config.mk
index 8e3ba5428..c41cafe97 100644
--- a/cpu/mpc8220/config.mk
+++ b/cpu/mpc8220/config.mk
@@ -21,7 +21,7 @@
# MA 02111-1307 USA
#
-PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
+PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -mrelocatable
PLATFORM_CPPFLAGS += -DCONFIG_MPC8220 -ffixed-r2 -ffixed-r29 \
-mstring -mcpu=603e -mmultiple
diff --git a/cpu/mpc8220/u-boot.lds b/cpu/mpc8220/u-boot.lds
index 889bc77d2..a199a64f1 100644
--- a/cpu/mpc8220/u-boot.lds
+++ b/cpu/mpc8220/u-boot.lds
@@ -55,7 +55,6 @@ SECTIONS
{
cpu/mpc8220/start.o (.text)
*(.text)
- *(.fixup)
*(.got1)
. = ALIGN(16);
*(.rodata)