From 5472e117a5486797e8a4c95b8b3aae319a7d6a1d Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 21 Aug 2020 21:28:51 -0600 Subject: [PATCH] Weaken __fixdfti --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0076226f8a..00ba0a1441 100644 --- a/Makefile +++ b/Makefile @@ -115,7 +115,7 @@ $(BUILD)/debug/libc.so: $(BUILD)/debug/librelibc.a $(BUILD)/pthreads-emb/libpthr $(BUILD)/debug/librelibc.a: $(SRC) CARGO_INCREMENTAL=0 $(CARGO) rustc $(CARGOFLAGS) -- --emit link=$@ $(RUSTCFLAGS) # FIXME: Remove the following line. It's only required since xargo automatically links with compiler_builtins, which conflicts with the compiler_builtins that rustc always links with. - $(OBJCOPY) $@ -W __divti3 -W __muloti4 -W __udivti3 -W __floattidf + $(OBJCOPY) $@ -W __divti3 -W __muloti4 -W __udivti3 -W __floattidf -W __fixdfti touch $@ $(BUILD)/debug/crt0.o: $(SRC) @@ -154,7 +154,7 @@ $(BUILD)/release/libc.so: $(BUILD)/release/librelibc.a $(BUILD)/pthreads-emb/lib $(BUILD)/release/librelibc.a: $(SRC) CARGO_INCREMENTAL=0 $(CARGO) rustc --release $(CARGOFLAGS) -- --emit link=$@ $(RUSTCFLAGS) # FIXME: Remove the following line. It's only required since xargo automatically links with compiler_builtins, which conflicts with the compiler_builtins that rustc always links with. - $(OBJCOPY) $@ -W __divti3 -W __muloti4 -W __udivti3 -W __floattidf + $(OBJCOPY) $@ -W __divti3 -W __muloti4 -W __udivti3 -W __floattidf -W __fixdfti touch $@ $(BUILD)/release/crt0.o: $(SRC)