* 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.
This commit is contained in:
Fred Fish 1997-01-04 01:24:50 +00:00
parent 4c681116af
commit 28eb95aa33
2 changed files with 17 additions and 0 deletions

View 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.

View 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;