* config/tc-dvp.h (tc_frob_label): Define.
* config/tc-dvp.c (dvp_frob_label): New function.
This commit is contained in:
parent
3e9f7612e3
commit
69312dac86
3 changed files with 22 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
|||
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.
|
||||
|
|
|
@ -1058,7 +1058,7 @@ md_undefined_symbol (name)
|
|||
/* 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. */
|
||||
|
@ -1071,6 +1071,17 @@ dvp_parse_done ()
|
|||
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);
|
||||
}
|
||||
|
||||
/* Functions concerning relocs. */
|
||||
|
||||
|
|
|
@ -54,7 +54,11 @@
|
|||
#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"
|
||||
|
|
Loading…
Add table
Reference in a new issue