diff options
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 956144d..fd44f2f 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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 |