Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions kpatch-build/create-diff-object.c
Original file line number Diff line number Diff line change
Expand Up @@ -2412,6 +2412,11 @@ static int s390_expolines_group_size(struct kpatch_elf *kelf, int offset)
return 4;
}

static int stack_protector_loc_group_size(struct kpatch_elf *kelf, int offset)
{
return 8;
}

/*
* The rela groups in the .fixup section vary in size. The beginning of each
* .fixup rela group is referenced by the __ex_table section. To find the size
Expand Down Expand Up @@ -2738,6 +2743,11 @@ static struct special_section special_sections[] = {
.arch = S390,
.group_size = s390_expolines_group_size,
},
{
.name = "__stack_protector_loc",
.arch = S390,
.group_size = stack_protector_loc_group_size,
},
{},
};

Expand Down
Loading