Skip to content

Commit 8444f4a

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 05fdf8a commit 8444f4a

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
@@ -685,6 +685,8 @@ static void kpatch_compare_correlated_section(struct section *sec)
685685
*/
686686
if (!strcmp(sec->name, ".rela__mcount_loc") ||
687687
!strcmp(sec->name, "__mcount_loc") ||
688+
!strcmp(sec->name, ".sframe") ||
689+
!strcmp(sec->name, ".rela.sframe") ||
688690
!strcmp(sec->name, ".rela__patchable_function_entries") ||
689691
!strcmp(sec->name, "__patchable_function_entries")) {
690692
sec->status = SAME;

0 commit comments

Comments
 (0)