u-boot/arch
Simon Glass dde3b70dcf arm: add a common .lds link script
Most ARM CPUs use a very similar link script. This adds a basic
script that can be used by most CPUs.

Two new symbols are introduced which are intended to eventually be
defined on all architectures to make things easier for generic relocation
and reduce special-case code for each architecture:

__image_copy_start is the start of the text area (equivalent to the
existing _start on ARM). It marks the start of the region which must be
copied to a new location during relocation. This symbol is called
__text_start on x86 and microblaze.

__image_copy_end is the end of the region which must be copied to a new
location during relocation. It is normally equal to the start of the BSS
region, but this can vary in some cases (SPL?). Making this an explicit
symbol on its own removes any ambiguity and permits common code to always
do the right thing.

This new script makes use of CPUDIR, now defined by both Makefile and
spl/Makefile, to find the directory containing the start.o object file,
which is always placed first in the image.

To permit MMU setup prior to relocation (as used by pxa) we add an area
to the link script which contains space for this. This is taken
from commit 7f4cfcf. CPUs can put the contents in there using their
start.S file. BTW, shouldn't that area be 16KB-aligned?

Signed-off-by: Simon Glass <sjg@chromium.org>
2012-03-30 07:43:44 +02:00
..
arm arm: add a common .lds link script 2012-03-30 07:43:44 +02:00
avr32 bootstage: Replace show_boot_progress/error() with bootstage_...() 2012-03-18 21:41:39 +01:00
blackfin linkage.h: move from blackfin to common includes 2012-02-12 15:03:26 -05:00
m68k bootstage: Replace show_boot_progress/error() with bootstage_...() 2012-03-18 21:41:39 +01:00
microblaze bootstage: Replace show_boot_progress/error() with bootstage_...() 2012-03-18 21:41:39 +01:00
mips usb: replace wait_ms() with mdelay() 2012-03-19 00:08:16 +01:00
nds32 nds32/n1213: correct vector table in start.S 2012-03-19 15:53:14 +08:00
nios2 nios2: Offer ft_board_setup() capability and call fdt_fixup_ethernet(). 2011-10-30 21:02:43 +08:00
openrisc openrisc: Add library functions 2012-01-13 21:16:48 +01:00
powerpc usb: replace wait_ms() with mdelay() 2012-03-19 00:08:16 +01:00
sandbox sandbox: add getopt support 2012-03-12 11:06:01 -04:00
sh sh: timer: Remove unnecessary variable 'ticks' 2012-03-08 10:26:38 +09:00
sparc usb: replace wait_ms() with mdelay() 2012-03-19 00:08:16 +01:00
x86 sc520: fix build warning about unused temp var 2012-03-06 21:05:18 +11:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00