From 2916e3e18fe7fb15f3153e71404987ea721da84f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 7 Mar 2021 22:01:47 -0500 Subject: 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. --- sim/igen/ChangeLog | 6 ++++++ sim/igen/gen.c | 2 +- sim/igen/ld-decode.c | 2 +- sim/igen/ld-insn.c | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) (limited to 'sim') diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog index 3fb811e..0eeda65 100644 --- a/sim/igen/ChangeLog +++ b/sim/igen/ChangeLog @@ -1,5 +1,11 @@ 2021-03-07 Mike Frysinger + * gen.c (main): Delete options arg to INIT_OPTIONS. + * ld-decode.c (main): Likewise. + * ld-insn.c (main): Likewise. + +2021-03-07 Mike Frysinger + * Makefile.in (check): Define. 2021-02-28 Mike Frysinger diff --git a/sim/igen/gen.c b/sim/igen/gen.c index cf269a2..c7d8feb 100644 --- a/sim/igen/gen.c +++ b/sim/igen/gen.c @@ -1643,7 +1643,7 @@ main (int argc, char **argv) error (NULL, "Usage: insn \n"); - INIT_OPTIONS (options); + INIT_OPTIONS (); filter_parse (&options.flags_filter, argv[1]); diff --git a/sim/igen/ld-decode.c b/sim/igen/ld-decode.c index a802f9b..75f2427 100644 --- a/sim/igen/ld-decode.c +++ b/sim/igen/ld-decode.c @@ -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 \n"); diff --git a/sim/igen/ld-insn.c b/sim/igen/ld-insn.c index afb3b58..4fdb07e 100644 --- a/sim/igen/ld-insn.c +++ b/sim/igen/ld-insn.c @@ -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]); -- cgit v1.1