Skip to content

Commit deb7468

Browse files
authored
Merge pull request #1491 from liu-song-6/L__const
kpatch-build: Add .L__const symbols to maybe_discarded_sym
2 parents 9165bff + c151be7 commit deb7468

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

kpatch-build/lookup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ static bool maybe_discarded_sym(const char *name)
8686
strstr(name, "__addressable_") ||
8787
strstr(name, "__UNIQUE_ID_") ||
8888
!strncmp(name, ".L.str", 6) ||
89+
!strncmp(name, ".L__const", 9) ||
8990
is_ubsan_sec(name))
9091
return true;
9192

0 commit comments

Comments
 (0)