mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:15:09 +00:00
Utilities: Make the columns for readelf fit all reloc types on x86_64
This commit is contained in:
parent
db1c5c4830
commit
0e0985f15c
1 changed files with 4 additions and 4 deletions
|
@ -646,7 +646,7 @@ int main(int argc, char** argv)
|
|||
outln(" Offset{} Type Sym Value{} Sym Name", addr_padding, addr_padding);
|
||||
object->relocation_section().for_each_relocation([](const ELF::DynamicObject::Relocation& reloc) {
|
||||
out(" {:p} ", reloc.offset());
|
||||
out(" {:17} ", object_relocation_type_to_string(reloc.type()));
|
||||
out(" {:18} ", object_relocation_type_to_string(reloc.type()));
|
||||
out(" {:p} ", reloc.symbol().value());
|
||||
out(" {}", reloc.symbol().name());
|
||||
outln();
|
||||
|
@ -661,7 +661,7 @@ int main(int argc, char** argv)
|
|||
outln(" Offset{} Type Sym Value{} Sym Name", addr_padding, addr_padding);
|
||||
object->plt_relocation_section().for_each_relocation([](const ELF::DynamicObject::Relocation& reloc) {
|
||||
out(" {:p} ", reloc.offset());
|
||||
out(" {:17} ", object_relocation_type_to_string(reloc.type()));
|
||||
out(" {:18} ", object_relocation_type_to_string(reloc.type()));
|
||||
out(" {:p} ", reloc.symbol().value());
|
||||
out(" {}", reloc.symbol().name());
|
||||
outln();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue