PR 11128
authorNick Clifton <nickc@redhat.com>
Mon, 4 Jan 2010 13:39:58 +0000 (13:39 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 4 Jan 2010 13:39:58 +0000 (13:39 +0000)
        * readelf.c (dump_section_as_strings): Use two separate
        invocations of printf() in order to work around bugs in
        the Solaris 8 implementation.

binutils/ChangeLog
binutils/readelf.c

index 5b7415b56a4ad98831bbfa88df607fbb6a7ebe16..3dfc33a8cfefd6f6db9848eeac01084a3ff27c99 100644 (file)
@@ -1,3 +1,10 @@
+2010-01-04  Nick Clifton  <nickc@redhat.com>
+
+       PR 11128
+       * readelf.c (dump_section_as_strings): Use two separate
+       invocations of printf() in order to work around bugs in
+       the Solaris 8 implementation.
+
 2010-01-04  Nick Clifton  <nickc@redhat.com>
 
        * po/ru/po: Updated Russian translation.
index 956144dfb3a39531cc2d98daf790e9ca24ee11db..fd44f2f105d4de54b37f7c4291c758bcdb436d21 100644 (file)
@@ -8624,7 +8624,10 @@ dump_section_as_strings (Elf_Internal_Shdr * section, FILE * file)
       if (data < end)
        {
 #ifndef __MSVCRT__
-         printf ("  [%6tx]  %s\n", data - start, data);
+         /* PR 11128: Use two separate invocations in order to work
+             around bugs in the Solaris 8 implementation of printf.  */
+         printf ("  [%6tx]  ", data - start);
+         printf ("%s\n", data);
 #else
          printf ("  [%6Ix]  %s\n", (size_t) (data - start), data);
 #endif
This page took 0.065859 seconds and 4 git commands to generate.