From 7225411fbf0d071d743e05f61e5a914953ad9d77 Mon Sep 17 00:00:00 2001 From: Puranjay Mohan Date: Thu, 6 Feb 2025 13:24:11 +0000 Subject: [PATCH] create-diff-object: skip sframe sections for now The sframe sections can't be normally diffed and need to be created separately. skip them for now. Signed-off-by: Puranjay Mohan --- kpatch-build/create-diff-object.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kpatch-build/create-diff-object.c b/kpatch-build/create-diff-object.c index bb3cd7a5..f36e54b2 100644 --- a/kpatch-build/create-diff-object.c +++ b/kpatch-build/create-diff-object.c @@ -681,6 +681,8 @@ static void kpatch_compare_correlated_section(struct section *sec) */ if (!strcmp(sec->name, ".rela__mcount_loc") || !strcmp(sec->name, "__mcount_loc") || + !strcmp(sec->name, ".sframe") || + !strcmp(sec->name, ".rela.sframe") || !strcmp(sec->name, ".rela__patchable_function_entries") || !strcmp(sec->name, "__patchable_function_entries")) { sec->status = SAME;