diff --git a/kpatch-build/lookup.c b/kpatch-build/lookup.c index ead2e04c..c8ae38c4 100644 --- a/kpatch-build/lookup.c +++ b/kpatch-build/lookup.c @@ -85,6 +85,7 @@ static bool maybe_discarded_sym(const char *name) strstr(name, "__addressable_") || strstr(name, "__UNIQUE_ID_") || !strncmp(name, ".L.str", 6) || + !strncmp(name, ".L__const", 9) || is_ubsan_sec(name)) return true;