浏览代码

Merge branch 'weaken_floattidf' into 'master'

Also weaken `__floattidf`

See merge request redox-os/relibc!299
Jeremy Soller 4 年之前
父节点
当前提交
91f0be8790
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -114,7 +114,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
+	$(OBJCOPY) $@ -W __divti3 -W __muloti4 -W __udivti3 -W __floattidf
 	touch $@
 
 $(BUILD)/debug/crt0.o: $(SRC)
@@ -153,7 +153,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
+	$(OBJCOPY) $@ -W __divti3 -W __muloti4 -W __udivti3 -W __floattidf
 	touch $@
 
 $(BUILD)/release/crt0.o: $(SRC)