summaryrefslogtreecommitdiff
path: root/kexec/add_segment.c
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2015-03-18 23:04:03 +0000
committerSimon Horman <horms@verge.net.au>2015-03-19 11:17:36 +0900
commite42fc55e10fbbcc1762b9aabd5c7c102ca1042bf (patch)
tree48a3bd93d08426c3d70d805cfc3d069ad73f9f2c /kexec/add_segment.c
parent236e30b2b4dcb3e78c5f5219b66d90c7e9c464fd (diff)
purgatory: Add no-zero-initialized-in-bss flag
It seems some toolchains will put zero-initialized variables like purgatory's sha256_regions into the BSS section. These symbols cannot be processed by machine_apply_elf_rel() and lead to build errors. To avoid this problem add the compiler flag no-zero-initialized-in-bss to the purgatory CFLAGS. Fixes build errors like these: Symbol: sha256_regions is in a bss section cannot set Reported here: http://lists.infradead.org/pipermail/kexec/2014-November/013052.html Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/add_segment.c')
0 files changed, 0 insertions, 0 deletions