Skip to content
Snippets Groups Projects
Verified Commit d7a859fb authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Keep exported functions

parent 6ed37efa
No related branches found
No related tags found
No related merge requests found
...@@ -127,7 +127,7 @@ $(BUILD)/debug/ld_so.o: $(SRC) ...@@ -127,7 +127,7 @@ $(BUILD)/debug/ld_so.o: $(SRC)
touch $@ touch $@
$(BUILD)/debug/ld_so: $(BUILD)/debug/ld_so.o $(BUILD)/debug/crti.o $(BUILD)/debug/libc.a $(BUILD)/debug/crtn.o $(BUILD)/debug/ld_so: $(BUILD)/debug/ld_so.o $(BUILD)/debug/crti.o $(BUILD)/debug/libc.a $(BUILD)/debug/crtn.o
$(LD) --allow-multiple-definition --gc-sections $^ -o $@ $(LD) --allow-multiple-definition --gc-sections --gc-keep-exported $^ -o $@
# Release targets # Release targets
...@@ -164,7 +164,7 @@ $(BUILD)/release/ld_so.o: $(SRC) ...@@ -164,7 +164,7 @@ $(BUILD)/release/ld_so.o: $(SRC)
touch $@ touch $@
$(BUILD)/release/ld_so: $(BUILD)/release/ld_so.o $(BUILD)/release/crti.o $(BUILD)/release/libc.a $(BUILD)/release/crtn.o $(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) --allow-multiple-definition --gc-sections --gc-keep-exported $^ -o $@
# Other targets # Other targets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment