Skip to content

Commit c4392d9

Browse files
aykevldeadprogram
authored andcommitted
all: rename assembly files to .S extension
The Go tools only consider lowercase .s files to be assembly files. By renaming these to uppercase .S files they won't be discovered by the Go toolchain and listed as the SFiles to be assembled. There is a difference between .s and .S: only uppercase .S will be passed through the preprocessor. Doing that is normally safe, and definitely safe in the case of these files.
1 parent b6d6efd commit c4392d9

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed
File renamed without changes.

targets/cortex-m.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"--gc-sections"
2323
],
2424
"extra-files": [
25-
"src/device/arm/cortexm.s",
25+
"src/device/arm/cortexm.S",
2626
"src/internal/task/task_stack_cortexm.S",
2727
"src/runtime/asm_arm.S"
2828
],

targets/nintendoswitch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"targets/nintendoswitch.s",
3131
"src/internal/task/task_stack_arm64.S",
3232
"src/runtime/asm_arm64.S",
33-
"src/runtime/runtime_nintendoswitch.s"
33+
"src/runtime/runtime_nintendoswitch.S"
3434
]
3535
}

0 commit comments

Comments
 (0)