This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: gelf_update_[pse]hdr vs ELF_F_DIRTY
- From: Ulrich Drepper <drepper at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 14 Jun 2010 14:08:46 -0700
- Subject: Re: gelf_update_[pse]hdr vs ELF_F_DIRTY
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/14/2010 01:00 PM, Roland McGrath wrote:
> 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.
Well, not really a bug, since none of this is really specified. But I
can see it makes sense and have no problem making this change.
- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkwWml4ACgkQ2ijCOnn/RHQ6VQCfcEAKAJ0Rk5K+KwX5likjoimJ
OwwAoMDxNp15xw5AcbRq3G5pjS8ZHa1J
=9cqQ
-----END PGP SIGNATURE-----