This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
gelf_update_[pse]hdr vs ELF_F_DIRTY
- From: Roland McGrath <roland at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 14 Jun 2010 13:00:56 -0700
- Subject: gelf_update_[pse]hdr vs ELF_F_DIRTY
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