Add binutils support for v850e1 processor
[deliverable/binutils-gdb.git] / gas / config / tc-tic80.h
index 4a3a4333145f3dd4d96741f2d46d431a39d8c0d6..749cf4276311c1466c702956f35f4f65518fc580 100644 (file)
@@ -1,6 +1,5 @@
 /* This file is tc-tic80.h
-
-   Copyright (C) 1996, Free Software Foundation, Inc.
+   Copyright 1996, 1997, 2000 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with GAS; see the file COPYING.  If not, write to
-   the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   along with GAS; see the file COPYING.  If not, write to the Free
+   Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+   02111-1307, USA.  */
 
 #define TC_TIC80
 
+#define TARGET_BYTES_BIG_ENDIAN 0
+
 #define TARGET_ARCH    bfd_arch_tic80
+#define TARGET_FORMAT  "coff-tic80"
 #define BFD_ARCH       TARGET_ARCH
-#define COFF_MAGIC     TIC80MAGIC
 
-/* end of tc-tic80.h */
+/* We need the extra field in the fixup struct to put the relocation in.  */
+
+#define NEED_FX_R_TYPE
+
+/* Define md_number_to_chars as the appropriate standard big endian or
+   little endian function.  Should we someday support endianness as a
+   runtime decision, this will need to change.  */
+
+#define md_number_to_chars number_to_chars_littleendian
+
+/* Define away the call to md_operand in the expression parsing code.
+   This is called whenever the expression parser can't parse the input
+   and gives the assembler backend a chance to deal with it instead.  */
+
+#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 a coff reloc type. */
+
+#define TC_COFF_FIX2RTYPE(fixP) tc_coff_fix2rtype(fixP)
+
+extern short tc_coff_fix2rtype PARAMS ((struct fix *));
+
+#endif /* OBJ_COFF */
This page took 0.067994 seconds and 4 git commands to generate.