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> |
||
---|---|---|
.. | ||
objs@32ab24dc59 | ||
Makefile | ||
Makefile.include |