#define TARGET_ARCH bfd_arch_tic80
#define BFD_ARCH TARGET_ARCH
-#define COFF_MAGIC TIC80MAGIC
+
+#define md_number_to_chars number_to_chars_littleendian
+
+/* We have no special operand handling. */
+#define md_operand(x)
+
+#ifdef OBJ_COFF
+/* COFF specific definitions. */
+
+#define COFF_MAGIC TIC80_ARCH_MAGIC
+
+/* Whether a reloc should be output. */
+#define TC_COUNT_RELOC(fixp) ((fixp) -> fx_addsy != NULL)
+
+/* This macro translates between an internal fix and an coff reloc type */
+#define TC_COFF_FIX2RTYPE(fixP) tc_coff_fix2rtype(fixP)
+extern short tc_coff_fix2rtype ();
+
+#endif /* OBJ_COFF */
/* end of tc-tic80.h */