mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 02:33:28 +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
|
.global _tinygo_startTask
|
||||||
_tinygo_startTask:
|
_tinygo_startTask:
|
||||||
#else
|
#else
|
||||||
.section .text.tinygo_startTask
|
|
||||||
.global tinygo_startTask
|
.global tinygo_startTask
|
||||||
tinygo_startTask:
|
tinygo_startTask:
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
.global _tinygo_scanCurrentStack
|
.global _tinygo_scanCurrentStack
|
||||||
_tinygo_scanCurrentStack:
|
_tinygo_scanCurrentStack:
|
||||||
#else
|
#else
|
||||||
.section .text.tinygo_scanCurrentStack
|
|
||||||
.global tinygo_scanCurrentStack
|
.global tinygo_scanCurrentStack
|
||||||
tinygo_scanCurrentStack:
|
tinygo_scanCurrentStack:
|
||||||
#endif
|
#endif
|
||||||
@@ -39,7 +38,6 @@ tinygo_scanCurrentStack:
|
|||||||
.global _tinygo_longjmp
|
.global _tinygo_longjmp
|
||||||
_tinygo_longjmp:
|
_tinygo_longjmp:
|
||||||
#else
|
#else
|
||||||
.section .text.tinygo_longjmp
|
|
||||||
.global tinygo_longjmp
|
.global tinygo_longjmp
|
||||||
tinygo_longjmp:
|
tinygo_longjmp:
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user