aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/interp.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-02 10:54:42 -0500
committerMike Frysinger <vapier@gentoo.org>2021-05-01 23:10:28 -0400
commitd89a87ba3c100bdbe82c7bd98ad7b8a2435e002f (patch)
tree624938f5f0bcb58fe3527bf9fdbef2f65f856191 /sim/bfin/interp.c
parente4821e2f5fd281eb6b88b642fa9beaf9c3a35070 (diff)
downloadfsf-binutils-gdb-d89a87ba3c100bdbe82c7bd98ad7b8a2435e002f.zip
fsf-binutils-gdb-d89a87ba3c100bdbe82c7bd98ad7b8a2435e002f.tar.gz
fsf-binutils-gdb-d89a87ba3c100bdbe82c7bd98ad7b8a2435e002f.tar.bz2
sim: bfin: move option inits to respective modules
Now that modules can self declare their own init funcs, change the mmu and mach logic to use it. We don't need to export the option symbols or specifically call this logic from the sim_open function anymore.
Diffstat (limited to 'sim/bfin/interp.c')
-rw-r--r--sim/bfin/interp.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sim/bfin/interp.c b/sim/bfin/interp.c
index 49388e7..2aa9279 100644
--- a/sim/bfin/interp.c
+++ b/sim/bfin/interp.c
@@ -735,17 +735,6 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback,
if (STATE_ENVIRONMENT (sd) == ALL_ENVIRONMENT)
STATE_ENVIRONMENT (sd) = VIRTUAL_ENVIRONMENT;
- /* These options override any module options.
- Obviously ambiguity should be avoided, however the caller may wish to
- augment the meaning of an option. */
-#define e_sim_add_option_table(sd, options) \
- do { \
- extern const OPTION options[]; \
- sim_add_option_table (sd, NULL, options); \
- } while (0)
- e_sim_add_option_table (sd, bfin_mmu_options);
- e_sim_add_option_table (sd, bfin_mach_options);
-
/* The parser will print an error message for us, so we silently return. */
if (sim_parse_args (sd, argv) != SIM_RC_OK)
{