Author: emaste
Date: Fri Aug 31 17:29:24 2018
New Revision: 338411
URL: https://svnweb.freebsd.org/changeset/base/338411
Log:
MFC r337045: libelf: reload section headers after update with ELF_C_WRITE
These issues (PR 218860 and PR 218861) are still undergoing additional
discussion in the upstream context and there may be additional changes
to come.
PR: 218860
Submitted by: Eric McCorkle
Sponsored by: The FreeBSD Foundation (MFC)
Modified:
stable/11/contrib/elftoolchain/libelf/elf_update.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/contrib/elftoolchain/libelf/elf_update.c
==============================================================================
--- stable/11/contrib/elftoolchain/libelf/elf_update.c Fri Aug 31 16:29:36
2018 (r338410)
+++ stable/11/contrib/elftoolchain/libelf/elf_update.c Fri Aug 31 17:29:24
2018 (r338411)
@@ -1212,5 +1212,6 @@ elf_update(Elf *e, Elf_Cmd c)
done:
_libelf_release_extents(&extents);
+ e->e_flags &= ~LIBELF_F_SHDRS_LOADED;
return (rc);
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"