
13 Oct
2018
13 Oct
'18
6:54 a.m.
On Sat, Oct 13, 2018 at 9:30 AM Heinrich Schuchardt xypron.glpk@gmx.de wrote:
Currently we support only relocations of type ELF64_R_TYPE or ELF32_R_TYPE. We should be warned if other relocation types appear in the relocation sections.
This type of message has helped to identify code overwriting a relocation section before relocation and incorrect parsing of relocation tables.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
arch/x86/lib/relocate.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com