diff options
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/coff-ppc.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index eb63e09..61d5701 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2009-01-02 Curtis Mackie <curtmackevo@gmail.com> + + PR 9682 + * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string + literal. + 2008-12-29 Arnold Metselaar <arnold.metselaar@planet.nl> * coff-z80.c (r_imm32): Fix copy-paste bug that caused z80-objdump to diff --git a/bfd/coff-ppc.c b/bfd/coff-ppc.c index eed84a0..9d03bd0 100644 --- a/bfd/coff-ppc.c +++ b/bfd/coff-ppc.c @@ -1543,9 +1543,9 @@ dump_toc (vfile) FILE *file = (FILE *) vfile; struct list_ele *t; - fprintf (file, _(h1)); - fprintf (file, _(h2)); - fprintf (file, _(h3)); + fputs (_(h1), file); + fputs (_(h2), file); + fputs (_(h3), file); for (t = head; t != 0; t=t->next) { |