mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-01 05:55:23 +08:00
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.
This commit is contained in:
parent
608fa8d35d
commit
c975cc9881
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user