Merge pull request #250 from jpoimboe/shf-write

create-diff-object: remove SHF_WRITE hack
This commit is contained in:
Seth Jennings 2014-06-18 11:28:22 -05:00
commit 4bc98f3bfd

View File

@ -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*/