diff options
| author | Ulrich Drepper <[email protected]> | 2006-05-27 21:57:27 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2006-05-27 21:57:27 +0000 |
| commit | 2cb8e73a5695c462af4a4d34c757d9a95345e8fd (patch) | |
| tree | 78b95824cf28aef07d86158b79c9a58152917dd3 /src | |
| parent | 41cbd7620b0851da148d8aa2d1c21fd304024bba (diff) | |
readelf: Better notation for addon in relocations.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/readelf.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3927c44a..cdba0763 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2006-05-27 Ulrich Drepper <[email protected]> + + * readelf.c (handle_relocs_rela): Better notations for addon value. + 2006-04-04 Ulrich Drepper <[email protected]> * addr2line.c: Update copyright year. diff --git a/src/readelf.c b/src/readelf.c index e94a142d..c5218bdd 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 |
