diff options
author | Nick Clifton <nickc@redhat.com> | 2021-07-07 10:25:41 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-07-07 10:25:41 +0100 |
commit | ffa5352c0c0f735541e69fe6d9a192d82e7d418c (patch) | |
tree | df3fd83903f3eb8ae28975107352d5f657583729 /gas/testsuite | |
parent | 1f00b55dba8ed2c6bec4d263b00d41b0e91edb35 (diff) | |
download | gdb-ffa5352c0c0f735541e69fe6d9a192d82e7d418c.zip gdb-ffa5352c0c0f735541e69fe6d9a192d82e7d418c.tar.gz gdb-ffa5352c0c0f735541e69fe6d9a192d82e7d418c.tar.bz2 |
Fix problems translating messages when a percentage sign appears at the end of a string.
PR 28051
gas * config/tc-i386.c (offset_in_range): Reformat error messages in
order to fix problems when translating.
(md_assemble): Likewise.
* messages.c (as_internal_value_out_of_range): Likewise.
* read.c (emit_expr_with_reloc): Likewise.
* testsuite/gas/all/overflow.l Change expected output format.
* po/gas.pot: Regenerate.
bfd * coff-rs6000.c (xcoff_reloc_type_tls): Reformat error messages in
order to fix problems when translating.
* cofflink.c (_bfd_coff_write_global_sym): Likewise.
* elfnn-aarch64.c (_bfd_aarch64_erratum_843419_branch_to_stub):
Likewise.
* po/bfd.pot: Regenerate.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/all/overflow.l | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/testsuite/gas/all/overflow.l b/gas/testsuite/gas/all/overflow.l index 9630957..7f98e85 100644 --- a/gas/testsuite/gas/all/overflow.l +++ b/gas/testsuite/gas/all/overflow.l @@ -1,8 +1,8 @@ .*: Assembler messages: -.*:5: Warning: .* (0x)?100 truncated to (0x)?0 -.*:6: Warning: .* (0x)?101 truncated to (0x)?1 -.*:11: Warning: .* (0x)?f+00 truncated to (0x)?0 -.*:12: Warning: .* (0x)?f+eff truncated to (0x)?ff +.*:5: Warning: .* 0x0+100 truncated to 0x0+0 +.*:6: Warning: .* 0x0+101 truncated to 0x0+1 +.*:11: Warning: .* 0xf+00 truncated to 0x0+0 +.*:12: Warning: .* 0xf+eff truncated to 0x0+ff .*:17: Error: .* (256|(0x)?100) too large .* .*:18: Error: .* (257|(0x)?101) too large .* .*:23: Error: .* (0x)?f+00 too large .* |