mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-19 14:34:07 +08:00
Fix z80-coff build breakage
* config/tc-z80.c (parse_exp_not_indexed, parse_exp): Warning fixes.
This commit is contained in:
parent
6d19a37a8f
commit
abd58633c1
@ -1,3 +1,7 @@
|
||||
2014-11-12 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* config/tc-z80.c (parse_exp_not_indexed, parse_exp): Warning fixes.
|
||||
|
||||
2014-11-12 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR ld/17482
|
||||
|
@ -557,6 +557,8 @@ parse_exp_not_indexed (const char *s, expressionS *op)
|
||||
case O_illegal:
|
||||
error (_("bad expression syntax"));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return input_line_pointer;
|
||||
}
|
||||
@ -604,6 +606,8 @@ parse_exp (const char *s, expressionS *op)
|
||||
op->X_op = O_md1;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user