ppc: Enable full relocation to RAM

The following changes allow U-Boot to fully relocate from flash to
RAM:
 - Remove linker scripts' .fixup sections from the .text section
 - Add -mrelocatable to PLATFORM_RELFLAGS for all boards
 - Define CONFIG_RELOC_FIXUP_WORKS for all boards

Previously, U-Boot would partially relocate, but statically initialized
pointers needed to be manually relocated.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
This commit is contained in:
Peter Tyser
2009-09-21 11:20:25 -05:00
committed by Wolfgang Denk
parent 1d96cfe8f5
commit 858290178f
222 changed files with 4 additions and 223 deletions

View File

@@ -60,7 +60,6 @@ SECTIONS
cpu/ppc4xx/start.o (.text)
board/w7o/init.o (.text)
*(.text)
*(.fixup)
*(.got1)
}
_etext = .;

View File

@@ -64,7 +64,6 @@ SECTIONS
common/env_embedded.o(.text)
*(.text)
*(.fixup)
*(.got1)
}
_etext = .;