* Makefile.in (coff-tic80.o): Add coffcode.h to dependency list.
authorFred Fish <fnf@specifix.com>
Sat, 4 Jan 1997 01:24:50 +0000 (01:24 +0000)
committerFred Fish <fnf@specifix.com>
Sat, 4 Jan 1997 01:24:50 +0000 (01:24 +0000)
* coff-tic80.c (tic80coff_vec): Data byte order is big endian and
header byte order is little endian.  Use correct bfd_get and
bfd_put routines for little endian headers.
* coffcode.h (coff_set_arch_mach_hook): Set arch to
bfd_arch_tic80 for TIC80_ARCH_MAGIC number.

bfd/ChangeLog
bfd/coffcode.h

index e139d61..f049c7c 100644 (file)
@@ -1,3 +1,14 @@
+start-sanitize-tic80
+Fri Jan  3 16:33:00 1997  Fred Fish  <fnf@cygnus.com>
+
+       * Makefile.in (coff-tic80.o): Add coffcode.h to dependency list.
+       * coff-tic80.c (tic80coff_vec): Data byte order is big endian and
+       header byte order is little endian.  Use correct bfd_get and
+       bfd_put routines for little endian headers.
+       * coffcode.h (coff_set_arch_mach_hook): Set arch to
+       bfd_arch_tic80 for TIC80_ARCH_MAGIC number.
+
+end-sanitize-tic80
 Fri Jan  3 16:54:08 1997  Jeffrey A Law  (law@cygnus.com)
 
        * reloc.c: Add BFD_RELOC_24.
index 35fff51..ae07e91 100644 (file)
@@ -1533,6 +1533,12 @@ coff_set_arch_mach_hook (abfd, filehdr)
       break;
 #endif
 
+#ifdef TIC80_ARCH_MAGIC
+    case TIC80_ARCH_MAGIC:
+      arch = bfd_arch_tic80;
+      break;
+#endif
+
     default:                   /* Unreadable input file type */
       arch = bfd_arch_obscure;
       break;