We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76716d0 commit 8d0b02dCopy full SHA for 8d0b02d
backend/asmlink.ml
@@ -393,7 +393,10 @@ let make_startup_file unix ~ppf_dump ~sourcefile_for_dwarf genfns units cached_g
393
compile_phrase (Cmm_helpers.code_segment_table code_comp_units);
394
let all_comp_units = startup_comp_unit :: system_comp_unit :: name_list in
395
let all_comp_units =
396
- Generic_fns.imported_units cached_gen @ all_comp_units
+ if !Clflags.function_sections then
397
+ Generic_fns.imported_units cached_gen @ all_comp_units
398
+ else
399
+ all_comp_units
400
in
401
compile_phrase (Cmm_helpers.frame_table all_comp_units);
402
if !Clflags.output_complete_object then
0 commit comments