aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
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 /bfd/coffcode.h
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.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h6
1 files changed, 6 insertions, 0 deletions
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;