diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-11-13 22:18:33 -0700 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-11-17 01:38:58 +0100 |
commit | 1c3dd43338a077165e7e0309cb3994e65d2bdbf8 (patch) | |
tree | 693c95dd175c7d32bfc147f47eeaae22445e896e /cpu/mpc5xx | |
parent | 5c15010efad980ad5498cc565fc1ed70df2f52b4 (diff) | |
download | u-boot-imx-1c3dd43338a077165e7e0309cb3994e65d2bdbf8.zip u-boot-imx-1c3dd43338a077165e7e0309cb3994e65d2bdbf8.tar.gz u-boot-imx-1c3dd43338a077165e7e0309cb3994e65d2bdbf8.tar.bz2 |
powerpc: Backout relocation changes.
Ugh. I *hate* to back this change out, but these compiler flags don't
work for relocation on all versions of GCC. I've not been able to
reproduce the environment in my setup (and hence, not been able to
find a combination that *does* work), so I've got no choice but to go
back to the old gcc flags and linker script.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'cpu/mpc5xx')
-rw-r--r-- | cpu/mpc5xx/config.mk | 2 | ||||
-rw-r--r-- | cpu/mpc5xx/u-boot.lds | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cpu/mpc5xx/config.mk b/cpu/mpc5xx/config.mk index e95b8a1..64cd600 100644 --- a/cpu/mpc5xx/config.mk +++ b/cpu/mpc5xx/config.mk @@ -28,7 +28,7 @@ # -PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -mrelocatable +PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi PLATFORM_CPPFLAGS += -DCONFIG_5xx -ffixed-r2 -ffixed-r29 -mpowerpc -msoft-float diff --git a/cpu/mpc5xx/u-boot.lds b/cpu/mpc5xx/u-boot.lds index 10001b1..5b03fef 100644 --- a/cpu/mpc5xx/u-boot.lds +++ b/cpu/mpc5xx/u-boot.lds @@ -59,6 +59,7 @@ SECTIONS cpu/mpc5xx/start.o (.text) *(.text) + *(.fixup) *(.got1) } _etext = .; |