* config/tc-ip2k.c (md_assemble): Warning fix.
This commit is contained in:
parent
78a0c6fb2d
commit
64384dfd06
2 changed files with 8 additions and 6 deletions
|
@ -1,5 +1,6 @@
|
|||
2002-12-13 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* config/tc-ip2k.c (md_assemble): Warning fix.
|
||||
* config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
|
||||
(fill_insn <ignore>): Likewise.
|
||||
(debug_sym <ignore>): Likewise.
|
||||
|
|
|
@ -180,14 +180,15 @@ md_assemble (str)
|
|||
enum cgen_parse_operand_result result_type;
|
||||
long value;
|
||||
const char *curpc_plus_2 = ".+2";
|
||||
const char *err;
|
||||
|
||||
errmsg = cgen_parse_address (gas_cgen_cpu_desc, & curpc_plus_2,
|
||||
err = cgen_parse_address (gas_cgen_cpu_desc, & curpc_plus_2,
|
||||
IP2K_OPERAND_ADDR16CJP,
|
||||
BFD_RELOC_IP2K_PC_SKIP,
|
||||
& result_type, & value);
|
||||
if (errmsg)
|
||||
if (err)
|
||||
{
|
||||
as_bad ("%s", errmsg);
|
||||
as_bad ("%s", err);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue