forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: (squash) livepatch/selftests: Add __asm__ symbol renaming examples
Note: squash with ("livepatch/selftests: add klp-convert") GCC can rename symbols like static data and optimized functions, adding a suffix that includes illegal C characters. Extend the klp-convert examples to demonstrate how to use __asm__ renaming from C code to create klp-relocations to such renamed symbols. Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
- Loading branch information
1 parent
22638d6
commit ce26109
Showing
4 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters