Use %A and %B in more error messages

* aoutx.h: Use %B and %A in error messages throughout file.
	* aout-cris.c: Likewise.
	* archive.c: Likewise.
	* binary.c: Likewise.
	* coff-rs6000.c: Likewise.
	* coff-tic4x.c: Likewise.
	* coffcode.h: Likewise.
	* coffgen.c: Likewise.
	* cofflink.c: Likewise.
	* coffswap.h: Likewise.
	* cpu-arm.c: Likewise.
	* elf-eh-frame.c: Likewise.
	* elf-m10300.c: Likewise.
	* elf.c: Likewise.
	* elf32-arc.c: Likewise.
	* elf32-arm.c: Likewise.
	* elf32-bfin.c: Likewise.
	* elf32-frv.c: Likewise.
	* elf32-iq2000.c: Likewise.
	* elf32-m32c.c: Likewise.
	* elf32-microblaze.c: Likewise.
	* elf32-nds32.c: Likewise.
	* elf32-rl78.c: Likewise.
	* elf32-rx.c: Likewise.
	* elf32-score.c: Likewise.
	* elf32-score7.c: Likewise.
	* elf32-sh64.c: Likewise.
	* elf32-v850.c: Likewise.
	* elf32-vax.c: Likewise.
	* elf32-visium.c: Likewise.
	* elf64-ia64-vms.c: Likewise.
	* elf64-mmix.c: Likewise.
	* elf64-sh64.c: Likewise.
	* elfcode.h: Likewise.
	* elfnn-aarch64.c: Likewise.
	* elfnn-ia64.c: Likewise.
	* elfxx-mips.c: Likewise.
	* hpux-core.c: Likewise.
	* ieee.c: Likewise.
	* ihex.c: Likewise.
	* linker.c: Likewise.
	* merge.c: Likewise.
	* mmo.c: Likewise.
	* oasys.c: Likewise.
	* pdp11.c: Likewise.
	* peXXigen.c: Likewise.
	* rs6000-core.c: Likewise.
	* vms-alpha.c: Likewise.
	* xcofflink.c: Likewise.
This commit is contained in:
Alan Modra 2017-04-13 13:20:15 +09:30
parent c08bb8dd9b
commit dae82561a2
50 changed files with 341 additions and 314 deletions

View file

@ -949,8 +949,8 @@ microblaze_elf_relocate_section (bfd *output_bfd,
if (r_type < 0 || r_type >= (int) R_MICROBLAZE_max)
{
/* xgettext:c-format */
_bfd_error_handler (_("%s: unknown relocation type %d"),
bfd_get_filename (input_bfd), (int) r_type);
_bfd_error_handler (_("%B: unknown relocation type %d"),
input_bfd, (int) r_type);
bfd_set_error (bfd_error_bad_value);
ret = FALSE;
continue;
@ -1077,12 +1077,12 @@ microblaze_elf_relocate_section (bfd *output_bfd,
{
_bfd_error_handler
/* xgettext:c-format */
(_("%s: The target (%s) of an %s relocation "
"is in the wrong section (%s)"),
bfd_get_filename (input_bfd),
(_("%B: The target (%s) of an %s relocation"
" is in the wrong section (%A)"),
input_bfd,
sym_name,
microblaze_elf_howto_table[(int) r_type]->name,
bfd_get_section_name (sec->owner, sec));
sec);
/*bfd_set_error (bfd_error_bad_value); ??? why? */
ret = FALSE;
continue;
@ -1125,12 +1125,12 @@ microblaze_elf_relocate_section (bfd *output_bfd,
{
_bfd_error_handler
/* xgettext:c-format */
(_("%s: The target (%s) of an %s relocation "
"is in the wrong section (%s)"),
bfd_get_filename (input_bfd),
(_("%B: The target (%s) of an %s relocation"
" is in the wrong section (%A)"),
input_bfd,
sym_name,
microblaze_elf_howto_table[(int) r_type]->name,
bfd_get_section_name (sec->owner, sec));
sec);
/*bfd_set_error (bfd_error_bad_value); ??? why? */
ret = FALSE;
continue;