mirror of
https://github.com/dynup/kpatch
synced 2025-02-23 13:26:55 +00:00
Merge pull request #928 from haoren3696/master
kpatch-build: include secsym in kpatch_mark_ignored_sections
This commit is contained in:
commit
b4e6085b6d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user