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:
Ayke van Laethem
2025-03-22 10:43:43 +01:00
committed by Ron Evans
parent b9bf0aa0da
commit ee76822fe6
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -2,7 +2,6 @@
.global _tinygo_startTask
_tinygo_startTask:
#else
.section .text.tinygo_startTask
.global tinygo_startTask
tinygo_startTask:
#endif
-2
View File
@@ -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