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