浏览代码

Revert "Allow multiple definition in ld_so to avoid linking issues"

This reverts commit b4c738eb62290fb8f8b931a1ca991b8bf0809f86.
Jeremy Soller 5 年之前
父节点
当前提交
208b56b487
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -158,7 +158,7 @@ $(BUILD)/release/ld_so.o: $(SRC)
 	touch $@
 
 $(BUILD)/release/ld_so: $(BUILD)/release/ld_so.o $(BUILD)/release/crti.o $(BUILD)/release/libc.a $(BUILD)/release/crtn.o
-	$(LD) --allow-multiple-definition --gc-sections $^ -o $@
+	$(LD) --gc-sections $^ -o $@
 
 # Other targets