summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-07-03 00:34:44 -0600
committerWolfgang Denk <wd@denx.de>2007-07-04 01:08:27 +0200
commit5af61b2f4b838a05f79be274f3e5a66edd2d9c96 (patch)
treead20947caccfdc40554e5aa3b87799217e755a21 /cpu
parentf3a52fe05923935db86985daf9438e2f70ac39aa (diff)
downloadu-boot-imx-5af61b2f4b838a05f79be274f3e5a66edd2d9c96.zip
u-boot-imx-5af61b2f4b838a05f79be274f3e5a66edd2d9c96.tar.gz
u-boot-imx-5af61b2f4b838a05f79be274f3e5a66edd2d9c96.tar.bz2
Correct fixup relocation for mpc8260
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mpc8260/config.mk2
-rw-r--r--cpu/mpc8260/u-boot.lds1
2 files changed, 1 insertions, 2 deletions
diff --git a/cpu/mpc8260/config.mk b/cpu/mpc8260/config.mk
index 683b6fb..d401e4c 100644
--- a/cpu/mpc8260/config.mk
+++ b/cpu/mpc8260/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_8260 -DCONFIG_CPM2 -ffixed-r2 -ffixed-r29 \
-mstring -mcpu=603e -mmultiple
diff --git a/cpu/mpc8260/u-boot.lds b/cpu/mpc8260/u-boot.lds
index 3e84f23..b8abc17 100644
--- a/cpu/mpc8260/u-boot.lds
+++ b/cpu/mpc8260/u-boot.lds
@@ -55,7 +55,6 @@ SECTIONS
{
cpu/mpc8260/start.o (.text)
*(.text)
- *(.fixup)
*(.got1)
. = ALIGN(16);
*(.rodata)