@@ -1637,8 +1637,8 @@ def phase_linker_setup(options, state, newargs, user_settings):
1637
1637
diagnostics .warning ('deprecated' , 'EXTRA_EXPORTED_RUNTIME_METHODS is deprecated, please use EXPORTED_RUNTIME_METHODS instead' )
1638
1638
settings .EXPORTED_RUNTIME_METHODS += settings .EXTRA_EXPORTED_RUNTIME_METHODS
1639
1639
1640
- # If no output format was sepecific we try to imply the format based on
1641
- # the output filename extension.
1640
+ # If no output format was specified we try to deduce the format based on
1641
+ # the output filename extension
1642
1642
if not options .oformat and (options .relocatable or (options .shared and not settings .SIDE_MODULE )):
1643
1643
# Until we have a better story for actually producing runtime shared libraries
1644
1644
# we support a compatibility mode where shared libraries are actually just
@@ -2738,9 +2738,9 @@ def compile_source_file(i, input_file):
2738
2738
@ToolchainProfiler .profile_block ('calculate system libraries' )
2739
2739
def phase_calculate_system_libraries (state , linker_arguments , linker_inputs , newargs ):
2740
2740
extra_files_to_link = []
2741
- # link in ports and system libraries, if necessary
2741
+ # Link in ports and system libraries, if necessary
2742
2742
if not settings .SIDE_MODULE :
2743
- # Ports are always linked into the main module, never the size module.
2743
+ # Ports are always linked into the main module, never the side module.
2744
2744
extra_files_to_link += ports .get_libs (settings )
2745
2745
all_linker_inputs = [f for _ , f in sorted (linker_inputs )] + extra_files_to_link
2746
2746
extra_files_to_link += system_libs .calculate (all_linker_inputs , newargs , forced = state .forced_stdlibs )
0 commit comments