From dcfc1a76be46ca45f6a18947f25f1c18b7d8baa6 Mon Sep 17 00:00:00 2001 From: hjl Date: Fri, 30 Apr 2004 14:56:02 +0000 Subject: [PATCH] 2004-04-30 H.J. Lu * readelf.c (process_section_headers): Use %3lu on sh_info. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d87b3a29fb..bfeb69fdc0 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2004-04-30 H.J. Lu + + * readelf.c (process_section_headers): Use %3lu on sh_info. + 2004-04-30 Michael Deutschmann * ranlib.sh: Quote $1 argument in case it contains spaces. diff --git a/binutils/readelf.c b/binutils/readelf.c index 29e1c8bc5b..94a9bd0c10 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -3631,7 +3631,7 @@ process_section_headers (FILE *file) printf (" %3s ", get_elf_section_flags (section->sh_flags)); - printf ("%2ld %3lx %2ld\n", + printf ("%2ld %3lu %2ld\n", (unsigned long) section->sh_link, (unsigned long) section->sh_info, (unsigned long) section->sh_addralign); @@ -3666,7 +3666,7 @@ process_section_headers (FILE *file) printf (" %3s ", get_elf_section_flags (section->sh_flags)); - printf ("%2ld %3lx ", + printf ("%2ld %3lu ", (unsigned long) section->sh_link, (unsigned long) section->sh_info); @@ -3696,7 +3696,7 @@ process_section_headers (FILE *file) printf (" %3s ", get_elf_section_flags (section->sh_flags)); - printf (" %2ld %3lx %ld\n", + printf (" %2ld %3lu %ld\n", (unsigned long) section->sh_link, (unsigned long) section->sh_info, (unsigned long) section->sh_addralign); -- 2.11.0