commit | a7e8bb389ad5f352f35b83159e31f5391c957403 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Oct 13 20:52:06 2018 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Mon Oct 22 17:51:45 2018 +0800 |
tree | 7bda9a8ca8aa0e2f895380908c3f77fd402db3df | |
parent | cb26bc87ed95b80fc2d51d57a594d9362ec7ba56 [diff] |
x86: detect unsupported relocation types 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> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>