It was a surprise to me (and cause of an unstrip bug) that
gelf_update_[pse]hdr do not imply elf_flag[pse]hdr(,ELF_C_SET,ELF_F_DIRTY).
In contrast, gelf_update_* that change section data do dirty the sections.
Is this intentional? It seems like a libelf bug to me.
Thanks,
Roland