mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-14 07:53:40 +00:00
runtime: do not put scheduler and GC code in the same section
This allows dead code elimination and avoids linker errors with -scheduler=leaking.
This commit is contained in:
committed by
Ron Evans
parent
efdb2e852e
commit
f00bb63330
@@ -112,6 +112,7 @@ tinygo_swapTask:
|
||||
pop {pc}
|
||||
#endif
|
||||
|
||||
.section .text.tinygo_scanCurrentStack
|
||||
.global tinygo_scanCurrentStack
|
||||
.type tinygo_scanCurrentStack, %function
|
||||
tinygo_scanCurrentStack:
|
||||
|
||||
Reference in New Issue
Block a user