On Wed, Apr 01, 2020 at 06:12:09PM -0700, Fangrui Song wrote:
objdump -h relies heavily on BFD internals and the BFD flags are difficult to emulate in llvm-objdump. llvm-objdump -h has a different output (https://reviews.llvm.org/D57146)
Switch to readelf, which is generally better than objdump when dumping ELF section/symbol information.
Signed-off-by: Fangrui Song firstname.lastname@example.org
At a high-level, this change makes sense to me. What Linux distros/versions have you tested this on? (Or, do you have reason to believe the readelf output has been stable for many years?)