{
/* It does not make sense to have a procedure linkage
table entry for a local symbol. */
- info->callbacks->einfo (_("%H: %s reloc against local symbol\n"),
+ info->callbacks->einfo (_("%P: %H: %s reloc against local symbol\n"),
abfd, sec, rel->r_offset,
ppc_elf_howto_table[r_type]->name);
bfd_set_error (bfd_error_bad_value);
}
}
if (htab->plt_type == PLT_OLD && plt_style == PLT_NEW)
- info->callbacks->info (_("Using bss-plt due to %B"), htab->old_bfd);
+ info->callbacks->einfo (_("%P: bss-plt forced due to %B\n"), htab->old_bfd);
BFD_ASSERT (htab->plt_type != PLT_VXWORKS);
if (h->size == 0)
{
- info->callbacks->einfo (_("dynamic variable `%s' is zero size\n"),
+ info->callbacks->einfo (_("%P: dynamic variable `%s' is zero size\n"),
h->root.root.string);
return TRUE;
}
{
default:
info->callbacks->einfo
- (_("%B: unknown relocation type %d for symbol %s\n"),
+ (_("%P: %B: unknown relocation type %d for symbol %s\n"),
input_bfd, (int) r_type, sym_name);
bfd_set_error (bfd_error_bad_value);
got at entry m+n bears little relation to the entry m. */
if (addend != 0)
info->callbacks->einfo
- (_("%H: non-zero addend on %s reloc against `%s'\n"),
+ (_("%P: %H: non-zero addend on %s reloc against `%s'\n"),
input_bfd, input_section, rel->r_offset,
howto->name,
sym_name);
So we'll segfault when trying to run the
indirection function to resolve the reloc. */
info->callbacks->einfo
- (_("%H: relocation %s for indirect "
+ (_("%P: %H: relocation %s for indirect "
"function %s unsupported\n"),
input_bfd, input_section, rel->r_offset,
howto->name,
&& (name[5] == 0 || name[5] == '.'))))
{
info->callbacks->einfo
- (_("%B: the target (%s) of a %s relocation is "
+ (_("%P: %B: the target (%s) of a %s relocation is "
"in the wrong output section (%s)\n"),
input_bfd,
sym_name,
|| CONST_STRNEQ (name, ".sbss2")))
{
info->callbacks->einfo
- (_("%B: the target (%s) of a %s relocation is "
+ (_("%P: %B: the target (%s) of a %s relocation is "
"in the wrong output section (%s)\n"),
input_bfd,
sym_name,
else
{
info->callbacks->einfo
- (_("%B: the target (%s) of a %s relocation is "
+ (_("%P: %B: the target (%s) of a %s relocation is "
"in the wrong output section (%s)\n"),
input_bfd,
sym_name,
case R_PPC_EMB_RELST_HA:
case R_PPC_EMB_BIT_FLD:
info->callbacks->einfo
- (_("%B: relocation %s is not yet supported for symbol %s\n"),
+ (_("%P: %B: relocation %s is not yet supported for symbol %s\n"),
input_bfd,
howto->name,
sym_name);
&& h->def_dynamic))
{
info->callbacks->einfo
- (_("%H: unresolvable %s relocation against symbol `%s'\n"),
+ (_("%P: %H: unresolvable %s relocation against symbol `%s'\n"),
input_bfd, input_section, rel->r_offset,
howto->name,
sym_name);
else
{
info->callbacks->einfo
- (_("%H: %s reloc against `%s': error %d\n"),
+ (_("%P: %H: %s reloc against `%s': error %d\n"),
input_bfd, input_section, rel->r_offset,
howto->name, sym_name, (int) r);
ret = FALSE;
}
else
{
- info->callbacks->einfo (_("%s not defined in linker created %s\n"),
+ info->callbacks->einfo (_("%P: %s not defined in linker created %s\n"),
htab->elf.hgot->root.root.string,
(htab->sgotplt != NULL
? htab->sgotplt->name : htab->got->name));
TRUE, FALSE);
if (stub_entry == NULL)
{
- info->callbacks->einfo (_("%B: cannot create stub entry %s\n"),
+ info->callbacks->einfo (_("%P: %B: cannot create stub entry %s\n"),
section->owner, stub_name);
return NULL;
}
sections. Allow them to proceed, but warn that this might
break at runtime. */
info->callbacks->einfo
- (_("copy reloc against `%s' requires lazy plt linking; "
+ (_("%P: copy reloc against `%s' requires lazy plt linking; "
"avoid setting LD_BIND_NOW=1 or upgrade gcc\n"),
h->root.root.string);
}
if (h->size == 0)
{
- info->callbacks->einfo (_("dynamic variable `%s' is zero size\n"),
+ info->callbacks->einfo (_("%P: dynamic variable `%s' is zero size\n"),
h->root.root.string);
return TRUE;
}
pp = &p->next;
}
- info->callbacks->einfo (_("dynreloc miscount for %B, section %A\n"),
+ info->callbacks->einfo (_("%P: dynreloc miscount for %B, section %A\n"),
sec->owner, sec);
bfd_set_error (bfd_error_bad_value);
return FALSE;
if (strcmp (opd->name, ".opd") != 0
|| opd->reloc_count != 0)
{
- info->callbacks->einfo (_("cannot find opd entry toc for %s\n"),
+ info->callbacks->einfo (_("%P: cannot find opd entry toc for %s\n"),
stub_entry->h->elf.root.root.string);
bfd_set_error (bfd_error_bad_value);
return 0;
if (off + (1 << 25) >= (bfd_vma) (1 << 26))
{
- info->callbacks->einfo (_("long branch stub `%s' offset overflow\n"),
+ info->callbacks->einfo (_("%P: long branch stub `%s' offset overflow\n"),
stub_entry->root.string);
htab->stub_error = TRUE;
return FALSE;
FALSE, FALSE);
if (br_entry == NULL)
{
- info->callbacks->einfo (_("can't find branch stub `%s'\n"),
+ info->callbacks->einfo (_("%P: can't find branch stub `%s'\n"),
stub_entry->root.string);
htab->stub_error = TRUE;
return FALSE;
if (off + 0x80008000 > 0xffffffff || (off & 7) != 0)
{
info->callbacks->einfo
- (_("linkage table error against `%s'\n"),
+ (_("%P: linkage table error against `%s'\n"),
stub_entry->root.string);
bfd_set_error (bfd_error_bad_value);
htab->stub_error = TRUE;
if (off + 0x80008000 > 0xffffffff || (off & 7) != 0)
{
info->callbacks->einfo
- (_("linkage table error against `%s'\n"),
+ (_("%P: linkage table error against `%s'\n"),
stub_entry->h != NULL
? stub_entry->h->elf.root.root.string
: "<local sym>");
TRUE, FALSE);
if (br_entry == NULL)
{
- info->callbacks->einfo (_("can't build branch stub `%s'\n"),
+ info->callbacks->einfo (_("%P: can't build branch stub `%s'\n"),
stub_entry->root.string);
htab->stub_error = TRUE;
return FALSE;
if (val + 0x80000000 > 0xffffffff)
{
info->callbacks->einfo
- (_("%s offset too large for .eh_frame sdata4 encoding"),
+ (_("%P: %s offset too large for .eh_frame sdata4 encoding"),
stub_sec->name);
return FALSE;
}
if (val + 0x80000000 > 0xffffffff)
{
info->callbacks->einfo
- (_("%s offset too large for .eh_frame sdata4 encoding"),
+ (_("%P: %s offset too large for .eh_frame sdata4 encoding"),
htab->glink->name);
return FALSE;
}
&& htab->glink_eh_frame->rawsize != htab->glink_eh_frame->size))
{
htab->stub_error = TRUE;
- info->callbacks->einfo (_("stubs don't match calculated size\n"));
+ info->callbacks->einfo (_("%P: stubs don't match calculated size\n"));
}
if (htab->stub_error)
else
info->callbacks->einfo
(!IS_PPC64_TLS_RELOC (r_type)
- ? _("%H: %s used with TLS symbol %s\n")
- : _("%H: %s used with non-TLS symbol %s\n"),
+ ? _("%P: %H: %s used with TLS symbol %s\n")
+ : _("%P: %H: %s used with non-TLS symbol %s\n"),
input_bfd, input_section, rel->r_offset,
ppc64_elf_howto_table[r_type]->name,
sym_name);
|| strcmp (input_section->output_section->name,
".fini") == 0)
info->callbacks->einfo
- (_("%H: automatic multiple TOCs "
+ (_("%P: %H: automatic multiple TOCs "
"not supported using your crt files; "
"recompile with -mminimal-toc or upgrade gcc\n"),
input_bfd, input_section, rel->r_offset);
else
info->callbacks->einfo
- (_("%H: sibling call optimization to `%s' "
+ (_("%P: %H: sibling call optimization to `%s' "
"does not allow automatic multiple TOCs; "
"recompile with -mminimal-toc or "
"-fno-optimize-sibling-calls, "
{
default:
info->callbacks->einfo
- (_("%B: unknown relocation type %d for symbol %s\n"),
+ (_("%P: %B: unknown relocation type %d for symbol %s\n"),
input_bfd, (int) r_type, sym_name);
bfd_set_error (bfd_error_bad_value);
: ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC)
{
info->callbacks->einfo
- (_("%H: relocation %s for indirect "
+ (_("%P: %H: relocation %s for indirect "
"function %s unsupported\n"),
input_bfd, input_section, rel->r_offset,
ppc64_elf_howto_table[r_type]->name,
/* These ones haven't been implemented yet. */
info->callbacks->einfo
- (_("%B: relocation %s is not supported for symbol %s\n"),
+ (_("%P: %B: relocation %s is not supported for symbol %s\n"),
input_bfd,
ppc64_elf_howto_table[r_type]->name, sym_name);
if (((relocation + addend) & mask) != 0)
{
info->callbacks->einfo
- (_("%H: error: %s not a multiple of %u\n"),
+ (_("%P: %H: error: %s not a multiple of %u\n"),
input_bfd, input_section, rel->r_offset,
ppc64_elf_howto_table[r_type]->name,
mask + 1);
&& h->elf.def_dynamic))
{
info->callbacks->einfo
- (_("%H: unresolvable %s relocation against symbol `%s'\n"),
+ (_("%P: %H: unresolvable %s relocation against symbol `%s'\n"),
input_bfd, input_section, rel->r_offset,
ppc64_elf_howto_table[(int) r_type]->name,
h->elf.root.root.string);
else
{
info->callbacks->einfo
- (_("%H: %s reloc against `%s': error %d\n"),
+ (_("%P: %H: %s reloc against `%s': error %d\n"),
input_bfd, input_section, rel->r_offset,
ppc64_elf_howto_table[r_type]->name,
sym_name,