diff options
author | Alan Modra <amodra@gmail.com> | 2018-02-21 13:04:48 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-02-26 09:31:52 +1030 |
commit | 90b6238f06197c2abff953ab5920ae5b6d39f97f (patch) | |
tree | b281124e1b3212ab6dcb83b14fba350c13e71f8b /bfd/elfnn-aarch64.c | |
parent | 2c1c96795601a19554fa3a86700a1b9e9d57c931 (diff) | |
download | fsf-binutils-gdb-90b6238f06197c2abff953ab5920ae5b6d39f97f.zip fsf-binutils-gdb-90b6238f06197c2abff953ab5920ae5b6d39f97f.tar.gz fsf-binutils-gdb-90b6238f06197c2abff953ab5920ae5b6d39f97f.tar.bz2 |
ARM and AArch64 messages
More standarization of error/warning messages. The ARM backend has
some multi-line error messages, which don't fit particularly well with
the GNU coding standard insistence that error messages shouldn't be
capitalized or have a full-stop. I've replaced the line breaks with
semicolons.
So for instance the following
system/path/to/ld: myobject.o: invalid special symbol `foo'.
system/path/to/ld: It must be a global or weak function symbol.
becomes
system/path/to/ld: myobject.o: invalid special symbol `foo'; it must be a global or weak function symbol
bfd/
* elf32-arm.c, * elfnn-aarch64.c: Standardize error/warning messages.
ld/
* testsuite/ld-aarch64/reloc-overflow-bad.d,
* testsuite/ld-arm/attr-merge-9.out,
* testsuite/ld-arm/attr-merge-arch-2.d,
* testsuite/ld-arm/attr-merge-unknown-1.d,
* testsuite/ld-arm/attr-merge-unknown-2.d,
* testsuite/ld-arm/attr-merge-unknown-2r.d,
* testsuite/ld-arm/attr-merge-unknown-3.d,
* testsuite/ld-arm/cmse-implib-errors.out,
* testsuite/ld-arm/cmse-new-earlier-later-implib.out,
* testsuite/ld-arm/cmse-new-implib-no-output.out,
* testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
* testsuite/ld-arm/cmse-new-implib.out,
* testsuite/ld-arm/cmse-new-wrong-implib.out,
* testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
* testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
* testsuite/ld-arm/group-relocs-alu-bad-2.d,
* testsuite/ld-arm/group-relocs-alu-bad.d,
* testsuite/ld-arm/group-relocs-ldc-bad-2.d,
* testsuite/ld-arm/group-relocs-ldc-bad.d,
* testsuite/ld-arm/group-relocs-ldr-bad-2.d,
* testsuite/ld-arm/group-relocs-ldr-bad.d,
* testsuite/ld-arm/group-relocs-ldrs-bad-2.d,
* testsuite/ld-arm/group-relocs-ldrs-bad.d,
* testsuite/ld-arm/stm32l4xx-cannot-fix-far-ldm.d: Update.
Diffstat (limited to 'bfd/elfnn-aarch64.c')
-rw-r--r-- | bfd/elfnn-aarch64.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index 638ee15..a6d3cce 100644 --- a/bfd/elfnn-aarch64.c +++ b/bfd/elfnn-aarch64.c @@ -4885,7 +4885,7 @@ make_branch_to_erratum_835769_stub (struct bfd_hash_entry *gen_entry, abfd = stub_entry->target_section->owner; if (!aarch64_valid_branch_p (veneer_entry_loc, veneered_insn_loc)) _bfd_error_handler - (_("%pB: error: Erratum 835769 stub out " + (_("%pB: error: erratum 835769 stub out " "of range (input file too large)"), abfd); target = stub_entry->target_value; @@ -4966,7 +4966,7 @@ _bfd_aarch64_erratum_843419_branch_to_stub (struct bfd_hash_entry *gen_entry, abfd = stub_entry->target_section->owner; if (!aarch64_valid_branch_p (veneer_entry_loc, veneered_insn_loc)) _bfd_error_handler - (_("%pB: error: Erratum 843419 stub out " + (_("%pB: error: erratum 843419 stub out " "of range (input file too large)"), abfd); branch_insn = 0x14000000; @@ -5572,7 +5572,7 @@ bad_ifunc_reloc: int howto_index = bfd_r_type - BFD_RELOC_AARCH64_RELOC_START; _bfd_error_handler /* xgettext:c-format */ - (_("%pB: Local symbol descriptor table be NULL when applying " + (_("%pB: local symbol descriptor table be NULL when applying " "relocation %s against local symbol"), input_bfd, elfNN_aarch64_howto_table[howto_index].name); abort (); @@ -6596,7 +6596,7 @@ elfNN_aarch64_relocate_section (bfd *output_bfd, { (*info->callbacks->warning) (info, - _("Too many GOT entries for -fpic, " + _("too many GOT entries for -fpic, " "please recompile with -fPIC"), name, input_bfd, input_section, rel->r_offset); return FALSE; @@ -6624,9 +6624,9 @@ elfNN_aarch64_relocate_section (bfd *output_bfd, || real_r_type == BFD_RELOC_AARCH64_LDST128_LO12)) { info->callbacks->warning - (info, _("One possible cause of this error is that the \ + (info, _("one possible cause of this error is that the \ symbol is being referenced in the indicated code as if it had a larger \ -alignment than was declared where it was defined."), +alignment than was declared where it was defined"), name, input_bfd, input_section, rel->r_offset); } break; |