sim: igen: update options API
authorMike Frysinger <vapier@gentoo.org>
Mon, 8 Mar 2021 03:01:47 +0000 (22:01 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 8 Mar 2021 03:03:00 +0000 (22:03 -0500)
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.

sim/igen/ChangeLog
sim/igen/gen.c
sim/igen/ld-decode.c
sim/igen/ld-insn.c

index 3fb811e248e73ac886db48385dc964ec6a829eee..0eeda65cb4e9a4f9b0cfc1ee58934ba88368614b 100644 (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.
index cf269a238533d47ffe9a95ec3c4d01fb1f23931d..c7d8feb025e68872a62b14a823c90b6e4358627d 100644 (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]);
 
index a802f9b9c722b3aea0117866c53e7c9c0b5d03be..75f24279eb2ff84687cee5996fbcac3b8378246d 100644 (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");
index afb3b58ca432cc713fd788d04395e7805258f4d5..4fdb07e981e7b4ebea2c8cf6b351d97ca4cad249 100644 (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]);