Merge pull request #928 from haoren3696/master

kpatch-build: include secsym in kpatch_mark_ignored_sections
This commit is contained in:
Joe Lawrence 2019-02-19 13:24:42 -05:00 committed by GitHub
commit b4e6085b6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2263,6 +2263,7 @@ static void kpatch_mark_ignored_sections(struct kpatch_elf *kelf)
* from the section data comparison, but this is a simpler way.
*/
strsec->include = 1;
strsec->secsym->include = 1;
name = strsec->data->d_buf + rela->addend;
ignoresec = find_section_by_name(&kelf->sections, name);
if (!ignoresec)