2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 30 Apr 2004 14:56:03 +0000 (14:56 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 30 Apr 2004 14:56:03 +0000 (14:56 +0000)
* readelf.c (process_section_headers): Use %3lu on sh_info.

binutils/ChangeLog
binutils/readelf.c

index d87b3a29fb57e67d36246bf81839a4ce2be82b9f..bfeb69fdc0d4aca0f3f37d0fd3de1e9a9558a7d6 100644 (file)
@@ -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.
index 29e1c8bc5b84c50049c463a85de8f51609fde5ed..94a9bd0c108a1cfaaf9837b3b46bea07063acf71 100644 (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);