* config/atof-ieee.c (gen_to_words): Correctly round a
[deliverable/binutils-gdb.git] / bfd / coff-z8k.c
index 597d79096bff1c23aab9aebc18b343dff4eb39d7..04049e89c28856974116c3efdc0727759d984e72 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD back-end for Zilog Z800n COFF binaries.
-   Copyright 1992, 1993, 1994 Free Software Foundation, Inc.
+   Copyright 1992, 93, 94, 95, 1997 Free Software Foundation, Inc.
    Contributed by Cygnus Support.
    Written by Steve Chamberlain, <sac@cygnus.com>.
 
@@ -21,7 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #include "bfd.h"
 #include "sysdep.h"
-#include "obstack.h"
 #include "libbfd.h"
 #include "bfdlink.h"
 #include "coff/z8k.h"
@@ -88,8 +87,9 @@ rtype2howto (internal, dst)
 {
   switch (dst->r_type)
     {
-      default:
-      fprintf (stderr, "BAD 0x%x\n", dst->r_type);
+    default:
+      abort ();
+      break;
     case R_IMM8:
       internal->howto = &r_imm8;
       break;
@@ -111,7 +111,7 @@ rtype2howto (internal, dst)
 #define RTYPE2HOWTO(internal, relocentry) rtype2howto(internal,relocentry)
 
 
-/* Perform any necessaru magic to the addend in a reloc entry */
+/* Perform any necessary magic to the addend in a reloc entry */
 
 
 #define CALC_ADDEND(abfd, symbol, ext_reloc, cache_ptr) \
@@ -241,8 +241,8 @@ const bfd_target z8kcoff_vec =
 {
   "coff-z8k",                  /* 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 |
This page took 0.024311 seconds and 4 git commands to generate.