[PATCH] D74479: [llvm-readobj] - Report a warning when an unexpected DT_SYMENT tag value is met.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 03:35:26 PST 2020
grimar added a comment.
In D74479#1874794 <https://reviews.llvm.org/D74479#1874794>, @MaskRay wrote:
> > LLD has the code that does: "addInt(DT_SYMENT, sizeof(Elf_Sym));" and I guess other linkers has the same logic.
>
> Confirmed. GNU ld, gold and MCLinker emit DT_SYMENT.
Yeah, I knew about GNUs, by "the same logic" I meant that there should not be other values emitted rather than "sizeof(Elf_Sym)" generally.
Thanks!
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74479/new/
https://reviews.llvm.org/D74479
More information about the llvm-commits
mailing list