Skip to content

Commit eed9f39

Browse files
committed
---
yaml --- r: 6481 b: refs/heads/master c: cd91c6d h: refs/heads/master i: 6479: 1042394 v: v3
1 parent 0aaace5 commit eed9f39

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 3a80d7b0e3f1bdc81ba14459f6615d29476038a7
2+
refs/heads/master: cd91c6d065bf4b0688a588cb7ed19ad90aa53b94

trunk/Makefile.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ HOST_SREQ$(1) = \
281281
TARGET_SREQ$(1)$(2) = \
282282
$$(HOST_SREQ$(1)) \
283283
$$(TARGET_LIB$(1)$(2))/$$(CFG_RUNTIME) \
284-
$$(TARGET_LIB$(1)$(2))/intrinsics.bc
284+
$$(TARGET_LIB$(1)$(2))/intrinsics.bc \
285+
$$(TARGET_LIB$(1)$(2))/libmorestack.a
285286

286287
# Prerequisites for complete stageN targets
287288
SREQ$(1)$(2) = \

trunk/mk/install.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ install-target$(1): $$(SREQ$$(ISTAGE)$(1))
4343
$(Q)$(call INSTALL,$$(TL$(1)),$$(PTL$(1)),$$(CFG_RUNTIME))
4444
$(Q)$(call INSTALL,$$(TL$(1)),$$(PTL$(1)),$$(CFG_STDLIB))
4545
$(Q)$(call INSTALL,$$(TL$(1)),$$(PTL$(1)),intrinsics.bc)
46+
$(Q)$(call INSTALL,$$(TL$(1)),$$(PTL$(1)),libmorestack.a)
4647
endef
4748

4849
$(foreach target,$(CFG_TARGET_TRIPLES), \

trunk/mk/rt.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ rt/$(1)/%.o: rt/%.S $$(MKFILES)
139139
@$$(call E, compile: $$@)
140140
$$(Q)$$(call CFG_COMPILE_C_$(1), $$@, $$(RUNTIME_INCS_$(1))) $$<
141141

142+
rt/$(1)/arch/$$(HOST_$(1))/libmorestack.a: rt/$(1)/arch/$$(HOST_$(1))/morestack.o
143+
@$$(call E, link: $$@)
144+
$$(Q)ar rcs $$@ $$<
145+
142146
rt/$(1)/$(CFG_RUNTIME): $$(RUNTIME_OBJS_$(1)) $$(MKFILES) \
143147
$$(RUNTIME_HDR_$(1)) \
144148
$$(RUNTIME_DEF_$(1)) \

trunk/mk/target.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ $$(TARGET_LIB$(1)$(2))/intrinsics.bc: $$(TARGET_LIB$(1)$(2))/intrinsics.ll \
1717
@$$(call E, llvms-as: $$@)
1818
$$(Q)$$(LLVM_AS_$(2)) -o $$@ $$<
1919

20+
$$(TARGET_LIB$(1)$(2))/libmorestack.a: rt/$(2)/arch/$$(HOST_$(2))/libmorestack.a
21+
@$$(call E, cp: $$@)
22+
$$(Q)cp $$< $$@
23+
2024
$$(TARGET_LIB$(1)$(2))/$$(CFG_STDLIB): \
2125
$$(STDLIB_CRATE) $$(STDLIB_INPUTS) \
2226
$$(TARGET_SREQ$(1)$(2))

0 commit comments

Comments
 (0)