Skip to content

Commit 197c679

Browse files
committed
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 <pjy@amazon.com>
1 parent 6f0ecd5 commit 197c679

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kpatch-build/create-diff-object.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,8 @@ static void kpatch_compare_correlated_section(struct section *sec)
687687
*/
688688
if (!strcmp(sec->name, ".rela__mcount_loc") ||
689689
!strcmp(sec->name, "__mcount_loc") ||
690+
!strcmp(sec->name, ".sframe") ||
691+
!strcmp(sec->name, ".rela.sframe") ||
690692
!strcmp(sec->name, ".rela__patchable_function_entries") ||
691693
!strcmp(sec->name, "__patchable_function_entries")) {
692694
sec->status = SAME;

0 commit comments

Comments
 (0)