removed some lint complaints
This commit is contained in:
parent
bd975e3041
commit
3be40e8f15
4 changed files with 8 additions and 7 deletions
|
@ -34,11 +34,11 @@ extern valu_t bd_rel1,bd_rel2,od_rel1,od_rel2;
|
||||||
|
|
||||||
#ifdef RELOCATION
|
#ifdef RELOCATION
|
||||||
#ifdef ASLD
|
#ifdef ASLD
|
||||||
#define T_EMIT2(a,b,c,d) t_emit2(a,b,c,0)
|
#define T_EMIT2(a,b,c,d) t_emit2(a,b,c,(valu_t)0)
|
||||||
#define T_EMIT4(a,b,c,d) t_emit4(a,b,c,0)
|
#define T_EMIT4(a,b,c,d) t_emit4(a,b,c,(valu_t)0)
|
||||||
#else ALSD
|
#else ALSD
|
||||||
#define T_EMIT2(a,b,c,d) t_emit2(a,b,c,d)
|
#define T_EMIT2(a,b,c,d) t_emit2(a,b,c,(valu_t)d)
|
||||||
#define T_EMIT4(a,b,c,d) t_emit4(a,b,c,d)
|
#define T_EMIT4(a,b,c,d) t_emit4(a,b,c,(valu_t)d)
|
||||||
#endif ASLD
|
#endif ASLD
|
||||||
#else
|
#else
|
||||||
#define T_EMIT2(a,b,c,d) t_emit2(a)
|
#define T_EMIT2(a,b,c,d) t_emit2(a)
|
||||||
|
|
|
@ -170,7 +170,7 @@ instruction
|
||||||
ea_2(SIZE_W, 0);
|
ea_2(SIZE_W, 0);
|
||||||
}
|
}
|
||||||
| LINK sizenon AREG ',' imm
|
| LINK sizenon AREG ',' imm
|
||||||
{ link($2, $3);}
|
{ link_instr($2, $3);}
|
||||||
| UNLK AREG
|
| UNLK AREG
|
||||||
{ T_EMIT2(047130 | $2,0,0,0);}
|
{ T_EMIT2(047130 | $2,0,0,0);}
|
||||||
| TRAP '#' absexp
|
| TRAP '#' absexp
|
||||||
|
@ -188,7 +188,7 @@ instruction
|
||||||
| CALLM '#' absexp ',' ea
|
| CALLM '#' absexp ',' ea
|
||||||
{ fit(fitb($3));
|
{ fit(fitb($3));
|
||||||
T_EMIT2(03300 | mrg_2,0,0,0);
|
T_EMIT2(03300 | mrg_2,0,0,0);
|
||||||
T_EMIT2($3,0,0,0);
|
T_EMIT2((short) $3,0,0,0);
|
||||||
ea_2(SIZE_L, CTR);
|
ea_2(SIZE_L, CTR);
|
||||||
}
|
}
|
||||||
| RTM reg
|
| RTM reg
|
||||||
|
|
|
@ -386,7 +386,7 @@ cmp(sz)
|
||||||
badoperand();
|
badoperand();
|
||||||
}
|
}
|
||||||
|
|
||||||
link(sz, areg)
|
link_instr(sz, areg)
|
||||||
{
|
{
|
||||||
if (sz == SIZE_NON) {
|
if (sz == SIZE_NON) {
|
||||||
if (bd_2.typ == S_ABS && fitw(bd_2.val))
|
if (bd_2.typ == S_ABS && fitw(bd_2.val))
|
||||||
|
|
|
@ -356,6 +356,7 @@ char *path, *tail;
|
||||||
|
|
||||||
/* ---------- Error handling ---------- */
|
/* ---------- Error handling ---------- */
|
||||||
|
|
||||||
|
/*VARARGS*/
|
||||||
yyerror(){} /* we will do our own error printing */
|
yyerror(){} /* we will do our own error printing */
|
||||||
|
|
||||||
nosect()
|
nosect()
|
||||||
|
|
Loading…
Reference in a new issue