]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
readelf: Better notation for addon in relocations.
authorUlrich Drepper <drepper@redhat.com>
Sat, 27 May 2006 21:57:27 +0000 (21:57 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 27 May 2006 21:57:27 +0000 (21:57 +0000)
src/ChangeLog
src/readelf.c

index 3927c44acb281bb5fd5146288e6d0c1240745bed..cdba0763df53b4d0f6cbb12d0b5a8cb6aa7206d3 100644 (file)
@@ -1,3 +1,7 @@
+2006-05-27  Ulrich Drepper  <drepper@redhat.com>
+
+       * readelf.c (handle_relocs_rela): Better notations for addon value.
+
 2006-04-04  Ulrich Drepper  <drepper@redhat.com>
 
        * addr2line.c: Update copyright year.
index e94a142d2a33110886d5def7ef9f6a1d06d66276..c5218bdd12aee24c791b15e977265d48baca75be 100644 (file)
@@ -1543,7 +1543,7 @@ handle_relocs_rela (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr)
                    (long int) GELF_R_SYM (rel->r_info));
          else if (GELF_ST_TYPE (sym->st_info) != STT_SECTION)
            printf ("\
-  %#0*" PRIx64 "  %-15s %#0*" PRIx64 "  +%5" PRId64 " %s\n",
+  %#0*" PRIx64 "  %-15s %#0*" PRIx64 "  %+6" PRId64 " %s\n",
                    class == ELFCLASS32 ? 10 : 18, rel->r_offset,
                    ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info))
                    /* Avoid the leading R_ which isn't carrying any
@@ -1575,7 +1575,7 @@ handle_relocs_rela (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr)
                                    ? xndx : sym->st_shndx));
              else
                printf ("\
-  %#0*" PRIx64 "  %-15s %#0*" PRIx64 "  +%5" PRId64 " %s\n",
+  %#0*" PRIx64 "  %-15s %#0*" PRIx64 "  %+6" PRId64 " %s\n",
                        class == ELFCLASS32 ? 10 : 18, rel->r_offset,
                        ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info))
                        /* Avoid the leading R_ which isn't carrying any