mirror of
https://github.com/dynup/kpatch
synced 2025-02-19 11:16:54 +00:00
Merge pull request #250 from jpoimboe/shf-write
create-diff-object: remove SHF_WRITE hack
This commit is contained in:
commit
4bc98f3bfd
@ -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