diff options
Diffstat (limited to 'bfd/elf64-ia64-vms.c')
-rw-r--r-- | bfd/elf64-ia64-vms.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/bfd/elf64-ia64-vms.c b/bfd/elf64-ia64-vms.c index 56c1103..6f6d5e3 100644 --- a/bfd/elf64-ia64-vms.c +++ b/bfd/elf64-ia64-vms.c @@ -582,7 +582,7 @@ elf64_ia64_relax_section (bfd *abfd, asection *sec, if (strcmp (sec->output_section->name, ".init") == 0 || strcmp (sec->output_section->name, ".fini") == 0) { - (*_bfd_error_handler) + _bfd_error_handler (_("%B: Can't relax br at 0x%lx in section `%A'. Please use brl or indirect branch."), sec->owner, sec, (unsigned long) roff); bfd_set_error (bfd_error_bad_value); @@ -3275,7 +3275,7 @@ elf64_ia64_choose_gp (bfd *abfd, struct bfd_link_info *info, bfd_boolean final) if (max_short_vma - min_short_vma >= 0x400000) { overflow: - (*_bfd_error_handler) + _bfd_error_handler (_("%s: short data segment overflowed (0x%lx >= 0x400000)"), bfd_get_filename (abfd), (unsigned long) (max_short_vma - min_short_vma)); @@ -3286,7 +3286,7 @@ overflow: || (gp_val < max_short_vma && max_short_vma - gp_val >= 0x200000)) { - (*_bfd_error_handler) + _bfd_error_handler (_("%s: __gp does not cover short data segment"), bfd_get_filename (abfd)); return FALSE; @@ -3425,7 +3425,7 @@ elf64_ia64_relocate_section (bfd *output_bfd, r_type = ELF64_R_TYPE (rel->r_info); if (r_type > R_IA64_MAX_RELOC_CODE) { - (*_bfd_error_handler) + _bfd_error_handler (_("%B: unknown relocation type %d"), input_bfd, (int) r_type); bfd_set_error (bfd_error_bad_value); @@ -3551,7 +3551,7 @@ elf64_ia64_relocate_section (bfd *output_bfd, case R_IA64_IMM64: /* ??? People shouldn't be doing non-pic code in shared libraries nor dynamic executables. */ - (*_bfd_error_handler) + _bfd_error_handler (_("%B: non-pic code with imm relocation against dynamic symbol `%s'"), input_bfd, h ? h->root.root.string @@ -3613,7 +3613,7 @@ elf64_ia64_relocate_section (bfd *output_bfd, case R_IA64_GPREL64LSB: if (dynamic_symbol_p) { - (*_bfd_error_handler) + _bfd_error_handler (_("%B: @gprel relocation against dynamic symbol %s"), input_bfd, h ? h->root.root.string @@ -3672,7 +3672,7 @@ elf64_ia64_relocate_section (bfd *output_bfd, dynamic symbol table. */ /* ??? People shouldn't be doing non-pic code in shared libraries. Hork. */ - (*_bfd_error_handler) + _bfd_error_handler (_("%B: linking non-pic code in a position independent executable"), input_bfd); ret_val = FALSE; @@ -3779,12 +3779,12 @@ elf64_ia64_relocate_section (bfd *output_bfd, msg = _("%B: speculation fixup to dynamic symbol %s"); else msg = _("%B: @pcrel relocation against dynamic symbol %s"); - (*_bfd_error_handler) (msg, input_bfd, - h ? h->root.root.string - : bfd_elf_sym_name (input_bfd, - symtab_hdr, - sym, - sym_sec)); + _bfd_error_handler (msg, input_bfd, + h ? h->root.root.string + : bfd_elf_sym_name (input_bfd, + symtab_hdr, + sym, + sym_sec)); ret_val = FALSE; continue; } @@ -3937,7 +3937,7 @@ elf64_ia64_relocate_section (bfd *output_bfd, case R_IA64_LTOFF_TPREL22: case R_IA64_LTOFF_DTPMOD22: case R_IA64_LTOFF_DTPREL22: - (*_bfd_error_handler) + _bfd_error_handler (_("%B: missing TLS section for relocation %s against `%s' at 0x%lx in section `%A'."), input_bfd, input_section, howto->name, name, rel->r_offset); @@ -3952,7 +3952,7 @@ elf64_ia64_relocate_section (bfd *output_bfd, /* Relaxtion is always performed for ELF output. Overflow failures for those relocations mean that the section is too big to relax. */ - (*_bfd_error_handler) + _bfd_error_handler (_("%B: Can't relax br (%s) to `%s' at 0x%lx in section `%A' with size 0x%lx (> 0x1000000)."), input_bfd, input_section, howto->name, name, rel->r_offset, input_section->size); @@ -4240,7 +4240,7 @@ elf64_ia64_merge_private_bfd_data (bfd *ibfd, bfd *obfd) if ((in_flags & EF_IA_64_TRAPNIL) != (out_flags & EF_IA_64_TRAPNIL)) { - (*_bfd_error_handler) + _bfd_error_handler (_("%B: linking trap-on-NULL-dereference with non-trapping files"), ibfd); @@ -4249,7 +4249,7 @@ elf64_ia64_merge_private_bfd_data (bfd *ibfd, bfd *obfd) } if ((in_flags & EF_IA_64_BE) != (out_flags & EF_IA_64_BE)) { - (*_bfd_error_handler) + _bfd_error_handler (_("%B: linking big-endian files with little-endian files"), ibfd); @@ -4258,7 +4258,7 @@ elf64_ia64_merge_private_bfd_data (bfd *ibfd, bfd *obfd) } if ((in_flags & EF_IA_64_ABI64) != (out_flags & EF_IA_64_ABI64)) { - (*_bfd_error_handler) + _bfd_error_handler (_("%B: linking 64-bit files with 32-bit files"), ibfd); @@ -4267,7 +4267,7 @@ elf64_ia64_merge_private_bfd_data (bfd *ibfd, bfd *obfd) } if ((in_flags & EF_IA_64_CONS_GP) != (out_flags & EF_IA_64_CONS_GP)) { - (*_bfd_error_handler) + _bfd_error_handler (_("%B: linking constant-gp files with non-constant-gp files"), ibfd); @@ -4277,7 +4277,7 @@ elf64_ia64_merge_private_bfd_data (bfd *ibfd, bfd *obfd) if ((in_flags & EF_IA_64_NOFUNCDESC_CONS_GP) != (out_flags & EF_IA_64_NOFUNCDESC_CONS_GP)) { - (*_bfd_error_handler) + _bfd_error_handler (_("%B: linking auto-pic files with non-auto-pic files"), ibfd); @@ -5119,13 +5119,13 @@ error_free_dyn: { /* PR binutils/2735 */ if (normal_bfd == NULL) - (*_bfd_error_handler) + _bfd_error_handler (_("Warning: alignment %u of common symbol `%s' in %B" " is greater than the alignment (%u) of its section %A"), common_bfd, h->root.u.def.section, 1 << common_align, name, 1 << normal_align); else - (*_bfd_error_handler) + _bfd_error_handler (_("Warning: alignment %u of symbol `%s' in %B" " is smaller than %u in %B"), normal_bfd, common_bfd, @@ -5140,7 +5140,7 @@ error_free_dyn: if (h->size != 0 && h->size != isym->st_size && ! size_change_ok) - (*_bfd_error_handler) + _bfd_error_handler (_("Warning: size of symbol `%s' changed" " from %lu in %B to %lu in %B"), old_bfd, abfd, @@ -5167,7 +5167,7 @@ error_free_dyn: if (h->type != type) { if (h->type != STT_NOTYPE && ! type_change_ok) - (*_bfd_error_handler) + _bfd_error_handler (_("Warning: type of symbol `%s' changed" " from %d to %d in %B"), abfd, name, h->type, type); |