summaryrefslogtreecommitdiff
path: root/bfd/elf32-s390.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-s390.c')
-rw-r--r--bfd/elf32-s390.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/elf32-s390.c b/bfd/elf32-s390.c
index d3f87469ba..3ad4e3113f 100644
--- a/bfd/elf32-s390.c
+++ b/bfd/elf32-s390.c
@@ -342,6 +342,7 @@ elf_s390_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
default:
if (r_type >= sizeof (elf_howto_table) / sizeof (elf_howto_table[0]))
{
+ /* xgettext:c-format */
_bfd_error_handler (_("%B: invalid relocation type %d"),
abfd, (int) r_type);
r_type = R_390_NONE;
@@ -1002,6 +1003,7 @@ elf_s390_check_relocs (bfd *abfd,
if (r_symndx >= NUM_SHDR_ENTRIES (symtab_hdr))
{
+ /* xgettext:c-format */
_bfd_error_handler (_("%B: bad symbol index: %d"),
abfd, r_symndx);
return FALSE;
@@ -1233,6 +1235,7 @@ elf_s390_check_relocs (bfd *abfd,
if (old_tls_type == GOT_NORMAL || tls_type == GOT_NORMAL)
{
_bfd_error_handler
+ /* xgettext:c-format */
(_("%B: `%s' accessed both as normal and thread local symbol"),
abfd, h->root.root.string);
return FALSE;
@@ -2345,6 +2348,7 @@ invalid_tls_insn (bfd *input_bfd,
howto = elf_howto_table + ELF32_R_TYPE (rel->r_info);
_bfd_error_handler
+ /* xgettext:c-format */
(_("%B(%A+0x%lx): invalid instruction for TLS relocation %s"),
input_bfd,
input_section,
@@ -3395,6 +3399,7 @@ elf_s390_relocate_section (bfd *output_bfd,
&& _bfd_elf_section_offset (output_bfd, info, input_section,
rel->r_offset) != (bfd_vma) -1)
_bfd_error_handler
+ /* xgettext:c-format */
(_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"),
input_bfd,
input_section,
@@ -3451,6 +3456,7 @@ elf_s390_relocate_section (bfd *output_bfd,
else
{
_bfd_error_handler
+ /* xgettext:c-format */
(_("%B(%A+0x%lx): reloc against `%s': error %d"),
input_bfd, input_section,
(long) rel->r_offset, name, (int) r);