aboutsummaryrefslogtreecommitdiff
path: root/src/link.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/link.cpp')
-rw-r--r--src/link.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/link.cpp b/src/link.cpp
index 277dcbc5c6..401f477760 100644
--- a/src/link.cpp
+++ b/src/link.cpp
@@ -791,6 +791,8 @@ static Buf *build_a_raw(CodeGen *parent_gen, const char *aname, Buf *full_path,
new_link_lib->provided_explicitly = parent_gen->libc_link_lib->provided_explicitly;
}
+ child_gen->function_sections = true;
+
codegen_build_and_link(child_gen);
return &child_gen->output_file_path;
}