Remove the requirement that section twins have the same alignment. The section alignment of the patched section is respected by the loader in Xen so it shouldn't matter if the original section alignment was different.
Signed-off-by: Ross Lagerwall <ross.lagerw...@citrix.com> --- create-diff-object.c | 1 - 1 file changed, 1 deletion(-) diff --git a/create-diff-object.c b/create-diff-object.c index ba19daf..82f777e 100644 --- a/create-diff-object.c +++ b/create-diff-object.c @@ -754,7 +754,6 @@ static void kpatch_compare_correlated_section(struct section *sec) if (sec1->sh.sh_type != sec2->sh.sh_type || sec1->sh.sh_flags != sec2->sh.sh_flags || sec1->sh.sh_addr != sec2->sh.sh_addr || - sec1->sh.sh_addralign != sec2->sh.sh_addralign || sec1->sh.sh_entsize != sec2->sh.sh_entsize) DIFF_FATAL("%s section header details differ", sec1->name); -- 2.9.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel