From: Ulrich Drepper Date: Sat, 27 May 2006 21:57:27 +0000 (+0000) Subject: readelf: Better notation for addon in relocations. X-Git-Tag: elfutils-0.121~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cb8e73a5695c462af4a4d34c757d9a95345e8fd;p=thirdparty%2Felfutils.git readelf: Better notation for addon in relocations. --- diff --git a/src/ChangeLog b/src/ChangeLog index 3927c44ac..cdba0763d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2006-05-27 Ulrich Drepper + + * readelf.c (handle_relocs_rela): Better notations for addon value. + 2006-04-04 Ulrich Drepper * addr2line.c: Update copyright year. diff --git a/src/readelf.c b/src/readelf.c index e94a142d2..c5218bdd1 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -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