This commit was manufactured by cvs2svn to create branch
[external/binutils.git] / gas / config / tc-tic4x.h
index 185886a..0d6c72c 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-tic4x.h -- Assemble for the Texas TMS320C[34]X.
-   Copyright (C) 1997, 2002 Free Software Foundation.
+   Copyright (C) 1997, 2002, 2003 Free Software Foundation.
    
    Contributed by Michael P. Hayes (m.hayes@elec.canterbury.ac.nz)
 
@@ -20,7 +20,7 @@
    the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #define TC_TIC4X
-#define C4X
+#define TIC4X
 
 #ifndef BFD_ASSEMBLER
 #error TMS320C4x requires BFD_ASSEMBLER
 #define TC_COFF_SIZEMACHDEP(frag) tc_coff_sizemachdep (frag)
 #define NEED_FX_R_TYPE
 
+#define NOP_OPCODE              0x0c800000
+
 #define reloc_type             int
 
 #define NO_RELOC               0
 
+/* '||' denotes parallel instruction */
+#define DOUBLEBAR_PARALLEL      1
+
 /* Labels are not required to have a colon for a suffix.  */
 #define LABELS_WITHOUT_COLONS  1
 
 /* Accept numbers with a suffix, e.g. 0ffffh, 1010b.  */
 #define NUMBERS_WITH_SUFFIX    1
 
-extern int c4x_unrecognized_line PARAMS ((int));
-#define tc_unrecognized_line(c) c4x_unrecognized_line (c)
+extern int tic4x_unrecognized_line PARAMS ((int));
+#define tc_unrecognized_line(c) tic4x_unrecognized_line (c)
 
 #define md_number_to_chars number_to_chars_littleendian
 
-extern int c4x_do_align PARAMS ((int, const char *, int, int));
-#define md_do_align(n,fill,len,max,l) if (c4x_do_align (n,fill,len,max)) goto l
+extern int tic4x_do_align PARAMS ((int, const char *, int, int));
+#define md_do_align(n,fill,len,max,label) if( tic4x_do_align (n,fill,len,max) ) goto label;
 
 /* Start of line hook to remove parallel instruction operator || */
-extern void c4x_start_line PARAMS ((void));
-#define md_start_line_hook() c4x_start_line()
+extern void tic4x_start_line PARAMS ((void));
+#define md_start_line_hook() tic4x_start_line()
 
-extern void c4x_cleanup PARAMS ((void));
-#define md_cleanup() c4x_cleanup()
+extern void tic4x_cleanup PARAMS ((void));
+#define md_cleanup() tic4x_cleanup()
 
-extern void c4x_end PARAMS ((void));
-#define md_end() c4x_end()
+extern void tic4x_end PARAMS ((void));
+#define md_end() tic4x_end()