[llvm] r287786 - llvm-readobj: Use hash tables to print dynamic symbols.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 23 11:38:14 PST 2016
On Wed, Nov 23, 2016 at 11:33 AM, Hemant Kulkarni
<khemant at codeaurora.org> wrote:
> This is not objdump change. This is ELFDumper change in llvm-readobj.
>
This is a change to llvm-readobj GNU style output, so I suppose it's
something compatible with either objdump or readelf, no?
> The GNU style used symbols by using DT_* tags based sections alone. With this change, GNU style will go over the hash sections and print using the DT_* tags based sections. AFAIK there is no tool that can help validate if there is any issue with these linker created hash sections without running the binary.
>
Is this actually compatible with what the GNU tools emit? If so, fine
(but could've been mentioned in the commit message, I think). If not,
I don't see why you need to implement this in the GNU mode and not in
readobj "default" mode. Does this make sense?
--
Davide
"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare
More information about the llvm-commits
mailing list