1
0
mirror of https://github.com/dynup/kpatch synced 2025-03-25 04:16:39 +00:00
kpatch/kpatch-build
Josh Poimboeuf c8c474ca0e lookup: allow local symbols to be in any order
With , we found that using -ffunction-sections and -fdata-sections
sometimes causes GCC to output the local symbols in a different order in
the symbol table.  So don't assume they're in the same order, and
instead search all the locals.

This requires two passes: once going through the lookup table symbols
and once going through the .o symbols.  This is needed to make sure
there aren't any extra symbols in one of the files.

I also reorganized the code a bit to simplify it.
2017-07-06 12:44:50 -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: retrieve source package instead of linux-source 2017-05-17 23:24:32 +02:00
kpatch-elf.c elf: add .eh_frame* sections to debug section list 2017-05-11 14:02:08 -05: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: allow local symbols to be in any order 2017-07-06 12:44:50 -05: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