* config/tc-dvp.c (dvp_frob_label): New function.
start-sanitize-sky
+Tue Feb 24 11:01:25 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * config/tc-dvp.h (tc_frob_label): Define.
+ * config/tc-dvp.c (dvp_frob_label): New function.
+
Mon Feb 23 15:55:12 1998 Doug Evans <devans@canuck.cygnus.com>
* config/tc-dvp.c (assemble_dma): Do alignment before parsing insn.
/* Called after parsing the file via md_after_pass_hook. */
void
-dvp_parse_done ()
+dvp_after_pass_hook ()
{
#if 0 /* ??? Doesn't work unless we keep track of the nested include file
level. */
s_endunpack (0);
#endif
}
+
+/* Called when a label is defined via tc_frob_label. */
+
+void
+dvp_frob_label (sym)
+ symbolS *sym;
+{
+ if (CUR_ASM_STATE == ASM_MPG
+ || CUR_ASM_STATE == ASM_VU)
+ S_SET_OTHER (sym, STO_DVP_VU);
+}
\f
/* Functions concerning relocs. */
#define TC_HANDLES_FX_DONE
/* Called after parsing a file. */
-#define md_after_pass_hook() dvp_parse_done ()
+extern void dvp_parse_done PARAMS ((void));
+#define md_after_pass_hook() dvp_after_pass_hook ()
+
+extern void dvp_frob_label PARAMS ((struct symbol *));
+#define tc_frob_label(sym) dvp_frob_label (sym)
/* Default section names. */
#define TEXT_SECTION_NAME ".vutext"