* readelf.c (process_section_headers): Use %3lu on sh_info.
This commit is contained in:
H.J. Lu
2004-04-30 14:56:03 +00:00
parent 8ee56bcfa3
commit f2da459f65
2 changed files with 7 additions and 3 deletions

View File

@@ -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);