From f2da459f6549a10145a55a3618a6317ac0df9749 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 30 Apr 2004 14:56:03 +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 d87b3a29fb5..bfeb69fdc0d 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 29e1c8bc5b8..94a9bd0c108 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.30.2