Commit c151be7
committed
kpatch-build: Add .L__const symbols to maybe_discarded_sym
Clang uses .L__const symbols for some constant variables, which is later
removed by ld.lld. Add them to maybe_discarded_sym, so that we can avoid
rare errors like:
couldn't find matching xxx.c local symbols in vmlinux symbol table
Signed-off-by: Song Liu <song@kernel.org>1 parent 8a927e7 commit c151be7
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
0 commit comments