diff options
Diffstat (limited to 'arch/arm/boot/compressed/vmlinux.lds.in')
-rw-r--r-- | arch/arm/boot/compressed/vmlinux.lds.in | 3 |
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 a5924b9b88bd..cbed030b55cf 100644 --- a/arch/arm/boot/compressed/vmlinux.lds.in +++ b/arch/arm/boot/compressed/vmlinux.lds.in | |||
@@ -36,6 +36,9 @@ SECTIONS | |||
36 | 36 | ||
37 | _etext = .; | 37 | _etext = .; |
38 | 38 | ||
39 | /* Assume size of decompressed image is 4x the compressed image */ | ||
40 | _image_size = (_etext - _text) * 4; | ||
41 | |||
39 | _got_start = .; | 42 | _got_start = .; |
40 | .got : { *(.got) } | 43 | .got : { *(.got) } |
41 | _got_end = .; | 44 | _got_end = .; |