From 4b491b8ddeaaf6cf6a47d7102188c9a9c6b1b3d8 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 28 Feb 2013 19:26:13 +0000 Subject: x86: Add an __end symbol to signal the end of the U-Boot binary With this symbol we can easy append something (e.g. an FDT) to the U-Boot binary and access it from within U-Boot. Signed-off-by: Simon Glass --- arch/x86/cpu/u-boot.lds | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/x86/cpu/u-boot.lds') diff --git a/arch/x86/cpu/u-boot.lds b/arch/x86/cpu/u-boot.lds index 2313cd7..8e185f3 100644 --- a/arch/x86/cpu/u-boot.lds +++ b/arch/x86/cpu/u-boot.lds @@ -67,6 +67,8 @@ SECTIONS __rel_dyn_start = .; .rel.dyn : { *(.rel.dyn) } __rel_dyn_end = .; + . = ALIGN(4); + _end = .; /DISCARD/ : { *(.dynstr*) } /DISCARD/ : { *(.dynamic*) } -- cgit v1.1