livepatch: x86: fix relocation computation with kASLR
livepatch: x86: fix relocation computation with kASLR

With kASLR enabled, old_addr provided by patch module is being shifted
accrodingly so that the symbol lookups work. To have module relocations
handled properly as well, the same transformation needs to be perfomed
on relocation address information.

[ed58f755cc8caaf10c3e8c731a8b86fb8f13d6cb@suse.cz: extended / reworded changelog a bit]
Reported-by: Cyril B. <f1d4c4e63b10952206910fb4371fbd677f770c6d@alwaysdata.com>
Signed-off-by: Zhou Chengming <16948d3050f73b4b08cefe96950889f03fb9d70d@huawei.com>
Acked-by: Josh Poimboeuf <4e2e91f15355af385c021c68a9357f2fd253fb9d@redhat.com>
Signed-off-by: Jiri Kosina <ed58f755cc8caaf10c3e8c731a8b86fb8f13d6cb@suse.cz>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs