sim: igen: update options API

This local macro doesn't take any args, so adjust the API to match.
No one really noticed as this is behind code that is not normally
built, only when a dev specifically tries to compile it.
This commit is contained in:
Mike Frysinger 2021-03-07 22:01:47 -05:00
parent d3dacd0faf
commit 2916e3e18f
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2021-03-07 Mike Frysinger <vapier@gentoo.org>
* gen.c (main): Delete options arg to INIT_OPTIONS.
* ld-decode.c (main): Likewise.
* ld-insn.c (main): Likewise.
2021-03-07 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (check): Define.

View File

@ -1643,7 +1643,7 @@ main (int argc, char **argv)
error (NULL,
"Usage: insn <filter-in> <hi-bit-nr> <insn-bit-size> <widths> <decode-table> <insn-table>\n");
INIT_OPTIONS (options);
INIT_OPTIONS ();
filter_parse (&options.flags_filter, argv[1]);

View File

@ -394,7 +394,7 @@ main (int argc, char **argv)
lf *l;
decode_table *rules;
INIT_OPTIONS (options);
INIT_OPTIONS ();
if (argc != 3)
error (NULL, "Usage: decode <decode-file> <hi-bit-nr>\n");

View File

@ -1803,7 +1803,7 @@ main (int argc, char **argv)
insn_table *isa;
lf *l;
INIT_OPTIONS (options);
INIT_OPTIONS ();
if (argc == 3)
filter_parse (&options.flags_filter, argv[2]);