kpatch/kpatch-build
Josh Poimboeuf 7c88c41cfe create-diff-object: rewrite static local variable correlation logic
Rewrite the static local variable correlation logic.  The algorithm now
traverses all the static locals in the original object rather than the
patched object, ensuring that each symbol in the original object has a
twin.  It adds a new restriction that static local variables can't be
removed.

This adds support for the following:

- Multiple static locals with the same name in the same function

- Two separate static locals which happen to have the same numbered
  suffix

- Static locals which are referenced by data sections

- CSWTCH and other static locals which are sometimes unused due to
  sharing of their data sections

Fixes: #514
2015-10-29 16:52:10 -05:00
..
insn insn: get it to compile in create-diff-object 2014-05-30 15:19:57 -05:00
create-diff-object.c create-diff-object: rewrite static local variable correlation logic 2015-10-29 16:52:10 -05:00
kpatch-build Merge pull request #526 from arges/addflags 2015-10-28 12:44:18 -05:00
kpatch-gcc kpatch-gcc: add libstub to ignore list 2015-10-28 11:39:55 -05:00
list.h new .fixup group size algorithm 2014-09-15 14:54:57 -05:00
lookup.c kpatch-build: support patching weak function 2015-10-16 13:21:00 +08:00
lookup.h merge add-patches-section functionality into create-obj-diff 2014-05-20 12:44:30 -05:00
Makefile create-diff-object: make all warnings into errors 2015-10-27 11:29:38 -05:00