diff options
author | Simon Glass <sjg@chromium.org> | 2013-02-28 19:26:13 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2013-03-04 15:57:38 -0800 |
commit | 4b491b8ddeaaf6cf6a47d7102188c9a9c6b1b3d8 (patch) | |
tree | 689d5d93e94f3a431555d05d9ecf280c7f2ae898 /arch/x86/cpu/u-boot.lds | |
parent | bc2df1afb92435da6fb16310dac6b722bfaade9f (diff) | |
download | u-boot-4b491b8ddeaaf6cf6a47d7102188c9a9c6b1b3d8.tar.gz u-boot-4b491b8ddeaaf6cf6a47d7102188c9a9c6b1b3d8.tar.xz u-boot-4b491b8ddeaaf6cf6a47d7102188c9a9c6b1b3d8.zip |
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 <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/u-boot.lds')
-rw-r--r-- | arch/x86/cpu/u-boot.lds | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/u-boot.lds b/arch/x86/cpu/u-boot.lds index 2313cd793a..8e185f3b22 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*) } |