/* BFD back-end for AMD 29000 COFF binaries.
- Copyright 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
+ Copyright 1990, 91, 92, 93, 94, 95, 1997 Free Software Foundation, Inc.
Contributed by David Wood at New York University 7/8/91.
This file is part of BFD, the Binary File Descriptor library.
#include "bfd.h"
#include "sysdep.h"
#include "libbfd.h"
-#include "obstack.h"
#include "coff/a29k.h"
#include "coff/internal.h"
#include "libcoff.h"
if ((part1_consth_active) && (r_type != R_IHCONST))
{
part1_consth_active = false;
- *error_message = (char *) "Missing IHCONST";
+ *error_message = (char *) _("Missing IHCONST");
return(bfd_reloc_dangerous);
}
/* consth, part 2
Now relocate the reference */
if (part1_consth_active == false) {
- *error_message = (char *) "Missing IHIHALF";
+ *error_message = (char *) _("Missing IHIHALF");
return(bfd_reloc_dangerous);
}
/* sym_ptr_ptr = r_symndx, in coff_slurp_reloc_table() */
bfd_put_32(abfd, insn, hit_data);
break;
default:
- *error_message = "Unrecognized reloc";
+ *error_message = _("Unrecognized reloc");
return (bfd_reloc_dangerous);
}
symndx = rel->r_symndx;
loc = contents + rel->r_vaddr - input_section->vma;
- if (symndx == -1)
+ if (symndx == -1 || rel->r_type == R_IHCONST)
h = NULL;
else
h = obj_coff_sym_hashes (input_bfd)[symndx];
if (hihalf)
{
if (! ((*info->callbacks->reloc_dangerous)
- (info, "missing IHCONST reloc", input_bfd,
+ (info, _("missing IHCONST reloc"), input_bfd,
input_section, rel->r_vaddr - input_section->vma)))
return false;
hihalf = false;
if (! hihalf)
{
if (! ((*info->callbacks->reloc_dangerous)
- (info, "missing IHIHALF reloc", input_bfd,
+ (info, _("missing IHIHALF reloc"), input_bfd,
input_section, rel->r_vaddr - input_section->vma)))
return false;
hihalf_val = 0;
{
"coff-a29k-big", /* name */
bfd_target_coff_flavour,
- true, /* data byte order is big */
- true, /* header byte order is big */
+ BFD_ENDIAN_BIG, /* data byte order is big */
+ BFD_ENDIAN_BIG, /* header byte order is big */
(HAS_RELOC | EXEC_P | /* object flags */
HAS_LINENO | HAS_DEBUG |