In preparation for dynamic symbol linking, the symbol lookup logic
is going to move into create-diff-obj anyway. We might as well
minimize the code duplication and pull this into create-diff-obj.
This avoids having to re-parse the ELF file modify it in-place.
Signed-off-by: Seth Jennings <sjenning@redhat.com>
Conflicts:
kpatch-build/kpatch-build
We merged PR #186 a little too hastily. It seg faults with the new
parainstructions-section.patch in the integration test suite. Reverting
it for now until we get it figured out.
This reverts commit e1177e3a03d28858181d577745b159cd7ba694b0.
This reverts commit 880e271841177551ccf20e7c758a666ad813c196.
This reverts commit 2de5f6cbfb43ca4db2ecdb62770647f9d7c8ee6b.
This reverts commit 38b7ac74ad9d1eafac17721af5841b184dfda00d.
This reverts commit 108cd9f95ebfb69d81ef0a6ea41de23212d9cfc1.
In preparation for dynamic symbol linking, the symbol lookup logic
is going to move into create-diff-obj anyway. We might as well
minimize the code duplication and pull this into create-diff-obj.
This avoids having to re-parse the ELF file modify it in-place.
Signed-off-by: Seth Jennings <sjenning@redhat.com>