aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-a29k.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-05 05:18:08 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-05 05:18:08 +0000
commit9e2dad8ed4b31d55281cca6915da87d2ea487125 (patch)
tree11f55d72a3ea4588a6ae85d86824c7543aef9814 /bfd/coff-a29k.c
parent5784123fb7a17931182241875d6affa7d3900727 (diff)
downloadgdb-9e2dad8ed4b31d55281cca6915da87d2ea487125.zip
gdb-9e2dad8ed4b31d55281cca6915da87d2ea487125.tar.gz
gdb-9e2dad8ed4b31d55281cca6915da87d2ea487125.tar.bz2
* bfd.c: Remove strerror() to libiberty.
* elf.c: Remove elf_set_section_contents, use generic one. Lint. * libbfd-in.h, libbfd.c: Add bfd_generic_set_section_contents. * libbfd.c (bfd_generic_{get,set}_section_contents): Check that last byte of transfer, not first byte, is within the section. * host-aout.c: Remove `BSD' archive support. Lint. * archures.c: Rename `struct bfd_arch_info_struct' to `struct bfd_arch_info'. Rename `typedef bfd_arch_info_struct_type' to `bfd_arch_info_type'. All uses changed. * reloc.c: Rename `bfd_reloc_status_enum_type' to `bfd_reloc_status_type'. Rename `bfd_reloc_code_enum_real_type' to `bfd_reloc_code_real_type'. (This seems to be a misnomer, it needs a better name.) All uses changed. * targets.c: Rename `enum target_flavour_enum' to `enum target_flavour', and remove the `_enum' from all of the enum values themselves. All uses changed. * configure.in, config/h-i386mach: i386 mach host. * config/t-i386-aout: Use host-aout.c. * trad-core.c: Give it its own xvec's to make it independent of other file formats. * ecoff.c, host-aout.c: Remove refs to trad-core. * config/t-dec3100, t-hp300bsd, t-tahoe, t-vax: Define TRAD_CORE. * targets.c: #ifdef TRAD_CORE, include it in the vector.
Diffstat (limited to 'bfd/coff-a29k.c')
-rw-r--r--bfd/coff-a29k.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/coff-a29k.c b/bfd/coff-a29k.c
index 169bdc8..eb999a4 100644
--- a/bfd/coff-a29k.c
+++ b/bfd/coff-a29k.c
@@ -56,7 +56,7 @@ asymbol *symbol;
return(relocation);
}
-static bfd_reloc_status_enum_type
+static bfd_reloc_status_type
a29k_reloc(abfd, reloc_entry, symbol_in, data, input_section)
bfd *abfd;
arelent *reloc_entry;
@@ -68,7 +68,7 @@ asection *input_section;
static unsigned long part1_consth_value;
unsigned long insn, value, sym_value;
unsigned short r_type;
-/* bfd_reloc_status_enum_type result;*/
+/* bfd_reloc_status_type result;*/
/* coff_symbol_type *cs = coffsymbol(symbol_in);*/
r_type = reloc_entry->howto->type;
@@ -212,7 +212,7 @@ static reloc_howto_type howto_table[] =
bfd_target a29kcoff_big_vec =
{
"coff-a29k-big", /* name */
- bfd_target_coff_flavour_enum,
+ bfd_target_coff_flavour,
true, /* data byte order is big */
true, /* header byte order is big */