aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1997-01-04 01:24:50 +0000
committerFred Fish <fnf@specifix.com>1997-01-04 01:24:50 +0000
commit28eb95aa337f72b4a87cdd2a2d6aff9cc0984a4b (patch)
tree0bf5ea96590b58a548f73d43a6b5bc6d06527018
parent4c681116af400ae163c0772ffca9e7fdc92e036c (diff)
downloadgdb-28eb95aa337f72b4a87cdd2a2d6aff9cc0984a4b.zip
gdb-28eb95aa337f72b4a87cdd2a2d6aff9cc0984a4b.tar.gz
gdb-28eb95aa337f72b4a87cdd2a2d6aff9cc0984a4b.tar.bz2
* 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.
-rw-r--r--bfd/ChangeLog11
-rw-r--r--bfd/coffcode.h6
2 files changed, 17 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e139d61..f049c7c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 35fff51..ae07e91 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -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;