summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/compressed/vmlinux.lds.in
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-03-08 21:24:11 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-03-08 21:24:11 +0100
commit91e013827c0bcbb187ecf02213c5446b6f62d445 (patch)
tree52ad3d0db856c50ab3a1a56da2bf3ae6ed8a8f48 /arch/arm/boot/compressed/vmlinux.lds.in
parentMerge branch 'origin' into devel-stable (diff)
parentARM: 5961/1: ux500: fix CLKRST addresses (diff)
downloadlinux-91e013827c0bcbb187ecf02213c5446b6f62d445.tar.xz
linux-91e013827c0bcbb187ecf02213c5446b6f62d445.zip
Merge branch 'master' into for-linus
Diffstat (limited to 'arch/arm/boot/compressed/vmlinux.lds.in')
-rw-r--r--arch/arm/boot/compressed/vmlinux.lds.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/compressed/vmlinux.lds.in b/arch/arm/boot/compressed/vmlinux.lds.in
index 7ca9ecff652f..d08168941bd6 100644
--- a/arch/arm/boot/compressed/vmlinux.lds.in
+++ b/arch/arm/boot/compressed/vmlinux.lds.in
@@ -43,6 +43,9 @@ SECTIONS
_etext = .;
+ /* Assume size of decompressed image is 4x the compressed image */
+ _image_size = (_etext - _text) * 4;
+
_got_start = .;
.got : { *(.got) }
_got_end = .;