Skip to content

Commit

Permalink
create-diff-object: skip sframe sections for now
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
puranjaymohan committed Feb 7, 2025
1 parent 44eebf9 commit 7225411
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kpatch-build/create-diff-object.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7225411

Please sign in to comment.