* config/tc-dvp.c (assemble_vu): Print better error message if

lower insn is missing.
This commit is contained in:
Doug Evans 1998-06-09 19:22:21 +00:00
parent 9d0a6b0089
commit 8b9286ecf1
2 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,10 @@
start-sanitize-sky
Tue Jun 9 12:20:44 1998 Doug Evans <devans@canuck.cygnus.com>
* config/tc-dvp.c (assemble_vu): Print better error message if
lower insn is missing.
end-sanitize-sky
Tue Jun 9 13:52:53 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.am: Rebuild dependencies.

View file

@ -951,7 +951,7 @@ assemble_vu (str)
if (p == NULL)
{
as_bad ("lower slot missing in `%s'", str);
as_bad ("lower instruction missing");
return;
}
@ -971,6 +971,12 @@ assemble_vu (str)
if (opcode == NULL)
return;
if (*str == 0)
{
as_bad ("lower instruction missing");
return;
}
/* Assemble the lower insn.
Pass `fixup_count' for `init_fixup_count' so that we don't clobber
any fixups the upper insn had. */