]> xenbits.xensource.com Git - people/wipawel/livepatch-build-tools/commit
create-diff-object: Update fixup offsets in .rela.ex_table
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Thu, 10 Nov 2016 14:37:39 +0000 (14:37 +0000)
committerRoss Lagerwall <ross.lagerwall@citrix.com>
Mon, 12 Dec 2016 15:03:51 +0000 (15:03 +0000)
commit6327ab9c01f6663309cf55f8752492843c070825
treebc271229263316c92c1c424fd350b9af10ba93e2
parentf875c5ae4b112c8e7ed0951dd9d27c5fabc97735
create-diff-object: Update fixup offsets in .rela.ex_table

When pruning entries from the fixup table, update the offsets in
.rela.ex_table otherwise the relas might point to the wrong fixup entry
or even out of the .fixup section.

This is a port of kpatch's commit 13d61012f9b2 ("create-diff-object:
Update fixup offsets in .rela__ex_table").

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
create-diff-object.c