x86: check for data and BSS in reloc code at compile time.
authorTim Deegan <tim@xen.org>
Thu, 13 Sep 2012 15:41:33 +0000 (16:41 +0100)
committerTim Deegan <tim@xen.org>
Thu, 13 Sep 2012 15:41:33 +0000 (16:41 +0100)
commitc53cc61d06179d1c44755644100c7359cb8e583b
tree87849fea46eee6d3a981466c80ecb6f2c0d2c0d6
parent8d6aa80e4f75c81edff33f1822140237148528b6
x86: check for data and BSS in reloc code at compile time.

This is a more useful failure mode than hanging at boot time, and
incidentally fixes the clang/LLVM build by removing a .subsection rune.

Signed-off-by: Tim Deegan <tim@xen.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/boot/build32.mk
xen/arch/x86/boot/reloc.c