mirror of https://github.com/dynup/kpatch
56471ffc7c
For each printk() call site, CONFIG_PRINTK_INDEX makes a static local struct named `_entry`, and then adds a pointer to it in the `.printk_index` section. When regenerating the `.printk_index` section for the patch module, we only need to include those entries which are referenced by included functions. Luckily this is a common pattern already used by several other "special" sections. Add `.printk_index` to the special section handling logic. Fixes: #1206 Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> |
||
---|---|---|
.. | ||
gcc-plugins | ||
insn | ||
Makefile | ||
create-diff-object.c | ||
create-klp-module.c | ||
create-kpatch-module.c | ||
kpatch-build | ||
kpatch-cc | ||
kpatch-elf.c | ||
kpatch-elf.h | ||
kpatch-intermediate.h | ||
kpatch.h | ||
list.h | ||
log.h | ||
lookup.c | ||
lookup.h |