kpatch/kpatch-build
Josh Poimboeuf 012ccece85 create-diff-object: don't create dynrelas for exported vmlinux symbols used by modules
Joe saw the following errors when loading Linux commit 128394eff343
("sg_write()/bsg_write() is not fit to be called under KERNEL_DS"):

  Skipped dynrela for copy_user_generic_unrolled (0xffffffffa0475942 <- 0xffffffff813211e0): the instruction has been changed already.
  Skipped dynrela for copy_user_generic_unrolled (0xffffffffa0475a57 <- 0xffffffff813211e0): the instruction has been changed already.

That is known issue #580, but it can be avoided by leaving
'copy_user_generic_unrolled' as a normal relocation instead of
converting it to a dynrela, because it's an exported symbol.

Also remove the manual check for '__fentry__' because it's covered by
the exported symbol check.

Also remove a duplicate comment about unexported global object symbols
being in another .o in the patch object.

Fixes #695.
2017-04-20 16:56:43 -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: don't create dynrelas for exported vmlinux symbols used by modules 2017-04-20 16:56:43 -05:00
create-klp-module.c create-klp-module: add new program that creates patch modules that have klp elements 2017-01-23 12:43:31 -08:00
create-kpatch-module.c create-kpatch-module: add new program that creates kpatch modules 2017-01-23 12:43:34 -08:00
kpatch-build kpatch-build: fix small typo 2017-03-21 15:25:38 -07:00
kpatch-elf.c kpatch-elf: add find_rela_by_offset() 2017-01-23 12:43:27 -08:00
kpatch-elf.h kpatch-elf: add find_rela_by_offset() 2017-01-23 12:43:27 -08:00
kpatch-gcc kpatch-gcc: update ignorelist to avoid foo/.lib_exports.o files 2017-03-10 10:26:06 -05:00
kpatch-intermediate.h kpatch-intermediate.h: fix comments 2017-01-23 22:42:25 -08:00
list.h new .fixup group size algorithm 2014-09-15 14:54:57 -05:00
log.h log: include error.h 2017-01-23 12:42:35 -08:00
lookup.c lookup: minor lookup_open() cleanup 2017-03-03 17:06:16 -06:00
lookup.h support dup file+symbol 2017-02-04 09:37:18 +08:00
Makefile create-kpatch-module: add new program that creates kpatch modules 2017-01-23 12:43:34 -08:00