aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-gen.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-02-20 19:32:12 +1030
committerAlan Modra <amodra@gmail.com>2018-02-26 09:29:15 +1030
commit9793eb77929a4ab2c0192d9bf5d3f8d20dd17394 (patch)
tree88e647f8bab10d99c15aa582caca27468306ba6b /bfd/elf32-gen.c
parent0aa13feeeb78fc9323bee329c4d91c30f25de121 (diff)
downloadgdb-9793eb77929a4ab2c0192d9bf5d3f8d20dd17394.zip
gdb-9793eb77929a4ab2c0192d9bf5d3f8d20dd17394.tar.gz
gdb-9793eb77929a4ab2c0192d9bf5d3f8d20dd17394.tar.bz2
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.
Diffstat (limited to 'bfd/elf32-gen.c')
-rw-r--r--bfd/elf32-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-gen.c b/bfd/elf32-gen.c
index a521c84..8f9e338 100644
--- a/bfd/elf32-gen.c
+++ b/bfd/elf32-gen.c
@@ -66,7 +66,7 @@ check_for_relocs (bfd * abfd, asection * o, void * failed)
ehdrp = elf_elfheader (abfd);
/* xgettext:c-format */
- _bfd_error_handler (_("%pB: Relocations in generic ELF (EM: %d)"),
+ _bfd_error_handler (_("%pB: relocations in generic ELF (EM: %d)"),
abfd, ehdrp->e_machine);
bfd_set_error (bfd_error_wrong_format);