kpatch/kpatch-build
Chris J Arges b64ab2b5e4 livepatch-patch-hook: add support for livepatch sympos
Support patching objects that have duplicated function names. This feature was
introduced upstream in Linux v4.5.

This patch appends the symbol position to the symbol structure when
lookup_local_symbol is called. This pos variable is then used when creating the
funcs and dynrelas sections. Finally, incorporate sympos into the livepatch
patch hook only if the kernel version is greater than v4.5. In other cases the
older format is used.

Fixes: #493

Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>
2016-02-16 10:31:44 -06:00
..
insn insn: get it to compile in create-diff-object 2014-05-30 15:19:57 -05:00
create-diff-object.c livepatch-patch-hook: add support for livepatch sympos 2016-02-16 10:31:44 -06:00
kpatch-build Merge pull request #560 from euspectre/get-kernel-version 2015-11-18 15:28:42 -06: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 livepatch-patch-hook: add support for livepatch sympos 2016-02-16 10:31:44 -06:00
lookup.h livepatch-patch-hook: add support for livepatch sympos 2016-02-16 10:31:44 -06:00
Makefile kpatch-build: allow external LDFLAGS 2016-01-11 14:26:50 -06:00