summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/u-boot-spl.lds
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/u-boot-spl.lds')
-rw-r--r--arch/x86/cpu/u-boot-spl.lds5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/cpu/u-boot-spl.lds b/arch/x86/cpu/u-boot-spl.lds
index c1e9bfbf66..e6c22895b3 100644
--- a/arch/x86/cpu/u-boot-spl.lds
+++ b/arch/x86/cpu/u-boot-spl.lds
@@ -17,7 +17,10 @@ SECTIONS
. = IMAGE_TEXT_BASE; /* Location of bootcode in flash */
__text_start = .;
- .text : { *(.text*); }
+ .text : {
+ __image_copy_start = .;
+ *(.text*);
+ }
. = ALIGN(4);