diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-01 23:37:35 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-04 21:52:38 -0400 |
commit | 2849d28d96718c6d2c0c9513745a45a02404bc91 (patch) | |
tree | 42de25aa35ccf16716a4e7562a9051c5a35b4b50 /sim/common/sim-module.c | |
parent | 4d47dcfcf1cf8fa34df057b0d5accf7ab91b6b47 (diff) | |
download | binutils-2849d28d96718c6d2c0c9513745a45a02404bc91.zip binutils-2849d28d96718c6d2c0c9513745a45a02404bc91.tar.gz binutils-2849d28d96718c6d2c0c9513745a45a02404bc91.tar.bz2 |
sim: hw: localize init callback
Now that we don't need to hardcode the module init list in a single
place, move the hw init logic out to the sim-hw file.
Diffstat (limited to 'sim/common/sim-module.c')
-rw-r--r-- | sim/common/sim-module.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sim/common/sim-module.c b/sim/common/sim-module.c index 2557697..3bb7db0 100644 --- a/sim/common/sim-module.c +++ b/sim/common/sim-module.c @@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "sim-options.h" #include "sim-assert.h" -#if WITH_HW -#include "sim-hw.h" -#endif - #include "libiberty.h" #include <stdlib.h> @@ -52,9 +48,6 @@ static MODULE_INSTALL_FN * const early_modules[] = { #if WITH_SCACHE scache_install, #endif -#if WITH_HW - sim_hw_install, -#endif }; static int early_modules_len = ARRAY_SIZE (early_modules); |