mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-07 04:23:41 +00:00
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.
This commit is contained in:
committed by
Ron Evans
parent
b6d6efde07
commit
c4392d9472
@@ -22,7 +22,7 @@
|
||||
"--gc-sections"
|
||||
],
|
||||
"extra-files": [
|
||||
"src/device/arm/cortexm.s",
|
||||
"src/device/arm/cortexm.S",
|
||||
"src/internal/task/task_stack_cortexm.S",
|
||||
"src/runtime/asm_arm.S"
|
||||
],
|
||||
|
||||
@@ -30,6 +30,6 @@
|
||||
"targets/nintendoswitch.s",
|
||||
"src/internal/task/task_stack_arm64.S",
|
||||
"src/runtime/asm_arm64.S",
|
||||
"src/runtime/runtime_nintendoswitch.s"
|
||||
"src/runtime/runtime_nintendoswitch.S"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user