Skip to content

Commit

Permalink
Merge pull request #1349 from joe-lawrence/ppc64le-ftr-sections
Browse files Browse the repository at this point in the history
kpatch-build: skip mangling for powerpc cpu feature relocations
  • Loading branch information
joe-lawrence authored Jul 26, 2023
2 parents 960ceb2 + bcebb52 commit efcf2ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion kpatch-build/create-diff-object.c
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,8 @@ static void kpatch_replace_sections_syms(struct kpatch_elf *kelf)
!strcmp(rela->sym->name, ".fixup") ||
!strcmp(rela->sym->name, ".altinstr_replacement") ||
!strcmp(rela->sym->name, ".altinstr_aux") ||
!strcmp(rela->sym->name, ".text..refcount"))
!strcmp(rela->sym->name, ".text..refcount") ||
!strncmp(rela->sym->name, "__ftr_alt_", 10))
continue;

/*
Expand Down

0 comments on commit efcf2ad

Please sign in to comment.