mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-23 02:50:29 +00:00
Improve dead code elimination
This commit is contained in:
parent
760db8c5ad
commit
0e36cb3ac4
6606 changed files with 9685 additions and 9854 deletions
|
@ -11,8 +11,7 @@ TOOL_BUILD_EMUBIN_BINS = \
|
|||
o/$(MODE)/tool/build/emubin/prime.bin \
|
||||
o/$(MODE)/tool/build/emubin/prime.bin.dbg \
|
||||
o/$(MODE)/tool/build/emubin/pi.bin \
|
||||
o/$(MODE)/tool/build/emubin/pi.bin.dbg \
|
||||
o/$(MODE)/tool/build/emubin/linmap.elf
|
||||
o/$(MODE)/tool/build/emubin/pi.bin.dbg
|
||||
|
||||
TOOL_BUILD_EMUBIN_A = o/$(MODE)/tool/build/emubin/emubin.a
|
||||
TOOL_BUILD_EMUBIN_FILES := $(wildcard tool/build/emubin/*)
|
||||
|
@ -51,13 +50,6 @@ o/$(MODE)/tool/build/emubin/%.bin.dbg: \
|
|||
$(TOOL_BUILD_EMUBIN_A).pkg
|
||||
@$(ELFLINK) -e emucrt -z max-page-size=0x10
|
||||
|
||||
o/$(MODE)/tool/build/emubin/%.elf: \
|
||||
$(TOOL_BUILD_EMUBIN_DEPS) \
|
||||
$(TOOL_BUILD_EMUBIN_A) \
|
||||
o/$(MODE)/tool/build/emubin/%.o \
|
||||
$(ELF)
|
||||
@$(ELFLINK)
|
||||
|
||||
o/tiny/tool/build/emubin/spiral.bin.dbg: \
|
||||
$(TOOL_BUILD_EMUBIN_DEPS) \
|
||||
o/tiny/tool/build/emubin/spiral.real.o
|
||||
|
@ -73,6 +65,4 @@ $(TOOL_BUILD_EMUBIN_OBJS): \
|
|||
$(NO_MAGIC)
|
||||
|
||||
.PHONY: o/$(MODE)/tool/build/emubin
|
||||
o/$(MODE)/tool/build/emubin: \
|
||||
$(TOOL_BUILD_EMUBIN_BINS) \
|
||||
$(TOOL_BUILD_EMUBIN_CHECKS)
|
||||
o/$(MODE)/tool/build/emubin:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue