diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2004-04-30 14:56:03 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2004-04-30 14:56:03 +0000 |
commit | f2da459f6549a10145a55a3618a6317ac0df9749 (patch) | |
tree | e737eff79eee24ed28b79551b4900d28d27bd361 /binutils | |
parent | 8ee56bcfa3a6a15ffaf041c2e02dbebad38b1c7f (diff) | |
download | gdb-f2da459f6549a10145a55a3618a6317ac0df9749.zip gdb-f2da459f6549a10145a55a3618a6317ac0df9749.tar.gz gdb-f2da459f6549a10145a55a3618a6317ac0df9749.tar.bz2 |
2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (process_section_headers): Use %3lu on sh_info.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d87b3a2..bfeb69f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2004-04-30 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (process_section_headers): Use %3lu on sh_info. + 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net> * ranlib.sh: Quote $1 argument in case it contains spaces. diff --git a/binutils/readelf.c b/binutils/readelf.c index 29e1c8b..94a9bd0 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); |