summaryrefslogtreecommitdiff
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 23:24:11 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-03-08 23:24:11 +0300
commit91e013827c0bcbb187ecf02213c5446b6f62d445 (patch)
tree52ad3d0db856c50ab3a1a56da2bf3ae6ed8a8f48 /arch/arm/boot/compressed/vmlinux.lds.in
parent988addf82e4c03739375279de73929580a2d4a6a (diff)
parent8d2b09f5b0de2c0e37f50d04980bc81098988239 (diff)
downloadlinux-91e013827c0bcbb187ecf02213c5446b6f62d445.tar.xz
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 = .;