mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 16:38:05 +08:00
ppc32 use of %x in einfo format
einfo doesn't support %x. * elf32-ppc.c (ppc_elf_relocate_section): Emit "unexpected instruction" error using _bfd_error_handler, not einfo.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2017-07-11 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* elf32-ppc.c (ppc_elf_relocate_section): Emit "unexpected
|
||||||
|
instruction" error using _bfd_error_handler, not einfo.
|
||||||
|
|
||||||
2017-07-10 Nick Clifton <nickc@redhat.com>
|
2017-07-10 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* coffcode.h (coff_slurp_symbol_table): Do not include an entry
|
* coffcode.h (coff_slurp_symbol_table): Do not include an entry
|
||||||
|
@ -8284,9 +8284,9 @@ ppc_elf_relocate_section (bfd *output_bfd,
|
|||||||
r_type = R_PPC_GOT16_LO;
|
r_type = R_PPC_GOT16_LO;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
info->callbacks->einfo
|
_bfd_error_handler
|
||||||
/* xgettext:c-format */
|
/* xgettext:c-format */
|
||||||
(_("%H: error: %s with unexpected instruction %x\n"),
|
(_("%B(%A+#Lx): error: %s with unexpected instruction %#x"),
|
||||||
input_bfd, input_section, rel->r_offset,
|
input_bfd, input_section, rel->r_offset,
|
||||||
"R_PPC_ADDR16_HA", insn);
|
"R_PPC_ADDR16_HA", insn);
|
||||||
}
|
}
|
||||||
@ -8319,9 +8319,9 @@ ppc_elf_relocate_section (bfd *output_bfd,
|
|||||||
rel->r_info = ELF32_R_INFO (0, r_type);
|
rel->r_info = ELF32_R_INFO (0, r_type);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
info->callbacks->einfo
|
_bfd_error_handler
|
||||||
/* xgettext:c-format */
|
/* xgettext:c-format */
|
||||||
(_("%H: error: %s with unexpected instruction %x\n"),
|
(_("%B(%A+#Lx): error: %s with unexpected instruction %#x"),
|
||||||
input_bfd, input_section, rel->r_offset,
|
input_bfd, input_section, rel->r_offset,
|
||||||
"R_PPC_ADDR16_LO", insn);
|
"R_PPC_ADDR16_LO", insn);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user