* dwarf.c (print_dwarf_vma): Don't call printf without format string.
This commit is contained in:
Alan Modra 2008-09-24 14:37:35 +00:00
parent 68e007ca21
commit 725569295b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-09-25 Alan Modra <amodra@bigpond.net.au>
PR 6913
* dwarf.c (print_dwarf_vma): Don't call printf without format string.
2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
Suppress warnings on NONE relocations to discarded sections.

View File

@ -186,7 +186,7 @@ print_dwarf_vma (dwarf_vma val, unsigned byte_size)
snprintf (buff, sizeof (buff), "%16.16lx ", val);
#endif
printf (buff + (byte_size == 4 ? 8 : 0));
fputs (buff + (byte_size == 4 ? 8 : 0), stdout);
}
static unsigned long int