ELF linker messages
authorAlan Modra <amodra@gmail.com>
Tue, 20 Feb 2018 09:02:12 +0000 (19:32 +1030)
committerAlan Modra <amodra@gmail.com>
Sun, 25 Feb 2018 22:59:15 +0000 (09:29 +1030)
commit9793eb77929a4ab2c0192d9bf5d3f8d20dd17394
tree88e647f8bab10d99c15aa582caca27468306ba6b
parent0aa13feeeb78fc9323bee329c4d91c30f25de121
ELF linker messages

This fixes a number of cases where we capitalized error messages or
printed a full-stop, and corrects "Dwarf" to "DWARF".

bfd/
* dwarf2.c, * elf-attrs.c, * elf-eh-frame.c, * elf.c, * elf32-gen.c,
* elflink.c: Standardize error/warning messages.  Replace use of
linker callback einfo with _bfd_error_handler when possible.
ld/
* testsuite/ld-elf/indirect.exp,
* testsuite/ld-elf/pr22649-2ab-mips.msg,
* testsuite/ld-elf/pr22649-2cd-mips.msg,
* testsuite/ld-elf/pr22649.msg,
* testsuite/ld-elf/tls_common.exp,
* testsuite/ld-elfcomm/elfcomm.exp,
* testsuite/ld-arm/attr-merge-incompatible.d,
* testsuite/ld-tic6x/attr-compatibility-gnu-other.d,
* testsuite/ld-tic6x/attr-compatibility-other-gnu.d,
* testsuite/ld-tic6x/attr-compatibility-other-other.d,
* testsuite/ld-i386/warn1.d: Update expected error/warning messages.
19 files changed:
bfd/ChangeLog
bfd/dwarf2.c
bfd/elf-attrs.c
bfd/elf-eh-frame.c
bfd/elf.c
bfd/elf32-gen.c
bfd/elflink.c
ld/ChangeLog
ld/testsuite/ld-arm/attr-merge-incompatible.d
ld/testsuite/ld-elf/indirect.exp
ld/testsuite/ld-elf/pr22649-2ab-mips.msg
ld/testsuite/ld-elf/pr22649-2cd-mips.msg
ld/testsuite/ld-elf/pr22649.msg
ld/testsuite/ld-elf/tls_common.exp
ld/testsuite/ld-elfcomm/elfcomm.exp
ld/testsuite/ld-i386/warn1.d
ld/testsuite/ld-tic6x/attr-compatibility-gnu-other.d
ld/testsuite/ld-tic6x/attr-compatibility-other-gnu.d
ld/testsuite/ld-tic6x/attr-compatibility-other-other.d