From: Alan Modra Date: Wed, 24 Sep 2008 14:37:35 +0000 (+0000) Subject: PR 6913 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=725569295bb3cb70123edd407212a2f3093196cc;p=binutils-gdb.git PR 6913 * dwarf.c (print_dwarf_vma): Don't call printf without format string. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index cdff4b06f18..e909e7728fe 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2008-09-25 Alan Modra + + PR 6913 + * dwarf.c (print_dwarf_vma): Don't call printf without format string. + 2008-09-17 Jan Kratochvil Suppress warnings on NONE relocations to discarded sections. diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 3a5ef0ff3e9..42ddd942332 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -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