Skip to content

Commit 244b448

Browse files
committed
Fixed stack execution for arm
1 parent 07f0049 commit 244b448

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

stdlib/public/runtime/swift_sections.S

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,8 @@ define_simple_section swift3_assocty
7676

7777
define_sized_section swift2_protocol_conformances
7878
define_sized_section swift2_type_metadata
79-
.section .note.GNU-stack,"",@progbits
79+
#if defined(__arm__)
80+
.section .note.GNU-stack,"",%progbits
81+
#else
82+
.section .note.GNU-stack,"",@progbits
83+
#endif

0 commit comments

Comments
 (0)