HomePhabricator

[llvm-readobj] - For SHT_REL relocations, don't display an addend.

Authored by grimar on Dec 10 2020, 5:12 AM.

Description

[llvm-readobj] - For SHT_REL relocations, don't display an addend.

This is https://bugs.llvm.org/show_bug.cgi?id=44257.

In LLVM style we always print 0 as addend when dumping
SHT_REL relocations. It is confusing, this patch stops
printing it as the first comment on the bug page suggests.

Differential revision: https://reviews.llvm.org/D93033

Details