forked from Imagelibrary/binutils-gdb
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:
@@ -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.
|
||||
|
||||
@@ -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]);
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user