From 6f08d80e81cc9b0b99abdd60a25d65ad09c75ffc Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 3 Oct 2007 04:24:08 +0000 Subject: [PATCH] * readelf.c (dump_section_as_strings): Use %6tx instead of %6zx. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2740e927d9..26f7d18510 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2007-10-03 Masaki Muranaka + + * readelf.c (dump_section_as_strings): Use %6tx instead of %6zx. + 2007-09-25 Thien-Thi Nguyen * MAINTAINERS: Fix typo. diff --git a/binutils/readelf.c b/binutils/readelf.c index e51e8b013c..191042eaa9 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; }