x86: Panic if there is no relocation data
authorSimon Glass <sjg@chromium.org>
Sat, 15 Nov 2014 01:18:23 +0000 (18:18 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Nov 2014 13:33:59 +0000 (06:33 -0700)
commit512e581c86a4066147a9a095eaed05a7aa9043df
tree8c6d6ada2d9292edf47bc3b03bd17f3336117644
parent65990d568074ad878cbc7e4eb1053508e3707cb6
x86: Panic if there is no relocation data

This normally indicates a problem which will prevent relocation from
functioning, resulting in a hang. Panic in this case to make it easier
to debug.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/relocate.c