Skip to content

Conversation

@liu-song-6
Copy link
Contributor

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

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant