Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit e62450f

Browse files
authored
Merge pull request #23 from apasel422/rust-2016-06-16
Cherry-pick upstream commit for noexecstack
2 parents a1ef94b + 09b5726 commit e62450f

File tree

104 files changed

+296
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+296
-0
lines changed

lib/builtins/arm/adddf3vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__adddf3vfp)
2424
vmov r0, r1, d6 // move result back to r0/r1 pair
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__adddf3vfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/addsf3vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__addsf3vfp)
2424
vmov r0, s14 // move result back to r0
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__addsf3vfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/aeabi_cdcmp.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,5 @@ DEFINE_COMPILERRT_FUNCTION(__aeabi_cdrcmple)
9494
b __aeabi_cdcmple
9595
END_COMPILERRT_FUNCTION(__aeabi_cdrcmple)
9696

97+
NO_EXEC_STACK_DIRECTIVE
98+

lib/builtins/arm/aeabi_cfcmp.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,5 @@ DEFINE_COMPILERRT_FUNCTION(__aeabi_cfrcmple)
8989
b __aeabi_cfcmple
9090
END_COMPILERRT_FUNCTION(__aeabi_cfrcmple)
9191

92+
NO_EXEC_STACK_DIRECTIVE
93+

lib/builtins/arm/aeabi_dcmp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ DEFINE_AEABI_DCMP(lt)
3838
DEFINE_AEABI_DCMP(le)
3939
DEFINE_AEABI_DCMP(ge)
4040
DEFINE_AEABI_DCMP(gt)
41+
42+
NO_EXEC_STACK_DIRECTIVE
43+

lib/builtins/arm/aeabi_fcmp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ DEFINE_AEABI_FCMP(lt)
3838
DEFINE_AEABI_FCMP(le)
3939
DEFINE_AEABI_FCMP(ge)
4040
DEFINE_AEABI_FCMP(gt)
41+
42+
NO_EXEC_STACK_DIRECTIVE
43+

lib/builtins/arm/aeabi_idivmod.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ DEFINE_COMPILERRT_FUNCTION(__aeabi_idivmod)
2626
add sp, sp, #4
2727
pop { pc }
2828
END_COMPILERRT_FUNCTION(__aeabi_idivmod)
29+
30+
NO_EXEC_STACK_DIRECTIVE
31+

lib/builtins/arm/aeabi_ldivmod.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ DEFINE_COMPILERRT_FUNCTION(__aeabi_ldivmod)
2929
add sp, sp, #16
3030
pop {r11, pc}
3131
END_COMPILERRT_FUNCTION(__aeabi_ldivmod)
32+
33+
NO_EXEC_STACK_DIRECTIVE
34+

lib/builtins/arm/aeabi_memcmp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ END_COMPILERRT_FUNCTION(__aeabi_memcmp)
1818

1919
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcmp4, __aeabi_memcmp)
2020
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcmp8, __aeabi_memcmp)
21+
22+
NO_EXEC_STACK_DIRECTIVE
23+

lib/builtins/arm/aeabi_memcpy.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ END_COMPILERRT_FUNCTION(__aeabi_memcpy)
1818

1919
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy4, __aeabi_memcpy)
2020
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy8, __aeabi_memcpy)
21+
22+
NO_EXEC_STACK_DIRECTIVE
23+

lib/builtins/arm/aeabi_memmove.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ END_COMPILERRT_FUNCTION(__aeabi_memmove)
1818

1919
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memmove4, __aeabi_memmove)
2020
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memmove8, __aeabi_memmove)
21+
22+
NO_EXEC_STACK_DIRECTIVE
23+

lib/builtins/arm/aeabi_memset.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ END_COMPILERRT_FUNCTION(__aeabi_memclr)
3232
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memclr4, __aeabi_memclr)
3333
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memclr8, __aeabi_memclr)
3434

35+
NO_EXEC_STACK_DIRECTIVE
36+

lib/builtins/arm/aeabi_uidivmod.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__aeabi_uidivmod)
2727
add sp, sp, #4
2828
pop { pc }
2929
END_COMPILERRT_FUNCTION(__aeabi_uidivmod)
30+
31+
NO_EXEC_STACK_DIRECTIVE
32+

lib/builtins/arm/aeabi_uldivmod.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ DEFINE_COMPILERRT_FUNCTION(__aeabi_uldivmod)
2929
add sp, sp, #16
3030
pop {r11, pc}
3131
END_COMPILERRT_FUNCTION(__aeabi_uldivmod)
32+
33+
NO_EXEC_STACK_DIRECTIVE
34+

lib/builtins/arm/bswapdi2.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@ DEFINE_COMPILERRT_FUNCTION(__bswapdi2)
4545
mov r1, r2 // r1 = r2 = rev(r0)
4646
JMP(lr)
4747
END_COMPILERRT_FUNCTION(__bswapdi2)
48+
49+
NO_EXEC_STACK_DIRECTIVE
50+

lib/builtins/arm/bswapsi2.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@ DEFINE_COMPILERRT_FUNCTION(__bswapsi2)
3737
#endif
3838
JMP(lr)
3939
END_COMPILERRT_FUNCTION(__bswapsi2)
40+
41+
NO_EXEC_STACK_DIRECTIVE
42+

lib/builtins/arm/clzdi2.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,6 @@ DEFINE_COMPILERRT_FUNCTION(__clzdi2)
9595
JMP(lr)
9696
#endif // __ARM_FEATURE_CLZ
9797
END_COMPILERRT_FUNCTION(__clzdi2)
98+
99+
NO_EXEC_STACK_DIRECTIVE
100+

lib/builtins/arm/clzsi2.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,6 @@ DEFINE_COMPILERRT_FUNCTION(__clzsi2)
7474
JMP(lr)
7575
#endif // __ARM_FEATURE_CLZ
7676
END_COMPILERRT_FUNCTION(__clzsi2)
77+
78+
NO_EXEC_STACK_DIRECTIVE
79+

lib/builtins/arm/comparesf2.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,6 @@ DEFINE_COMPILERRT_FUNCTION(__unordsf2)
146146
END_COMPILERRT_FUNCTION(__unordsf2)
147147

148148
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_fcmpun, __unordsf2)
149+
150+
NO_EXEC_STACK_DIRECTIVE
151+

lib/builtins/arm/divdf3vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__divdf3vfp)
2424
vmov r0, r1, d5 // move result back to r0/r1 pair
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__divdf3vfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/divmodsi4.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,6 @@ LOCAL_LABEL(divzero):
7272
CLEAR_FRAME_AND_RETURN
7373
#endif
7474
END_COMPILERRT_FUNCTION(__divmodsi4)
75+
76+
NO_EXEC_STACK_DIRECTIVE
77+

lib/builtins/arm/divsf3vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__divsf3vfp)
2424
vmov r0, s13 // move result back to r0
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__divsf3vfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/divsi3.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,6 @@ ESTABLISH_FRAME
6363
CLEAR_FRAME_AND_RETURN
6464
#endif
6565
END_COMPILERRT_FUNCTION(__divsi3)
66+
67+
NO_EXEC_STACK_DIRECTIVE
68+

lib/builtins/arm/eqdf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__eqdf2vfp)
2727
movne r0, #0
2828
bx lr
2929
END_COMPILERRT_FUNCTION(__eqdf2vfp)
30+
31+
NO_EXEC_STACK_DIRECTIVE
32+

lib/builtins/arm/eqsf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__eqsf2vfp)
2727
movne r0, #0
2828
bx lr
2929
END_COMPILERRT_FUNCTION(__eqsf2vfp)
30+
31+
NO_EXEC_STACK_DIRECTIVE
32+

lib/builtins/arm/extendsfdf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__extendsfdf2vfp)
2424
vmov r0, r1, d7 // return result in r0/r1 pair
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__extendsfdf2vfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/fixdfsivfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__fixdfsivfp)
2424
vmov r0, s15 // move s15 to result register
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__fixdfsivfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/fixsfsivfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__fixsfsivfp)
2424
vmov r0, s15 // move s15 to result register
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__fixsfsivfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/fixunsdfsivfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ DEFINE_COMPILERRT_FUNCTION(__fixunsdfsivfp)
2525
vmov r0, s15 // move s15 to result register
2626
bx lr
2727
END_COMPILERRT_FUNCTION(__fixunsdfsivfp)
28+
29+
NO_EXEC_STACK_DIRECTIVE
30+

lib/builtins/arm/fixunssfsivfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ DEFINE_COMPILERRT_FUNCTION(__fixunssfsivfp)
2525
vmov r0, s15 // move s15 to result register
2626
bx lr
2727
END_COMPILERRT_FUNCTION(__fixunssfsivfp)
28+
29+
NO_EXEC_STACK_DIRECTIVE
30+

lib/builtins/arm/floatsidfvfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatsidfvfp)
2424
vmov r0, r1, d7 // move d7 to result register pair r0/r1
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__floatsidfvfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/floatsisfvfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatsisfvfp)
2424
vmov r0, s15 // move s15 to result register
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__floatsisfvfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/floatunssidfvfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatunssidfvfp)
2424
vmov r0, r1, d7 // move d7 to result register pair r0/r1
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__floatunssidfvfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/floatunssisfvfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatunssisfvfp)
2424
vmov r0, s15 // move s15 to result register
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__floatunssisfvfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/gedf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__gedf2vfp)
2727
movlt r0, #0
2828
bx lr
2929
END_COMPILERRT_FUNCTION(__gedf2vfp)
30+
31+
NO_EXEC_STACK_DIRECTIVE
32+

lib/builtins/arm/gesf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__gesf2vfp)
2727
movlt r0, #0
2828
bx lr
2929
END_COMPILERRT_FUNCTION(__gesf2vfp)
30+
31+
NO_EXEC_STACK_DIRECTIVE
32+

lib/builtins/arm/gtdf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__gtdf2vfp)
2727
movle r0, #0
2828
bx lr
2929
END_COMPILERRT_FUNCTION(__gtdf2vfp)
30+
31+
NO_EXEC_STACK_DIRECTIVE
32+

lib/builtins/arm/gtsf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__gtsf2vfp)
2727
movle r0, #0
2828
bx lr
2929
END_COMPILERRT_FUNCTION(__gtsf2vfp)
30+
31+
NO_EXEC_STACK_DIRECTIVE
32+

lib/builtins/arm/ledf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__ledf2vfp)
2727
movhi r0, #0
2828
bx lr
2929
END_COMPILERRT_FUNCTION(__ledf2vfp)
30+
31+
NO_EXEC_STACK_DIRECTIVE
32+

lib/builtins/arm/lesf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__lesf2vfp)
2727
movhi r0, #0
2828
bx lr
2929
END_COMPILERRT_FUNCTION(__lesf2vfp)
30+
31+
NO_EXEC_STACK_DIRECTIVE
32+

lib/builtins/arm/ltdf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__ltdf2vfp)
2727
movpl r0, #0
2828
bx lr
2929
END_COMPILERRT_FUNCTION(__ltdf2vfp)
30+
31+
NO_EXEC_STACK_DIRECTIVE
32+

lib/builtins/arm/ltsf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__ltsf2vfp)
2727
movpl r0, #0
2828
bx lr
2929
END_COMPILERRT_FUNCTION(__ltsf2vfp)
30+
31+
NO_EXEC_STACK_DIRECTIVE
32+

lib/builtins/arm/modsi3.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@ LOCAL_LABEL(divzero):
6161
CLEAR_FRAME_AND_RETURN
6262
#endif
6363
END_COMPILERRT_FUNCTION(__modsi3)
64+
65+
NO_EXEC_STACK_DIRECTIVE
66+

lib/builtins/arm/muldf3vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__muldf3vfp)
2424
vmov r0, r1, d6 // move result back to r0/r1 pair
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__muldf3vfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/mulsf3vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__mulsf3vfp)
2424
vmov r0, s13 // move result back to r0
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__mulsf3vfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/nedf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__nedf2vfp)
2727
moveq r0, #0
2828
bx lr
2929
END_COMPILERRT_FUNCTION(__nedf2vfp)
30+
31+
NO_EXEC_STACK_DIRECTIVE
32+

lib/builtins/arm/negdf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ DEFINE_COMPILERRT_FUNCTION(__negdf2vfp)
2121
eor r1, r1, #-2147483648 // flip sign bit on double in r0/r1 pair
2222
bx lr
2323
END_COMPILERRT_FUNCTION(__negdf2vfp)
24+
25+
NO_EXEC_STACK_DIRECTIVE
26+

lib/builtins/arm/negsf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ DEFINE_COMPILERRT_FUNCTION(__negsf2vfp)
2121
eor r0, r0, #-2147483648 // flip sign bit on float in r0
2222
bx lr
2323
END_COMPILERRT_FUNCTION(__negsf2vfp)
24+
25+
NO_EXEC_STACK_DIRECTIVE
26+

lib/builtins/arm/nesf2vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__nesf2vfp)
2727
moveq r0, #0
2828
bx lr
2929
END_COMPILERRT_FUNCTION(__nesf2vfp)
30+
31+
NO_EXEC_STACK_DIRECTIVE
32+

lib/builtins/arm/restore_vfp_d8_d15_regs.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__restore_vfp_d8_d15_regs)
3131
bx lr // return to prolog
3232
END_COMPILERRT_FUNCTION(__restore_vfp_d8_d15_regs)
3333

34+
NO_EXEC_STACK_DIRECTIVE
35+

lib/builtins/arm/save_vfp_d8_d15_regs.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__save_vfp_d8_d15_regs)
3131
bx lr // return to prolog
3232
END_COMPILERRT_FUNCTION(__save_vfp_d8_d15_regs)
3333

34+
NO_EXEC_STACK_DIRECTIVE
35+

lib/builtins/arm/subdf3vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__subdf3vfp)
2424
vmov r0, r1, d6 // move result back to r0/r1 pair
2525
bx lr
2626
END_COMPILERRT_FUNCTION(__subdf3vfp)
27+
28+
NO_EXEC_STACK_DIRECTIVE
29+

lib/builtins/arm/subsf3vfp.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ DEFINE_COMPILERRT_FUNCTION(__subsf3vfp)
2525
vmov r0, s14 // move result back to r0
2626
bx lr
2727
END_COMPILERRT_FUNCTION(__subsf3vfp)
28+
29+
NO_EXEC_STACK_DIRECTIVE
30+

lib/builtins/arm/switch16.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch16)
4242
bx ip // jump to computed label
4343
END_COMPILERRT_FUNCTION(__switch16)
4444

45+
NO_EXEC_STACK_DIRECTIVE
46+

lib/builtins/arm/switch32.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch32)
4242
bx ip // jump to computed label
4343
END_COMPILERRT_FUNCTION(__switch32)
4444

45+
NO_EXEC_STACK_DIRECTIVE
46+

lib/builtins/arm/switch8.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch8)
4040
bx ip // jump to computed label
4141
END_COMPILERRT_FUNCTION(__switch8)
4242

43+
NO_EXEC_STACK_DIRECTIVE
44+

lib/builtins/arm/switchu8.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switchu8)
4040
bx ip // jump to computed label
4141
END_COMPILERRT_FUNCTION(__switchu8)
4242

43+
NO_EXEC_STACK_DIRECTIVE
44+

lib/builtins/arm/sync_fetch_and_add_4.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@
1919

2020
SYNC_OP_4(add_4)
2121

22+
NO_EXEC_STACK_DIRECTIVE
23+

0 commit comments

Comments
 (0)