diff options
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2740e92..26f7d18 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2007-10-03 Masaki Muranaka <monaka@monami-software.com> + + * readelf.c (dump_section_as_strings): Use %6tx instead of %6zx. + 2007-09-25 Thien-Thi Nguyen <ttn@gnuvola.org> * MAINTAINERS: Fix typo. diff --git a/binutils/readelf.c b/binutils/readelf.c index e51e8b0..191042e 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -7778,7 +7778,7 @@ dump_section_as_strings (Elf_Internal_Shdr *section, FILE *file) if (data < end) { - printf (" [%6zx] %s\n", data - start, data); + printf (" [%6tx] %s\n", data - start, data); data += strlen (data); some_strings_shown = TRUE; } |