1
0
Fork 0
alistair23-linux/arch/s390/boot/compressed
Martin Schwidefsky 8db16d1911 s390/boot: fix compiler error due to missing awk strtonum
The strtonum awk function is a GNU extension and is not available with
all versions of awk. The link of bzImage fails with this error message:

>> awk: line 2: function or never defined
>> awk: line 2: function strtonum never defined
   objcopy: --pad-to: bad number: arch/s390/boot/compressed/vmlinux

Drop the awk script and the --pad-to objcopy parameter it generated and
use a FILL pattern with an appropriate alignment in the linker script
for the arch/s390/boot/compressed/vmlinux file.

Fixes: f678068652 ("s390/boot: pad bzImage to 4K")
Reported-by: kbuild test robot <lkp@intel.com>
Suggested-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2019-05-07 14:37:14 +02:00
..
.gitignore s390/decompressor: allow preprocessor in piggy.o linker script 2018-06-25 10:14:40 +02:00
Makefile s390: make built-in.a not directly depend on *.o.chkbss files 2019-01-28 09:11:17 +09:00
decompressor.c s390/decompressor: clean up and rename compressed/misc.c 2018-10-09 11:21:05 +02:00
decompressor.h s390/kernel: build a relocatable kernel 2019-04-29 10:47:10 +02:00
vmlinux.lds.S s390/boot: fix compiler error due to missing awk strtonum 2019-05-07 14:37:14 +02:00