diff options
-rw-r--r-- | sim/Makefile.in | 280 | ||||
-rw-r--r-- | sim/aarch64/Makefile.in | 9 | ||||
-rw-r--r-- | sim/aarch64/local.mk | 21 | ||||
-rw-r--r-- | sim/common/Make-common.in | 3 |
4 files changed, 184 insertions, 129 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in index d04260f..ab7a8ef 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -141,105 +141,106 @@ TESTS = testsuite/common/bits32m0$(EXEEXT) \ testsuite/common/bits64m0$(EXEEXT) \ testsuite/common/bits64m63$(EXEEXT) \ testsuite/common/alu-tst$(EXEEXT) -@SIM_ENABLE_ARCH_aarch64_TRUE@am__append_8 = aarch64/run -@SIM_ENABLE_ARCH_arm_TRUE@am__append_9 = arm/run -@SIM_ENABLE_ARCH_avr_TRUE@am__append_10 = avr/run -@SIM_ENABLE_ARCH_bfin_TRUE@am__append_11 = bfin/run -@SIM_ENABLE_ARCH_bfin_TRUE@am__append_12 = bfin_SIM_EXTRA_HW_DEVICES="$(bfin_SIM_EXTRA_HW_DEVICES)" -@SIM_ENABLE_ARCH_bpf_TRUE@am__append_13 = bpf/run -@SIM_ENABLE_ARCH_bpf_TRUE@am__append_14 = \ +@SIM_ENABLE_ARCH_aarch64_TRUE@am__append_8 = aarch64/libsim.a +@SIM_ENABLE_ARCH_aarch64_TRUE@am__append_9 = aarch64/run +@SIM_ENABLE_ARCH_arm_TRUE@am__append_10 = arm/run +@SIM_ENABLE_ARCH_avr_TRUE@am__append_11 = avr/run +@SIM_ENABLE_ARCH_bfin_TRUE@am__append_12 = bfin/run +@SIM_ENABLE_ARCH_bfin_TRUE@am__append_13 = bfin_SIM_EXTRA_HW_DEVICES="$(bfin_SIM_EXTRA_HW_DEVICES)" +@SIM_ENABLE_ARCH_bpf_TRUE@am__append_14 = bpf/run +@SIM_ENABLE_ARCH_bpf_TRUE@am__append_15 = \ @SIM_ENABLE_ARCH_bpf_TRUE@ bpf/eng-le.h \ @SIM_ENABLE_ARCH_bpf_TRUE@ bpf/eng-be.h -@SIM_ENABLE_ARCH_bpf_TRUE@am__append_15 = $(bpf_BUILD_OUTPUTS) @SIM_ENABLE_ARCH_bpf_TRUE@am__append_16 = $(bpf_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_cr16_TRUE@am__append_17 = cr16/run -@SIM_ENABLE_ARCH_cr16_TRUE@am__append_18 = cr16/simops.h -@SIM_ENABLE_ARCH_cr16_TRUE@am__append_19 = $(cr16_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_cr16_TRUE@am__append_20 = cr16/gencode -@SIM_ENABLE_ARCH_cr16_TRUE@am__append_21 = $(cr16_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_cris_TRUE@am__append_22 = cris/run -@SIM_ENABLE_ARCH_cris_TRUE@am__append_23 = cris_SIM_EXTRA_HW_DEVICES="$(cris_SIM_EXTRA_HW_DEVICES)" -@SIM_ENABLE_ARCH_cris_TRUE@am__append_24 = cris/rvdummy -@SIM_ENABLE_ARCH_cris_TRUE@am__append_25 = \ +@SIM_ENABLE_ARCH_bpf_TRUE@am__append_17 = $(bpf_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_cr16_TRUE@am__append_18 = cr16/run +@SIM_ENABLE_ARCH_cr16_TRUE@am__append_19 = cr16/simops.h +@SIM_ENABLE_ARCH_cr16_TRUE@am__append_20 = $(cr16_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_cr16_TRUE@am__append_21 = cr16/gencode +@SIM_ENABLE_ARCH_cr16_TRUE@am__append_22 = $(cr16_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_cris_TRUE@am__append_23 = cris/run +@SIM_ENABLE_ARCH_cris_TRUE@am__append_24 = cris_SIM_EXTRA_HW_DEVICES="$(cris_SIM_EXTRA_HW_DEVICES)" +@SIM_ENABLE_ARCH_cris_TRUE@am__append_25 = cris/rvdummy +@SIM_ENABLE_ARCH_cris_TRUE@am__append_26 = \ @SIM_ENABLE_ARCH_cris_TRUE@ cris/engv10.h \ @SIM_ENABLE_ARCH_cris_TRUE@ cris/engv32.h -@SIM_ENABLE_ARCH_cris_TRUE@am__append_26 = $(cris_BUILD_OUTPUTS) @SIM_ENABLE_ARCH_cris_TRUE@am__append_27 = $(cris_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_d10v_TRUE@am__append_28 = d10v/run -@SIM_ENABLE_ARCH_d10v_TRUE@am__append_29 = d10v/simops.h -@SIM_ENABLE_ARCH_d10v_TRUE@am__append_30 = $(d10v_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_d10v_TRUE@am__append_31 = d10v/gencode -@SIM_ENABLE_ARCH_d10v_TRUE@am__append_32 = $(d10v_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_erc32_TRUE@am__append_33 = erc32/run erc32/sis -@SIM_ENABLE_ARCH_erc32_TRUE@am__append_34 = sim-%D-install-exec-local -@SIM_ENABLE_ARCH_erc32_TRUE@am__append_35 = sim-erc32-uninstall-local -@SIM_ENABLE_ARCH_examples_TRUE@am__append_36 = example-synacor/run -@SIM_ENABLE_ARCH_frv_TRUE@am__append_37 = frv/run -@SIM_ENABLE_ARCH_frv_TRUE@am__append_38 = frv/eng.h -@SIM_ENABLE_ARCH_frv_TRUE@am__append_39 = $(frv_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_cris_TRUE@am__append_28 = $(cris_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_d10v_TRUE@am__append_29 = d10v/run +@SIM_ENABLE_ARCH_d10v_TRUE@am__append_30 = d10v/simops.h +@SIM_ENABLE_ARCH_d10v_TRUE@am__append_31 = $(d10v_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_d10v_TRUE@am__append_32 = d10v/gencode +@SIM_ENABLE_ARCH_d10v_TRUE@am__append_33 = $(d10v_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_erc32_TRUE@am__append_34 = erc32/run erc32/sis +@SIM_ENABLE_ARCH_erc32_TRUE@am__append_35 = sim-%D-install-exec-local +@SIM_ENABLE_ARCH_erc32_TRUE@am__append_36 = sim-erc32-uninstall-local +@SIM_ENABLE_ARCH_examples_TRUE@am__append_37 = example-synacor/run +@SIM_ENABLE_ARCH_frv_TRUE@am__append_38 = frv/run +@SIM_ENABLE_ARCH_frv_TRUE@am__append_39 = frv/eng.h @SIM_ENABLE_ARCH_frv_TRUE@am__append_40 = $(frv_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_ft32_TRUE@am__append_41 = ft32/run -@SIM_ENABLE_ARCH_h8300_TRUE@am__append_42 = h8300/run -@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_43 = iq2000/run -@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_44 = iq2000/eng.h -@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_45 = $(iq2000_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_frv_TRUE@am__append_41 = $(frv_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_ft32_TRUE@am__append_42 = ft32/run +@SIM_ENABLE_ARCH_h8300_TRUE@am__append_43 = h8300/run +@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_44 = iq2000/run +@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_45 = iq2000/eng.h @SIM_ENABLE_ARCH_iq2000_TRUE@am__append_46 = $(iq2000_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_lm32_TRUE@am__append_47 = lm32/run -@SIM_ENABLE_ARCH_lm32_TRUE@am__append_48 = lm32_SIM_EXTRA_HW_DEVICES="$(lm32_SIM_EXTRA_HW_DEVICES)" -@SIM_ENABLE_ARCH_lm32_TRUE@am__append_49 = lm32/eng.h -@SIM_ENABLE_ARCH_lm32_TRUE@am__append_50 = $(lm32_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_47 = $(iq2000_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_lm32_TRUE@am__append_48 = lm32/run +@SIM_ENABLE_ARCH_lm32_TRUE@am__append_49 = lm32_SIM_EXTRA_HW_DEVICES="$(lm32_SIM_EXTRA_HW_DEVICES)" +@SIM_ENABLE_ARCH_lm32_TRUE@am__append_50 = lm32/eng.h @SIM_ENABLE_ARCH_lm32_TRUE@am__append_51 = $(lm32_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_m32c_TRUE@am__append_52 = m32c/run -@SIM_ENABLE_ARCH_m32c_TRUE@am__append_53 = $(m32c_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_m32c_TRUE@am__append_54 = m32c/opc2c -@SIM_ENABLE_ARCH_m32c_TRUE@am__append_55 = \ +@SIM_ENABLE_ARCH_lm32_TRUE@am__append_52 = $(lm32_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_m32c_TRUE@am__append_53 = m32c/run +@SIM_ENABLE_ARCH_m32c_TRUE@am__append_54 = $(m32c_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_m32c_TRUE@am__append_55 = m32c/opc2c +@SIM_ENABLE_ARCH_m32c_TRUE@am__append_56 = \ @SIM_ENABLE_ARCH_m32c_TRUE@ $(m32c_BUILD_OUTPUTS) \ @SIM_ENABLE_ARCH_m32c_TRUE@ m32c/m32c.c.log \ @SIM_ENABLE_ARCH_m32c_TRUE@ m32c/r8c.c.log -@SIM_ENABLE_ARCH_m32r_TRUE@am__append_56 = m32r/run -@SIM_ENABLE_ARCH_m32r_TRUE@am__append_57 = m32r_SIM_EXTRA_HW_DEVICES="$(m32r_SIM_EXTRA_HW_DEVICES)" -@SIM_ENABLE_ARCH_m32r_TRUE@am__append_58 = \ +@SIM_ENABLE_ARCH_m32r_TRUE@am__append_57 = m32r/run +@SIM_ENABLE_ARCH_m32r_TRUE@am__append_58 = m32r_SIM_EXTRA_HW_DEVICES="$(m32r_SIM_EXTRA_HW_DEVICES)" +@SIM_ENABLE_ARCH_m32r_TRUE@am__append_59 = \ @SIM_ENABLE_ARCH_m32r_TRUE@ m32r/eng.h \ @SIM_ENABLE_ARCH_m32r_TRUE@ m32r/engx.h \ @SIM_ENABLE_ARCH_m32r_TRUE@ m32r/eng2.h -@SIM_ENABLE_ARCH_m32r_TRUE@am__append_59 = $(m32r_BUILD_OUTPUTS) @SIM_ENABLE_ARCH_m32r_TRUE@am__append_60 = $(m32r_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_61 = m68hc11/run -@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_62 = m68hc11_SIM_EXTRA_HW_DEVICES="$(m68hc11_SIM_EXTRA_HW_DEVICES)" -@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_63 = $(m68hc11_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_64 = m68hc11/gencode -@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_65 = $(m68hc11_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_mcore_TRUE@am__append_66 = mcore/run -@SIM_ENABLE_ARCH_microblaze_TRUE@am__append_67 = microblaze/run -@SIM_ENABLE_ARCH_mips_TRUE@am__append_68 = mips/run -@SIM_ENABLE_ARCH_mips_TRUE@am__append_69 = mips_SIM_EXTRA_HW_DEVICES="$(mips_SIM_EXTRA_HW_DEVICES)" -@SIM_ENABLE_ARCH_mips_TRUE@am__append_70 = mips/itable.h \ +@SIM_ENABLE_ARCH_m32r_TRUE@am__append_61 = $(m32r_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_62 = m68hc11/run +@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_63 = m68hc11_SIM_EXTRA_HW_DEVICES="$(m68hc11_SIM_EXTRA_HW_DEVICES)" +@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_64 = $(m68hc11_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_65 = m68hc11/gencode +@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_66 = $(m68hc11_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_mcore_TRUE@am__append_67 = mcore/run +@SIM_ENABLE_ARCH_microblaze_TRUE@am__append_68 = microblaze/run +@SIM_ENABLE_ARCH_mips_TRUE@am__append_69 = mips/run +@SIM_ENABLE_ARCH_mips_TRUE@am__append_70 = mips_SIM_EXTRA_HW_DEVICES="$(mips_SIM_EXTRA_HW_DEVICES)" +@SIM_ENABLE_ARCH_mips_TRUE@am__append_71 = mips/itable.h \ @SIM_ENABLE_ARCH_mips_TRUE@ $(SIM_MIPS_MULTI_SRC) -@SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_SINGLE_TRUE@am__append_71 = \ +@SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_SINGLE_TRUE@am__append_72 = \ @SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_SINGLE_TRUE@ $(mips_BUILT_SRC_FROM_GEN_MODE_SINGLE) \ @SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_SINGLE_TRUE@ mips/stamp-gen-mode-single -@SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_M16_TRUE@am__append_72 = \ +@SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_M16_TRUE@am__append_73 = \ @SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_M16_TRUE@ $(mips_BUILT_SRC_FROM_GEN_MODE_M16_M16) \ @SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_M16_TRUE@ $(mips_BUILT_SRC_FROM_GEN_MODE_M16_M32) \ @SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_M16_TRUE@ mips/stamp-gen-mode-m16-m16 \ @SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_M16_TRUE@ mips/stamp-gen-mode-m16-m32 -@SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_MULTI_TRUE@am__append_73 = \ +@SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_MULTI_TRUE@am__append_74 = \ @SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_MULTI_TRUE@ $(SIM_MIPS_MULTI_SRC) \ @SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_MULTI_TRUE@ mips/stamp-gen-mode-multi-igen \ @SIM_ENABLE_ARCH_mips_TRUE@@SIM_MIPS_GEN_MODE_MULTI_TRUE@ mips/stamp-gen-mode-multi-run -@SIM_ENABLE_ARCH_mips_TRUE@am__append_74 = $(mips_BUILD_OUTPUTS) @SIM_ENABLE_ARCH_mips_TRUE@am__append_75 = $(mips_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_mips_TRUE@am__append_76 = mips/multi-include.h mips/multi-run.c -@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_77 = mn10300/run -@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_78 = mn10300_SIM_EXTRA_HW_DEVICES="$(mn10300_SIM_EXTRA_HW_DEVICES)" -@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_79 = \ +@SIM_ENABLE_ARCH_mips_TRUE@am__append_76 = $(mips_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_mips_TRUE@am__append_77 = mips/multi-include.h mips/multi-run.c +@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_78 = mn10300/run +@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_79 = mn10300_SIM_EXTRA_HW_DEVICES="$(mn10300_SIM_EXTRA_HW_DEVICES)" +@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_80 = \ @SIM_ENABLE_ARCH_mn10300_TRUE@ mn10300/icache.h \ @SIM_ENABLE_ARCH_mn10300_TRUE@ mn10300/idecode.h \ @SIM_ENABLE_ARCH_mn10300_TRUE@ mn10300/semantics.h \ @@ -248,29 +249,29 @@ TESTS = testsuite/common/bits32m0$(EXEEXT) \ @SIM_ENABLE_ARCH_mn10300_TRUE@ mn10300/itable.h \ @SIM_ENABLE_ARCH_mn10300_TRUE@ mn10300/engine.h -@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_80 = $(mn10300_BUILD_OUTPUTS) @SIM_ENABLE_ARCH_mn10300_TRUE@am__append_81 = $(mn10300_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_moxie_TRUE@am__append_82 = moxie/run -@SIM_ENABLE_ARCH_msp430_TRUE@am__append_83 = msp430/run -@SIM_ENABLE_ARCH_or1k_TRUE@am__append_84 = or1k/run -@SIM_ENABLE_ARCH_or1k_TRUE@am__append_85 = or1k/eng.h -@SIM_ENABLE_ARCH_or1k_TRUE@am__append_86 = $(or1k_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_82 = $(mn10300_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_moxie_TRUE@am__append_83 = moxie/run +@SIM_ENABLE_ARCH_msp430_TRUE@am__append_84 = msp430/run +@SIM_ENABLE_ARCH_or1k_TRUE@am__append_85 = or1k/run +@SIM_ENABLE_ARCH_or1k_TRUE@am__append_86 = or1k/eng.h @SIM_ENABLE_ARCH_or1k_TRUE@am__append_87 = $(or1k_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_ppc_TRUE@am__append_88 = ppc/run ppc/psim -@SIM_ENABLE_ARCH_pru_TRUE@am__append_89 = pru/run -@SIM_ENABLE_ARCH_riscv_TRUE@am__append_90 = riscv/run -@SIM_ENABLE_ARCH_rl78_TRUE@am__append_91 = rl78/run -@SIM_ENABLE_ARCH_rx_TRUE@am__append_92 = rx/run -@SIM_ENABLE_ARCH_sh_TRUE@am__append_93 = sh/run -@SIM_ENABLE_ARCH_sh_TRUE@am__append_94 = \ +@SIM_ENABLE_ARCH_or1k_TRUE@am__append_88 = $(or1k_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_ppc_TRUE@am__append_89 = ppc/run ppc/psim +@SIM_ENABLE_ARCH_pru_TRUE@am__append_90 = pru/run +@SIM_ENABLE_ARCH_riscv_TRUE@am__append_91 = riscv/run +@SIM_ENABLE_ARCH_rl78_TRUE@am__append_92 = rl78/run +@SIM_ENABLE_ARCH_rx_TRUE@am__append_93 = rx/run +@SIM_ENABLE_ARCH_sh_TRUE@am__append_94 = sh/run +@SIM_ENABLE_ARCH_sh_TRUE@am__append_95 = \ @SIM_ENABLE_ARCH_sh_TRUE@ sh/code.c \ @SIM_ENABLE_ARCH_sh_TRUE@ sh/ppi.c -@SIM_ENABLE_ARCH_sh_TRUE@am__append_95 = $(sh_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_sh_TRUE@am__append_96 = sh/gencode -@SIM_ENABLE_ARCH_sh_TRUE@am__append_97 = $(sh_BUILD_OUTPUTS) -@SIM_ENABLE_ARCH_v850_TRUE@am__append_98 = v850/run -@SIM_ENABLE_ARCH_v850_TRUE@am__append_99 = \ +@SIM_ENABLE_ARCH_sh_TRUE@am__append_96 = $(sh_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_sh_TRUE@am__append_97 = sh/gencode +@SIM_ENABLE_ARCH_sh_TRUE@am__append_98 = $(sh_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_v850_TRUE@am__append_99 = v850/run +@SIM_ENABLE_ARCH_v850_TRUE@am__append_100 = \ @SIM_ENABLE_ARCH_v850_TRUE@ v850/icache.h \ @SIM_ENABLE_ARCH_v850_TRUE@ v850/idecode.h \ @SIM_ENABLE_ARCH_v850_TRUE@ v850/semantics.h \ @@ -279,8 +280,8 @@ TESTS = testsuite/common/bits32m0$(EXEEXT) \ @SIM_ENABLE_ARCH_v850_TRUE@ v850/itable.h \ @SIM_ENABLE_ARCH_v850_TRUE@ v850/engine.h -@SIM_ENABLE_ARCH_v850_TRUE@am__append_100 = $(v850_BUILD_OUTPUTS) @SIM_ENABLE_ARCH_v850_TRUE@am__append_101 = $(v850_BUILD_OUTPUTS) +@SIM_ENABLE_ARCH_v850_TRUE@am__append_102 = $(v850_BUILD_OUTPUTS) subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \ @@ -346,9 +347,23 @@ AM_V_AR = $(am__v_AR_@AM_V@) am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) am__v_AR_0 = @echo " AR " $@; am__v_AR_1 = +aarch64_libsim_a_AR = $(AR) $(ARFLAGS) +@SIM_ENABLE_ARCH_aarch64_TRUE@aarch64_libsim_a_DEPENDENCIES = \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ $(patsubst \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ %,aarch64/%,$(SIM_NEW_COMMON_OBJS)) \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ $(patsubst \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ %,aarch64/dv-%.o,$(SIM_HW_DEVICES)) \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/cpustate.o \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/interp.o \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/memory.o \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/modules.o \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/sim-resume.o \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/simulator.o +am_aarch64_libsim_a_OBJECTS = +aarch64_libsim_a_OBJECTS = $(am_aarch64_libsim_a_OBJECTS) +am__dirstamp = $(am__leading_dot)dirstamp common_libcommon_a_AR = $(AR) $(ARFLAGS) common_libcommon_a_LIBADD = -am__dirstamp = $(am__leading_dot)dirstamp am_common_libcommon_a_OBJECTS = common/callback.$(OBJEXT) \ common/portability.$(OBJEXT) common/sim-load.$(OBJEXT) \ common/syscall.$(OBJEXT) common/target-newlib-errno.$(OBJEXT) \ @@ -699,12 +714,13 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(common_libcommon_a_SOURCES) $(igen_libigen_a_SOURCES) \ - $(aarch64_run_SOURCES) $(arm_run_SOURCES) $(avr_run_SOURCES) \ - $(bfin_run_SOURCES) $(bpf_run_SOURCES) $(cr16_gencode_SOURCES) \ - $(cr16_run_SOURCES) $(cris_run_SOURCES) \ - $(cris_rvdummy_SOURCES) $(d10v_gencode_SOURCES) \ - $(d10v_run_SOURCES) $(erc32_run_SOURCES) erc32/sis.c \ +SOURCES = $(aarch64_libsim_a_SOURCES) $(common_libcommon_a_SOURCES) \ + $(igen_libigen_a_SOURCES) $(aarch64_run_SOURCES) \ + $(arm_run_SOURCES) $(avr_run_SOURCES) $(bfin_run_SOURCES) \ + $(bpf_run_SOURCES) $(cr16_gencode_SOURCES) $(cr16_run_SOURCES) \ + $(cris_run_SOURCES) $(cris_rvdummy_SOURCES) \ + $(d10v_gencode_SOURCES) $(d10v_run_SOURCES) \ + $(erc32_run_SOURCES) erc32/sis.c \ $(example_synacor_run_SOURCES) $(frv_run_SOURCES) \ $(ft32_run_SOURCES) $(h8300_run_SOURCES) \ $(igen_filter_SOURCES) $(igen_gen_SOURCES) \ @@ -1255,31 +1271,31 @@ srccom = $(srcdir)/common srcroot = $(srcdir)/.. SUBDIRS = @subdirs@ $(SIM_SUBDIRS) AM_MAKEFLAGS = SIM_NEW_COMMON_OBJS_="$(SIM_NEW_COMMON_OBJS)" \ - $(am__append_3) $(am__append_12) $(am__append_23) \ - $(am__append_48) $(am__append_57) $(am__append_62) \ - $(am__append_69) $(am__append_78) + $(am__append_3) $(am__append_13) $(am__append_24) \ + $(am__append_49) $(am__append_58) $(am__append_63) \ + $(am__append_70) $(am__append_79) pkginclude_HEADERS = $(am__append_1) -noinst_LIBRARIES = common/libcommon.a $(am__append_5) -BUILT_SOURCES = $(am__append_14) $(am__append_18) $(am__append_25) \ - $(am__append_29) $(am__append_38) $(am__append_44) \ - $(am__append_49) $(am__append_58) $(am__append_70) \ - $(am__append_79) $(am__append_85) $(am__append_94) \ - $(am__append_99) +noinst_LIBRARIES = common/libcommon.a $(am__append_5) $(am__append_8) +BUILT_SOURCES = $(am__append_15) $(am__append_19) $(am__append_26) \ + $(am__append_30) $(am__append_39) $(am__append_45) \ + $(am__append_50) $(am__append_59) $(am__append_71) \ + $(am__append_80) $(am__append_86) $(am__append_95) \ + $(am__append_100) CLEANFILES = common/version.c common/version.c-stamp \ testsuite/common/bits-gen testsuite/common/bits32m0.c \ testsuite/common/bits32m31.c testsuite/common/bits64m0.c \ testsuite/common/bits64m63.c -DISTCLEANFILES = $(am__append_76) +DISTCLEANFILES = $(am__append_77) MOSTLYCLEANFILES = core $(common_HW_CONFIG_H_TARGETS) $(patsubst \ %,%/stamp-hw,$(SIM_ENABLED_ARCHES)) \ $(common_GEN_MODULES_C_TARGETS) $(patsubst \ %,%/stamp-modules,$(SIM_ENABLED_ARCHES)) $(am__append_7) \ - site-sim-config.exp testrun.log testrun.sum $(am__append_16) \ - $(am__append_21) $(am__append_27) $(am__append_32) \ - $(am__append_40) $(am__append_46) $(am__append_51) \ - $(am__append_55) $(am__append_60) $(am__append_65) \ - $(am__append_75) $(am__append_81) $(am__append_87) \ - $(am__append_97) $(am__append_101) + site-sim-config.exp testrun.log testrun.sum $(am__append_17) \ + $(am__append_22) $(am__append_28) $(am__append_33) \ + $(am__append_41) $(am__append_47) $(am__append_52) \ + $(am__append_56) $(am__append_61) $(am__append_66) \ + $(am__append_76) $(am__append_82) $(am__append_88) \ + $(am__append_98) $(am__append_102) AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = $(INCGNU) -I$(srcroot)/include -I../bfd -I.. \ $(SIM_HW_CFLAGS) $(SIM_INLINE) -I$(srcdir)/common \ @@ -1290,15 +1306,15 @@ COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUIL LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ SIM_ALL_RECURSIVE_DEPS = common/libcommon.a \ $(common_HW_CONFIG_H_TARGETS) $(common_GEN_MODULES_C_TARGETS) \ - $(am__append_4) $(am__append_15) $(am__append_19) \ - $(am__append_26) $(am__append_30) $(am__append_39) \ - $(am__append_45) $(am__append_50) $(am__append_53) \ - $(am__append_59) $(am__append_63) $(am__append_74) \ - $(am__append_80) $(am__append_86) $(am__append_95) \ - $(am__append_100) + $(am__append_4) $(am__append_16) $(am__append_20) \ + $(am__append_27) $(am__append_31) $(am__append_40) \ + $(am__append_46) $(am__append_51) $(am__append_54) \ + $(am__append_60) $(am__append_64) $(am__append_75) \ + $(am__append_81) $(am__append_87) $(am__append_96) \ + $(am__append_101) SIM_INSTALL_DATA_LOCAL_DEPS = -SIM_INSTALL_EXEC_LOCAL_DEPS = $(am__append_34) -SIM_UNINSTALL_LOCAL_DEPS = $(am__append_35) +SIM_INSTALL_EXEC_LOCAL_DEPS = $(am__append_35) +SIM_UNINSTALL_LOCAL_DEPS = $(am__append_36) common_libcommon_a_SOURCES = \ common/callback.c \ common/portability.c \ @@ -1465,6 +1481,18 @@ testsuite_common_CPPFLAGS = \ -I$(srcroot)/include \ -I../bfd +@SIM_ENABLE_ARCH_aarch64_TRUE@aarch64_libsim_a_SOURCES = +@SIM_ENABLE_ARCH_aarch64_TRUE@aarch64_libsim_a_LIBADD = \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ $(common_libcommon_a_OBJECTS) \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ $(patsubst %,aarch64/%,$(SIM_NEW_COMMON_OBJS)) \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ $(patsubst %,aarch64/dv-%.o,$(SIM_HW_DEVICES)) \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/cpustate.o \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/interp.o \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/memory.o \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/modules.o \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/sim-resume.o \ +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/simulator.o + @SIM_ENABLE_ARCH_aarch64_TRUE@aarch64_run_SOURCES = @SIM_ENABLE_ARCH_aarch64_TRUE@aarch64_run_LDADD = \ @SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/nrun.o \ @@ -1742,8 +1770,8 @@ testsuite_common_CPPFLAGS = \ @SIM_ENABLE_ARCH_mips_TRUE@mips_BUILD_OUTPUTS = \ @SIM_ENABLE_ARCH_mips_TRUE@ $(mips_BUILT_SRC_FROM_IGEN_ITABLE) \ @SIM_ENABLE_ARCH_mips_TRUE@ mips/stamp-igen-itable \ -@SIM_ENABLE_ARCH_mips_TRUE@ $(am__append_71) $(am__append_72) \ -@SIM_ENABLE_ARCH_mips_TRUE@ $(am__append_73) +@SIM_ENABLE_ARCH_mips_TRUE@ $(am__append_72) $(am__append_73) \ +@SIM_ENABLE_ARCH_mips_TRUE@ $(am__append_74) @SIM_ENABLE_ARCH_mips_TRUE@mips_IGEN_TRACE = # -G omit-line-numbers # -G trace-rule-selection -G trace-rule-rejection -G trace-entries # -G trace-all @SIM_ENABLE_ARCH_mips_TRUE@mips_IGEN_INSN = $(srcdir)/mips/mips.igen @SIM_ENABLE_ARCH_mips_TRUE@mips_IGEN_INSN_INC = \ @@ -2087,6 +2115,14 @@ arch-subdir.mk: $(top_builddir)/config.status $(srcdir)/arch-subdir.mk.in clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +aarch64/$(am__dirstamp): + @$(MKDIR_P) aarch64 + @: > aarch64/$(am__dirstamp) + +aarch64/libsim.a: $(aarch64_libsim_a_OBJECTS) $(aarch64_libsim_a_DEPENDENCIES) $(EXTRA_aarch64_libsim_a_DEPENDENCIES) aarch64/$(am__dirstamp) + $(AM_V_at)-rm -f aarch64/libsim.a + $(AM_V_AR)$(aarch64_libsim_a_AR) aarch64/libsim.a $(aarch64_libsim_a_OBJECTS) $(aarch64_libsim_a_LIBADD) + $(AM_V_at)$(RANLIB) aarch64/libsim.a common/$(am__dirstamp): @$(MKDIR_P) common @: > common/$(am__dirstamp) @@ -2176,9 +2212,6 @@ clean-noinstPROGRAMS: list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list -aarch64/$(am__dirstamp): - @$(MKDIR_P) aarch64 - @: > aarch64/$(am__dirstamp) aarch64/run$(EXEEXT): $(aarch64_run_OBJECTS) $(aarch64_run_DEPENDENCIES) $(EXTRA_aarch64_run_DEPENDENCIES) aarch64/$(am__dirstamp) @rm -f aarch64/run$(EXEEXT) @@ -3496,6 +3529,13 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo $(AM_V_GEN)$< 64 63 little > $@.tmp $(AM_V_at)cat $(srcdir)/testsuite/common/bits-tst.c >> $@.tmp $(AM_V_at)mv $@.tmp $@ +@SIM_ENABLE_ARCH_aarch64_TRUE@$(aarch64_libsim_a_OBJECTS) $(aarch64_libsim_a_LIBADD): aarch64/hw-config.h + +@SIM_ENABLE_ARCH_aarch64_TRUE@aarch64/%.o: aarch64/%.c +@SIM_ENABLE_ARCH_aarch64_TRUE@ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) + +@SIM_ENABLE_ARCH_aarch64_TRUE@aarch64/%.o: common/%.c +@SIM_ENABLE_ARCH_aarch64_TRUE@ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) @SIM_ENABLE_ARCH_bfin_TRUE@bfin/linux-fixed-code.h: @MAINT@ $(srcdir)/bfin/linux-fixed-code.s bfin/local.mk bfin/$(am__dirstamp) @SIM_ENABLE_ARCH_bfin_TRUE@ $(AM_V_GEN)$(AS_FOR_TARGET_BFIN) $(srcdir)/bfin/linux-fixed-code.s -o bfin/linux-fixed-code.o diff --git a/sim/aarch64/Makefile.in b/sim/aarch64/Makefile.in index 0c959d1..94c6242 100644 --- a/sim/aarch64/Makefile.in +++ b/sim/aarch64/Makefile.in @@ -21,13 +21,6 @@ ## COMMON_PRE_CONFIG_FRAG -SIM_OBJS = \ - $(SIM_NEW_COMMON_OBJS) \ - interp.o \ - cpustate.o \ - simulator.o \ - memory.o \ - sim-resume.o \ +SIM_LIBSIM = ## COMMON_POST_CONFIG_FRAG - diff --git a/sim/aarch64/local.mk b/sim/aarch64/local.mk index 9eed549..c986602 100644 --- a/sim/aarch64/local.mk +++ b/sim/aarch64/local.mk @@ -16,6 +16,27 @@ ## You should have received a copy of the GNU General Public License ## along with this program. If not, see <http://www.gnu.org/licenses/>. +%C%_libsim_a_SOURCES = +%C%_libsim_a_LIBADD = \ + $(common_libcommon_a_OBJECTS) \ + $(patsubst %,%D%/%,$(SIM_NEW_COMMON_OBJS)) \ + $(patsubst %,%D%/dv-%.o,$(SIM_HW_DEVICES)) \ + %D%/cpustate.o \ + %D%/interp.o \ + %D%/memory.o \ + %D%/modules.o \ + %D%/sim-resume.o \ + %D%/simulator.o +$(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h + +noinst_LIBRARIES += %D%/libsim.a + +%D%/%.o: %D%/%.c + $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) + +%D%/%.o: common/%.c + $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) + %C%_run_SOURCES = %C%_run_LDADD = \ %D%/nrun.o \ diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index ab26c49..e14997a 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -89,6 +89,7 @@ SIM_OBJS = SIM_EXTRA_CFLAGS = # List of main object files for `run'. SIM_RUN_OBJS = nrun.o +SIM_LIBSIM = libsim.a # Dependency of `clean' to clean any extra files. SIM_EXTRA_CLEAN = @@ -152,7 +153,7 @@ LINK_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(LDFLAGS_FOR_BUILD) -o $@ RUNTESTFLAGS = -all: libsim.a $(SIM_RUN_OBJS) +all: $(SIM_LIBSIM) $(LIB_OBJS) $(SIM_RUN_OBJS) libsim.a: $(LIB_OBJS) $(SILENCE) rm -f libsim.a |