diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-06-11 14:17:33 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-06-21 23:05:05 +0200 |
commit | d026dec8751378473b4f12eb87717c8059472b3e (patch) | |
tree | 57b335731bbd1d1e445ad351ca43bfe49322da99 /arch/arm/cpu/ixp/u-boot.lds | |
parent | df84502edffd1da48588a212b402602f032ed53d (diff) |
arm: make __image_copy_{start, end} compiler-generated
This change is only done where needed: some linker
scripts may contain __image_copy_{start,end} yet
remain unchanged.
Also, __image_copy_end needs its own section; putting
it in relocation sections changes their flags and makes
relocation break.
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Tested-by: Lubomir Popov <lpopov@mm-sol.com>
Tested-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Diffstat (limited to 'arch/arm/cpu/ixp/u-boot.lds')
-rw-r--r-- | arch/arm/cpu/ixp/u-boot.lds | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/cpu/ixp/u-boot.lds b/arch/arm/cpu/ixp/u-boot.lds index 5cfff68e050..9141199bedb 100644 --- a/arch/arm/cpu/ixp/u-boot.lds +++ b/arch/arm/cpu/ixp/u-boot.lds @@ -31,6 +31,7 @@ SECTIONS . = ALIGN(4); .text : { + *(.__image_copy_start) arch/arm/cpu/ixp/start.o(.text*) *(.text*) } @@ -54,7 +55,10 @@ SECTIONS . = ALIGN(4); - __image_copy_end = .; + .image_copy_end : + { + *(.__image_copy_end) + } .rel.dyn : { __rel_dyn_start = .; |