diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-01-12 03:06:47 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-01-12 03:06:47 +0000 |
commit | fd47989094090138b0c857d067ac7ff05e7b6d91 (patch) | |
tree | 8c2aff1c3a3b3586cbdf608ff1bef9ba4ac6f0fa /src/objdump.c | |
parent | 5eee122f63233ad4df924fedceab5e2649922aeb (diff) | |
download | elfutils-fd47989094090138b0c857d067ac7ff05e7b6d91.tar.gz |
Add comment with absolute address to %rip based address modes.
Diffstat (limited to 'src/objdump.c')
-rw-r--r-- | src/objdump.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/objdump.c b/src/objdump.c index 7b95ddd6..91fa8750 100644 --- a/src/objdump.c +++ b/src/objdump.c @@ -756,8 +756,7 @@ show_disasm (Ebl *ebl, const char *fname, uint32_t shstrndx) info.last_end = info.cur = data->d_buf; disasm_cb (ctx, &info.cur, info.cur + data->d_size, info.addr, - //"%7m%e %.1o%e,%.2o%e,%.3o%e", disasm_output, &info, - "%7m %.1o,%.2o,%.3o", disasm_output, &info, + "%7m %.1o,%.2o,%.3o%34a %l", disasm_output, &info, NULL /* XXX */); } } @@ -776,7 +775,7 @@ handle_elf (Elf *elf, const char *prefix, const char *fname, /* Get the backend for this object file type. */ Ebl *ebl = ebl_openbackend (elf); - printf (gettext ("%s: elf%d-%s\n\n"), + printf ("%s: elf%d-%s\n\n", fname, gelf_getclass (elf) == ELFCLASS32 ? 32 : 64, ebl_backend_name (ebl)); |