Add attribute printf to _bfd_error_handler
authorAlan Modra <amodra@gmail.com>
Mon, 19 Feb 2018 13:06:55 +0000 (23:36 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 19 Feb 2018 13:25:55 +0000 (23:55 +1030)
commitf2b740ac53a3347b7e0fe1a09e52f6311265e709
tree8f8cd6cbcd98022abe6c1a1d199963ce41d476cf
parent8979927ae719d1a16d2acd01a11cc17ed3c78dfb
Add attribute printf to _bfd_error_handler

and fix a few stray errors.

* elf-attrs.c (_bfd_elf_parse_attributes): Correct _bfd_error_handler
arguments.
* elfxx-mips.c (_bfd_mips_elf_final_link): Likewise.
* elfnn-riscv.c (_bfd_riscv_relax_align): Likewise.
(_bfd_riscv_relax_pc): Likewise and fix typos.
* libbfd-in.h (_bfd_error_handler): Add attribute printf.
* libbfd.h: Regenerate.
bfd/ChangeLog
bfd/elf-attrs.c
bfd/elfnn-riscv.c
bfd/elfxx-mips.c
bfd/libbfd-in.h
bfd/libbfd.h