• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

コミットメタ情報

リビジョンcb9bdc02fdf1650341276861f6ca7e7a215a1ce6 (tree)
日時2022-11-05 13:22:38
作者Mike Frysinger <vapier@gent...>
コミッターMike Frysinger

ログメッセージ

sim: cris: move rvdummy linking to top-level

This is only used by make check, so we can move it out of the
default build too.

変更サマリ

差分

--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -106,7 +106,7 @@ POST_UNINSTALL = :
106106 build_triplet = @build@
107107 host_triplet = @host@
108108 target_triplet = @target@
109-check_PROGRAMS = $(am__EXEEXT_8)
109+check_PROGRAMS = $(am__EXEEXT_8) $(am__EXEEXT_9)
110110 EXTRA_PROGRAMS = $(am__EXEEXT_2) testsuite/common/bits-gen$(EXEEXT) \
111111 testsuite/common/fpu-tst$(EXEEXT) $(am__EXEEXT_3) \
112112 $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) \
@@ -129,39 +129,40 @@ TESTS = testsuite/common/bits32m0$(EXEEXT) \
129129 @SIM_ENABLE_ARCH_cr16_TRUE@am__append_8 = $(cr16_BUILD_OUTPUTS)
130130 @SIM_ENABLE_ARCH_cr16_TRUE@am__append_9 = cr16/gencode
131131 @SIM_ENABLE_ARCH_cr16_TRUE@am__append_10 = $(cr16_BUILD_OUTPUTS)
132-@SIM_ENABLE_ARCH_cris_TRUE@am__append_11 = $(cris_BUILD_OUTPUTS)
132+@SIM_ENABLE_ARCH_cris_TRUE@am__append_11 = cris/rvdummy
133133 @SIM_ENABLE_ARCH_cris_TRUE@am__append_12 = $(cris_BUILD_OUTPUTS)
134-@SIM_ENABLE_ARCH_d10v_TRUE@am__append_13 = $(d10v_BUILD_OUTPUTS)
135-@SIM_ENABLE_ARCH_d10v_TRUE@am__append_14 = d10v/gencode
136-@SIM_ENABLE_ARCH_d10v_TRUE@am__append_15 = $(d10v_BUILD_OUTPUTS)
137-@SIM_ENABLE_ARCH_frv_TRUE@am__append_16 = $(frv_BUILD_OUTPUTS)
134+@SIM_ENABLE_ARCH_cris_TRUE@am__append_13 = $(cris_BUILD_OUTPUTS)
135+@SIM_ENABLE_ARCH_d10v_TRUE@am__append_14 = $(d10v_BUILD_OUTPUTS)
136+@SIM_ENABLE_ARCH_d10v_TRUE@am__append_15 = d10v/gencode
137+@SIM_ENABLE_ARCH_d10v_TRUE@am__append_16 = $(d10v_BUILD_OUTPUTS)
138138 @SIM_ENABLE_ARCH_frv_TRUE@am__append_17 = $(frv_BUILD_OUTPUTS)
139-@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_18 = $(iq2000_BUILD_OUTPUTS)
139+@SIM_ENABLE_ARCH_frv_TRUE@am__append_18 = $(frv_BUILD_OUTPUTS)
140140 @SIM_ENABLE_ARCH_iq2000_TRUE@am__append_19 = $(iq2000_BUILD_OUTPUTS)
141-@SIM_ENABLE_ARCH_lm32_TRUE@am__append_20 = $(lm32_BUILD_OUTPUTS)
141+@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_20 = $(iq2000_BUILD_OUTPUTS)
142142 @SIM_ENABLE_ARCH_lm32_TRUE@am__append_21 = $(lm32_BUILD_OUTPUTS)
143-@SIM_ENABLE_ARCH_m32c_TRUE@am__append_22 = $(m32c_BUILD_OUTPUTS)
144-@SIM_ENABLE_ARCH_m32c_TRUE@am__append_23 = m32c/opc2c
145-@SIM_ENABLE_ARCH_m32c_TRUE@am__append_24 = \
143+@SIM_ENABLE_ARCH_lm32_TRUE@am__append_22 = $(lm32_BUILD_OUTPUTS)
144+@SIM_ENABLE_ARCH_m32c_TRUE@am__append_23 = $(m32c_BUILD_OUTPUTS)
145+@SIM_ENABLE_ARCH_m32c_TRUE@am__append_24 = m32c/opc2c
146+@SIM_ENABLE_ARCH_m32c_TRUE@am__append_25 = \
146147 @SIM_ENABLE_ARCH_m32c_TRUE@ $(m32c_BUILD_OUTPUTS) \
147148 @SIM_ENABLE_ARCH_m32c_TRUE@ m32c/m32c.c.log \
148149 @SIM_ENABLE_ARCH_m32c_TRUE@ m32c/r8c.c.log
149150
150-@SIM_ENABLE_ARCH_m32r_TRUE@am__append_25 = $(m32r_BUILD_OUTPUTS)
151151 @SIM_ENABLE_ARCH_m32r_TRUE@am__append_26 = $(m32r_BUILD_OUTPUTS)
152-@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_27 = $(m68hc11_BUILD_OUTPUTS)
153-@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_28 = m68hc11/gencode
154-@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_29 = $(m68hc11_BUILD_OUTPUTS)
155-@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_30 = $(mn10300_BUILD_OUTPUTS)
152+@SIM_ENABLE_ARCH_m32r_TRUE@am__append_27 = $(m32r_BUILD_OUTPUTS)
153+@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_28 = $(m68hc11_BUILD_OUTPUTS)
154+@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_29 = m68hc11/gencode
155+@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_30 = $(m68hc11_BUILD_OUTPUTS)
156156 @SIM_ENABLE_ARCH_mn10300_TRUE@am__append_31 = $(mn10300_BUILD_OUTPUTS)
157-@SIM_ENABLE_ARCH_moxie_TRUE@am__append_32 = moxie/$(am__dirstamp)
158-@SIM_ENABLE_ARCH_or1k_TRUE@am__append_33 = $(or1k_BUILD_OUTPUTS)
157+@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_32 = $(mn10300_BUILD_OUTPUTS)
158+@SIM_ENABLE_ARCH_moxie_TRUE@am__append_33 = moxie/$(am__dirstamp)
159159 @SIM_ENABLE_ARCH_or1k_TRUE@am__append_34 = $(or1k_BUILD_OUTPUTS)
160-@SIM_ENABLE_ARCH_sh_TRUE@am__append_35 = $(sh_BUILD_OUTPUTS)
161-@SIM_ENABLE_ARCH_sh_TRUE@am__append_36 = sh/gencode
162-@SIM_ENABLE_ARCH_sh_TRUE@am__append_37 = $(sh_BUILD_OUTPUTS)
163-@SIM_ENABLE_ARCH_v850_TRUE@am__append_38 = $(v850_BUILD_OUTPUTS)
160+@SIM_ENABLE_ARCH_or1k_TRUE@am__append_35 = $(or1k_BUILD_OUTPUTS)
161+@SIM_ENABLE_ARCH_sh_TRUE@am__append_36 = $(sh_BUILD_OUTPUTS)
162+@SIM_ENABLE_ARCH_sh_TRUE@am__append_37 = sh/gencode
163+@SIM_ENABLE_ARCH_sh_TRUE@am__append_38 = $(sh_BUILD_OUTPUTS)
164164 @SIM_ENABLE_ARCH_v850_TRUE@am__append_39 = $(v850_BUILD_OUTPUTS)
165+@SIM_ENABLE_ARCH_v850_TRUE@am__append_40 = $(v850_BUILD_OUTPUTS)
165166 subdir = .
166167 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
167168 am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
@@ -267,6 +268,7 @@ am__EXEEXT_8 = testsuite/common/bits32m0$(EXEEXT) \
267268 testsuite/common/bits64m0$(EXEEXT) \
268269 testsuite/common/bits64m63$(EXEEXT) \
269270 testsuite/common/alu-tst$(EXEEXT)
271+@SIM_ENABLE_ARCH_cris_TRUE@am__EXEEXT_9 = cris/rvdummy$(EXEEXT)
270272 @SIM_ENABLE_ARCH_cr16_TRUE@am_cr16_gencode_OBJECTS = \
271273 @SIM_ENABLE_ARCH_cr16_TRUE@ cr16/gencode.$(OBJEXT)
272274 cr16_gencode_OBJECTS = $(am_cr16_gencode_OBJECTS)
@@ -276,6 +278,10 @@ AM_V_lt = $(am__v_lt_@AM_V@)
276278 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
277279 am__v_lt_0 = --silent
278280 am__v_lt_1 =
281+@SIM_ENABLE_ARCH_cris_TRUE@am_cris_rvdummy_OBJECTS = \
282+@SIM_ENABLE_ARCH_cris_TRUE@ cris/rvdummy.$(OBJEXT)
283+cris_rvdummy_OBJECTS = $(am_cris_rvdummy_OBJECTS)
284+cris_rvdummy_DEPENDENCIES =
279285 @SIM_ENABLE_ARCH_d10v_TRUE@am_d10v_gencode_OBJECTS = \
280286 @SIM_ENABLE_ARCH_d10v_TRUE@ d10v/gencode.$(OBJEXT)
281287 d10v_gencode_OBJECTS = $(am_d10v_gencode_OBJECTS)
@@ -380,16 +386,16 @@ am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
380386 am__v_CCLD_0 = @echo " CCLD " $@;
381387 am__v_CCLD_1 =
382388 SOURCES = $(common_libcommon_a_SOURCES) $(igen_libigen_a_SOURCES) \
383- $(cr16_gencode_SOURCES) $(d10v_gencode_SOURCES) \
384- $(igen_filter_SOURCES) $(igen_gen_SOURCES) \
385- $(igen_igen_SOURCES) $(igen_ld_cache_SOURCES) \
386- $(igen_ld_decode_SOURCES) $(igen_ld_insn_SOURCES) \
387- $(igen_table_SOURCES) $(m32c_opc2c_SOURCES) \
388- $(m68hc11_gencode_SOURCES) $(sh_gencode_SOURCES) \
389- testsuite/common/alu-tst.c testsuite/common/bits-gen.c \
390- testsuite/common/bits32m0.c testsuite/common/bits32m31.c \
391- testsuite/common/bits64m0.c testsuite/common/bits64m63.c \
392- testsuite/common/fpu-tst.c
389+ $(cr16_gencode_SOURCES) $(cris_rvdummy_SOURCES) \
390+ $(d10v_gencode_SOURCES) $(igen_filter_SOURCES) \
391+ $(igen_gen_SOURCES) $(igen_igen_SOURCES) \
392+ $(igen_ld_cache_SOURCES) $(igen_ld_decode_SOURCES) \
393+ $(igen_ld_insn_SOURCES) $(igen_table_SOURCES) \
394+ $(m32c_opc2c_SOURCES) $(m68hc11_gencode_SOURCES) \
395+ $(sh_gencode_SOURCES) testsuite/common/alu-tst.c \
396+ testsuite/common/bits-gen.c testsuite/common/bits32m0.c \
397+ testsuite/common/bits32m31.c testsuite/common/bits64m0.c \
398+ testsuite/common/bits64m63.c testsuite/common/fpu-tst.c
393399 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
394400 ctags-recursive dvi-recursive html-recursive info-recursive \
395401 install-data-recursive install-dvi-recursive \
@@ -915,13 +921,13 @@ CLEANFILES = common/version.c common/version.c-stamp \
915921 testsuite/common/bits-gen testsuite/common/bits32m0.c \
916922 testsuite/common/bits32m31.c testsuite/common/bits64m0.c \
917923 testsuite/common/bits64m63.c
918-DISTCLEANFILES = $(am__append_32)
924+DISTCLEANFILES = $(am__append_33)
919925 MOSTLYCLEANFILES = core $(am__append_5) site-sim-config.exp \
920926 testrun.log testrun.sum $(am__append_7) $(am__append_10) \
921- $(am__append_12) $(am__append_15) $(am__append_17) \
922- $(am__append_19) $(am__append_21) $(am__append_24) \
923- $(am__append_26) $(am__append_29) $(am__append_31) \
924- $(am__append_34) $(am__append_37) $(am__append_39)
927+ $(am__append_13) $(am__append_16) $(am__append_18) \
928+ $(am__append_20) $(am__append_22) $(am__append_25) \
929+ $(am__append_27) $(am__append_30) $(am__append_32) \
930+ $(am__append_35) $(am__append_38) $(am__append_40)
925931 AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS)
926932 AM_CPPFLAGS = $(INCGNU) -I$(srcroot)/include -I../bfd -I.. \
927933 $(SIM_HW_CFLAGS) $(SIM_INLINE) -I$(srcdir)/common \
@@ -931,11 +937,11 @@ AM_CPPFLAGS_FOR_BUILD = -I$(srcroot)/include $(SIM_HW_CFLAGS) \
931937 COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
932938 LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@
933939 SIM_ALL_RECURSIVE_DEPS = common/libcommon.a $(am__append_2) \
934- $(am__append_6) $(am__append_8) $(am__append_11) \
935- $(am__append_13) $(am__append_16) $(am__append_18) \
936- $(am__append_20) $(am__append_22) $(am__append_25) \
937- $(am__append_27) $(am__append_30) $(am__append_33) \
938- $(am__append_35) $(am__append_38)
940+ $(am__append_6) $(am__append_8) $(am__append_12) \
941+ $(am__append_14) $(am__append_17) $(am__append_19) \
942+ $(am__append_21) $(am__append_23) $(am__append_26) \
943+ $(am__append_28) $(am__append_31) $(am__append_34) \
944+ $(am__append_36) $(am__append_39)
939945 common_libcommon_a_SOURCES = \
940946 common/callback.c \
941947 common/portability.c \
@@ -1028,6 +1034,8 @@ testsuite_common_CPPFLAGS = \
10281034
10291035 @SIM_ENABLE_ARCH_cr16_TRUE@cr16_gencode_SOURCES = cr16/gencode.c
10301036 @SIM_ENABLE_ARCH_cr16_TRUE@cr16_gencode_LDADD = cr16/cr16-opc.o
1037+@SIM_ENABLE_ARCH_cris_TRUE@cris_rvdummy_SOURCES = cris/rvdummy.c
1038+@SIM_ENABLE_ARCH_cris_TRUE@cris_rvdummy_LDADD = $(LIBIBERTY_LIB)
10311039 @SIM_ENABLE_ARCH_cris_TRUE@cris_BUILD_OUTPUTS = \
10321040 @SIM_ENABLE_ARCH_cris_TRUE@ cris/engv10.h \
10331041 @SIM_ENABLE_ARCH_cris_TRUE@ cris/mloopv10f.c \
@@ -1413,6 +1421,18 @@ cr16/gencode.$(OBJEXT): cr16/$(am__dirstamp) \
14131421 @SIM_ENABLE_ARCH_cr16_FALSE@cr16/gencode$(EXEEXT): $(cr16_gencode_OBJECTS) $(cr16_gencode_DEPENDENCIES) $(EXTRA_cr16_gencode_DEPENDENCIES) cr16/$(am__dirstamp)
14141422 @SIM_ENABLE_ARCH_cr16_FALSE@ @rm -f cr16/gencode$(EXEEXT)
14151423 @SIM_ENABLE_ARCH_cr16_FALSE@ $(AM_V_CCLD)$(LINK) $(cr16_gencode_OBJECTS) $(cr16_gencode_LDADD) $(LIBS)
1424+cris/$(am__dirstamp):
1425+ @$(MKDIR_P) cris
1426+ @: > cris/$(am__dirstamp)
1427+cris/$(DEPDIR)/$(am__dirstamp):
1428+ @$(MKDIR_P) cris/$(DEPDIR)
1429+ @: > cris/$(DEPDIR)/$(am__dirstamp)
1430+cris/rvdummy.$(OBJEXT): cris/$(am__dirstamp) \
1431+ cris/$(DEPDIR)/$(am__dirstamp)
1432+
1433+cris/rvdummy$(EXEEXT): $(cris_rvdummy_OBJECTS) $(cris_rvdummy_DEPENDENCIES) $(EXTRA_cris_rvdummy_DEPENDENCIES) cris/$(am__dirstamp)
1434+ @rm -f cris/rvdummy$(EXEEXT)
1435+ $(AM_V_CCLD)$(LINK) $(cris_rvdummy_OBJECTS) $(cris_rvdummy_LDADD) $(LIBS)
14161436 d10v/$(am__dirstamp):
14171437 @$(MKDIR_P) d10v
14181438 @: > d10v/$(am__dirstamp)
@@ -1517,6 +1537,7 @@ mostlyclean-compile:
15171537 -rm -f *.$(OBJEXT)
15181538 -rm -f common/*.$(OBJEXT)
15191539 -rm -f cr16/*.$(OBJEXT)
1540+ -rm -f cris/*.$(OBJEXT)
15201541 -rm -f d10v/*.$(OBJEXT)
15211542 -rm -f igen/*.$(OBJEXT)
15221543 -rm -f m32c/*.$(OBJEXT)
@@ -1537,6 +1558,7 @@ distclean-compile:
15371558 @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/target-newlib-syscall.Po@am__quote@
15381559 @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/version.Po@am__quote@
15391560 @AMDEP_TRUE@@am__include@ @am__quote@cr16/$(DEPDIR)/gencode.Po@am__quote@
1561+@AMDEP_TRUE@@am__include@ @am__quote@cris/$(DEPDIR)/rvdummy.Po@am__quote@
15401562 @AMDEP_TRUE@@am__include@ @am__quote@d10v/$(DEPDIR)/gencode.Po@am__quote@
15411563 @AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/filter.Po@am__quote@
15421564 @AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/filter_host.Po@am__quote@
@@ -1596,6 +1618,7 @@ mostlyclean-libtool:
15961618 clean-libtool:
15971619 -rm -rf .libs _libs
15981620 -rm -rf cr16/.libs cr16/_libs
1621+ -rm -rf cris/.libs cris/_libs
15991622 -rm -rf d10v/.libs d10v/_libs
16001623 -rm -rf igen/.libs igen/_libs
16011624 -rm -rf m32c/.libs m32c/_libs
@@ -2147,6 +2170,8 @@ distclean-generic:
21472170 -rm -f common/$(am__dirstamp)
21482171 -rm -f cr16/$(DEPDIR)/$(am__dirstamp)
21492172 -rm -f cr16/$(am__dirstamp)
2173+ -rm -f cris/$(DEPDIR)/$(am__dirstamp)
2174+ -rm -f cris/$(am__dirstamp)
21502175 -rm -f d10v/$(DEPDIR)/$(am__dirstamp)
21512176 -rm -f d10v/$(am__dirstamp)
21522177 -rm -f igen/$(DEPDIR)/$(am__dirstamp)
@@ -2171,7 +2196,7 @@ clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
21712196
21722197 distclean: distclean-recursive
21732198 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
2174- -rm -rf common/$(DEPDIR) cr16/$(DEPDIR) d10v/$(DEPDIR) igen/$(DEPDIR) m32c/$(DEPDIR) m68hc11/$(DEPDIR) sh/$(DEPDIR) testsuite/common/$(DEPDIR)
2199+ -rm -rf common/$(DEPDIR) cr16/$(DEPDIR) cris/$(DEPDIR) d10v/$(DEPDIR) igen/$(DEPDIR) m32c/$(DEPDIR) m68hc11/$(DEPDIR) sh/$(DEPDIR) testsuite/common/$(DEPDIR)
21752200 -rm -f Makefile
21762201 distclean-am: clean-am distclean-DEJAGNU distclean-compile \
21772202 distclean-generic distclean-hdr distclean-libtool \
@@ -2222,7 +2247,7 @@ installcheck-am:
22222247 maintainer-clean: maintainer-clean-recursive
22232248 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
22242249 -rm -rf $(top_srcdir)/autom4te.cache
2225- -rm -rf common/$(DEPDIR) cr16/$(DEPDIR) d10v/$(DEPDIR) igen/$(DEPDIR) m32c/$(DEPDIR) m68hc11/$(DEPDIR) sh/$(DEPDIR) testsuite/common/$(DEPDIR)
2250+ -rm -rf common/$(DEPDIR) cr16/$(DEPDIR) cris/$(DEPDIR) d10v/$(DEPDIR) igen/$(DEPDIR) m32c/$(DEPDIR) m68hc11/$(DEPDIR) sh/$(DEPDIR) testsuite/common/$(DEPDIR)
22262251 -rm -f Makefile
22272252 maintainer-clean-am: distclean-am maintainer-clean-generic
22282253
--- a/sim/cris/Makefile.in
+++ b/sim/cris/Makefile.in
@@ -39,20 +39,9 @@ SIM_EXTRA_CLEAN = cris-clean
3939
4040 arch = cris
4141
42-# rvdummy is just used for testing. It does nothing if
43-# --enable-sim-hardware isn't active.
44-
45-all: rvdummy$(EXEEXT)
46-
47-check: rvdummy$(EXEEXT)
48-
49-rvdummy$(EXEEXT): rvdummy.o $(EXTRA_LIBDEPS)
50- $(ECHO_CCLD) $(LIBTOOL) $(AM_V_lt) --tag=CC --mode=link \
51- $(CC) $(ALL_CFLAGS) -o rvdummy$(EXEEXT) rvdummy.o $(EXTRA_LIBS)
52-
5342 cris-clean:
5443 -rm -f stamp-arch
55- -rm -f tmp-* rvdummy$(EXEEXT)
44+ -rm -f tmp-*
5645
5746 # Useful when making CGEN-generated files manually, without --enable-cgen-maint.
5847 stamps: stamp-arch stamp-v10fcpu stamp-v32fcpu
--- a/sim/cris/local.mk
+++ b/sim/cris/local.mk
@@ -16,6 +16,13 @@
1616 ## You should have received a copy of the GNU General Public License
1717 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
1818
19+## rvdummy is just used for testing -- it runs on the same host as `run`.
20+## It does nothing if --enable-sim-hardware isn't active.
21+%C%_rvdummy_SOURCES = %D%/rvdummy.c
22+%C%_rvdummy_LDADD = $(LIBIBERTY_LIB)
23+
24+check_PROGRAMS += %D%/rvdummy
25+
1926 %C%_BUILD_OUTPUTS = \
2027 %D%/engv10.h \
2128 %D%/mloopv10f.c \