Skip to content

Commit 7225411

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 <[email protected]>
1 parent 44eebf9 commit 7225411

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
@@ -681,6 +681,8 @@ static void kpatch_compare_correlated_section(struct section *sec)
681681
*/
682682
if (!strcmp(sec->name, ".rela__mcount_loc") ||
683683
!strcmp(sec->name, "__mcount_loc") ||
684+
!strcmp(sec->name, ".sframe") ||
685+
!strcmp(sec->name, ".rela.sframe") ||
684686
!strcmp(sec->name, ".rela__patchable_function_entries") ||
685687
!strcmp(sec->name, "__patchable_function_entries")) {
686688
sec->status = SAME;

0 commit comments

Comments
 (0)