diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-03-07 22:01:47 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-03-07 22:03:00 -0500 |
commit | 2916e3e18fe7fb15f3153e71404987ea721da84f (patch) | |
tree | f80aa208c8df53dc162a70236532f8b90b871b5c /sim | |
parent | d3dacd0fafba473fd42fdf3ca86fd3203db28ae8 (diff) | |
download | fsf-binutils-gdb-2916e3e18fe7fb15f3153e71404987ea721da84f.zip fsf-binutils-gdb-2916e3e18fe7fb15f3153e71404987ea721da84f.tar.gz fsf-binutils-gdb-2916e3e18fe7fb15f3153e71404987ea721da84f.tar.bz2 |
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.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/igen/ChangeLog | 6 | ||||
-rw-r--r-- | sim/igen/gen.c | 2 | ||||
-rw-r--r-- | sim/igen/ld-decode.c | 2 | ||||
-rw-r--r-- | sim/igen/ld-insn.c | 2 |
4 files changed, 9 insertions, 3 deletions
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 <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. 2021-02-28 Mike Frysinger <vapier@gentoo.org> 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 <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]); 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 <decode-file> <hi-bit-nr>\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]); |