diff options
| -rw-r--r-- | arch/s390/boot/Makefile | 1 | ||||
| -rw-r--r-- | arch/s390/boot/compressed/vmlinux.lds.S | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/boot/Makefile b/arch/s390/boot/Makefile index c51496bbac19..7cba96e7587b 100644 --- a/arch/s390/boot/Makefile +++ b/arch/s390/boot/Makefile | |||
| @@ -58,7 +58,6 @@ define cmd_section_cmp | |||
| 58 | touch $@ | 58 | touch $@ |
| 59 | endef | 59 | endef |
| 60 | 60 | ||
| 61 | OBJCOPYFLAGS_bzImage := --pad-to $$(readelf -s $(obj)/compressed/vmlinux | awk '/\<_end\>/ {print or(strtonum("0x"$$2),4095)+1}') | ||
| 62 | $(obj)/bzImage: $(obj)/compressed/vmlinux $(obj)/section_cmp.boot.data $(obj)/section_cmp.boot.preserved.data FORCE | 61 | $(obj)/bzImage: $(obj)/compressed/vmlinux $(obj)/section_cmp.boot.data $(obj)/section_cmp.boot.preserved.data FORCE |
| 63 | $(call if_changed,objcopy) | 62 | $(call if_changed,objcopy) |
| 64 | 63 | ||
diff --git a/arch/s390/boot/compressed/vmlinux.lds.S b/arch/s390/boot/compressed/vmlinux.lds.S index 112b8d9f1e4c..635217eb3d91 100644 --- a/arch/s390/boot/compressed/vmlinux.lds.S +++ b/arch/s390/boot/compressed/vmlinux.lds.S | |||
| @@ -77,6 +77,8 @@ SECTIONS | |||
| 77 | _compressed_start = .; | 77 | _compressed_start = .; |
| 78 | *(.vmlinux.bin.compressed) | 78 | *(.vmlinux.bin.compressed) |
| 79 | _compressed_end = .; | 79 | _compressed_end = .; |
| 80 | FILL(0xff); | ||
| 81 | . = ALIGN(4096); | ||
| 80 | } | 82 | } |
| 81 | . = ALIGN(256); | 83 | . = ALIGN(256); |
| 82 | .bss : { | 84 | .bss : { |
