mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
arm64: remove unnecessary .section directive
This directive caused the code to be put in a non-executable area on Windows which caused a segmentation fault. This patch fixes the issue by removing `.section` directives, fixing windows/arm64 support.
This commit is contained in:
committed by
Ron Evans
parent
b9bf0aa0da
commit
ee76822fe6
@@ -2,7 +2,6 @@
|
||||
.global _tinygo_startTask
|
||||
_tinygo_startTask:
|
||||
#else
|
||||
.section .text.tinygo_startTask
|
||||
.global tinygo_startTask
|
||||
tinygo_startTask:
|
||||
#endif
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
.global _tinygo_scanCurrentStack
|
||||
_tinygo_scanCurrentStack:
|
||||
#else
|
||||
.section .text.tinygo_scanCurrentStack
|
||||
.global tinygo_scanCurrentStack
|
||||
tinygo_scanCurrentStack:
|
||||
#endif
|
||||
@@ -39,7 +38,6 @@ tinygo_scanCurrentStack:
|
||||
.global _tinygo_longjmp
|
||||
_tinygo_longjmp:
|
||||
#else
|
||||
.section .text.tinygo_longjmp
|
||||
.global tinygo_longjmp
|
||||
tinygo_longjmp:
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user