mirror of
https://github.com/dynup/kpatch
synced 2025-03-30 23:26:23 +00:00
create-diff-object: remove SHF_WRITE hack
We're no longer writing directly to the dynrela section, since the core module has its own kpatch_dynrela data structures now.
This commit is contained in:
parent
f4bba70412
commit
7b761b566a
@ -1687,7 +1687,7 @@ void kpatch_create_dynamic_rela_sections(struct kpatch_elf *kelf,
|
||||
sec->sh.sh_type = SHT_PROGBITS;
|
||||
sec->sh.sh_entsize = sizeof(*dynrelas);
|
||||
sec->sh.sh_addralign = 8;
|
||||
sec->sh.sh_flags = SHF_ALLOC | SHF_WRITE;
|
||||
sec->sh.sh_flags = SHF_ALLOC;
|
||||
|
||||
/* create .rela.kpatch.dynrelas*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user