[compiler-rt] r273500 - builtins: tag with noexecstack
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 22 15:09:44 PDT 2016
Author: compnerd
Date: Wed Jun 22 17:09:42 2016
New Revision: 273500
URL: http://llvm.org/viewvc/llvm-project?rev=273500&view=rev
Log:
builtins: tag with noexecstack
These routines do not require executable stacks. However, by default ELFish
linkers may assume an executable stack on GNUish environments (and some non-GNU
ones too!). The GNU extension to add a note to indicate a non-executable stack
is honoured by these environments to mark the stack as non-executable (the
compiler normally emits this directive on appropriate targets whenever
possible). This allows normal builds from getting executable stacks due to
linking to the compiler rt builtins.
Modified:
compiler-rt/trunk/lib/builtins/arm/adddf3vfp.S
compiler-rt/trunk/lib/builtins/arm/addsf3vfp.S
compiler-rt/trunk/lib/builtins/arm/aeabi_cdcmp.S
compiler-rt/trunk/lib/builtins/arm/aeabi_cfcmp.S
compiler-rt/trunk/lib/builtins/arm/aeabi_dcmp.S
compiler-rt/trunk/lib/builtins/arm/aeabi_fcmp.S
compiler-rt/trunk/lib/builtins/arm/aeabi_idivmod.S
compiler-rt/trunk/lib/builtins/arm/aeabi_ldivmod.S
compiler-rt/trunk/lib/builtins/arm/aeabi_memcmp.S
compiler-rt/trunk/lib/builtins/arm/aeabi_memcpy.S
compiler-rt/trunk/lib/builtins/arm/aeabi_memmove.S
compiler-rt/trunk/lib/builtins/arm/aeabi_memset.S
compiler-rt/trunk/lib/builtins/arm/aeabi_uidivmod.S
compiler-rt/trunk/lib/builtins/arm/aeabi_uldivmod.S
compiler-rt/trunk/lib/builtins/arm/bswapdi2.S
compiler-rt/trunk/lib/builtins/arm/bswapsi2.S
compiler-rt/trunk/lib/builtins/arm/clzdi2.S
compiler-rt/trunk/lib/builtins/arm/clzsi2.S
compiler-rt/trunk/lib/builtins/arm/comparesf2.S
compiler-rt/trunk/lib/builtins/arm/divdf3vfp.S
compiler-rt/trunk/lib/builtins/arm/divmodsi4.S
compiler-rt/trunk/lib/builtins/arm/divsf3vfp.S
compiler-rt/trunk/lib/builtins/arm/divsi3.S
compiler-rt/trunk/lib/builtins/arm/eqdf2vfp.S
compiler-rt/trunk/lib/builtins/arm/eqsf2vfp.S
compiler-rt/trunk/lib/builtins/arm/extendsfdf2vfp.S
compiler-rt/trunk/lib/builtins/arm/fixdfsivfp.S
compiler-rt/trunk/lib/builtins/arm/fixsfsivfp.S
compiler-rt/trunk/lib/builtins/arm/fixunsdfsivfp.S
compiler-rt/trunk/lib/builtins/arm/fixunssfsivfp.S
compiler-rt/trunk/lib/builtins/arm/floatsidfvfp.S
compiler-rt/trunk/lib/builtins/arm/floatsisfvfp.S
compiler-rt/trunk/lib/builtins/arm/floatunssidfvfp.S
compiler-rt/trunk/lib/builtins/arm/floatunssisfvfp.S
compiler-rt/trunk/lib/builtins/arm/gedf2vfp.S
compiler-rt/trunk/lib/builtins/arm/gesf2vfp.S
compiler-rt/trunk/lib/builtins/arm/gtdf2vfp.S
compiler-rt/trunk/lib/builtins/arm/gtsf2vfp.S
compiler-rt/trunk/lib/builtins/arm/ledf2vfp.S
compiler-rt/trunk/lib/builtins/arm/lesf2vfp.S
compiler-rt/trunk/lib/builtins/arm/ltdf2vfp.S
compiler-rt/trunk/lib/builtins/arm/ltsf2vfp.S
compiler-rt/trunk/lib/builtins/arm/modsi3.S
compiler-rt/trunk/lib/builtins/arm/muldf3vfp.S
compiler-rt/trunk/lib/builtins/arm/mulsf3vfp.S
compiler-rt/trunk/lib/builtins/arm/nedf2vfp.S
compiler-rt/trunk/lib/builtins/arm/negdf2vfp.S
compiler-rt/trunk/lib/builtins/arm/negsf2vfp.S
compiler-rt/trunk/lib/builtins/arm/nesf2vfp.S
compiler-rt/trunk/lib/builtins/arm/restore_vfp_d8_d15_regs.S
compiler-rt/trunk/lib/builtins/arm/save_vfp_d8_d15_regs.S
compiler-rt/trunk/lib/builtins/arm/subdf3vfp.S
compiler-rt/trunk/lib/builtins/arm/subsf3vfp.S
compiler-rt/trunk/lib/builtins/arm/switch16.S
compiler-rt/trunk/lib/builtins/arm/switch32.S
compiler-rt/trunk/lib/builtins/arm/switch8.S
compiler-rt/trunk/lib/builtins/arm/switchu8.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_add_4.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_add_8.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_and_4.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_and_8.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_max_4.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_max_8.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_min_4.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_min_8.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_nand_4.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_nand_8.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_or_4.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_or_8.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_sub_4.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_sub_8.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umax_4.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umax_8.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umin_4.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umin_8.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_xor_4.S
compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_xor_8.S
compiler-rt/trunk/lib/builtins/arm/sync_synchronize.S
compiler-rt/trunk/lib/builtins/arm/truncdfsf2vfp.S
compiler-rt/trunk/lib/builtins/arm/udivmodsi4.S
compiler-rt/trunk/lib/builtins/arm/udivsi3.S
compiler-rt/trunk/lib/builtins/arm/umodsi3.S
compiler-rt/trunk/lib/builtins/arm/unorddf2vfp.S
compiler-rt/trunk/lib/builtins/arm/unordsf2vfp.S
compiler-rt/trunk/lib/builtins/assembly.h
compiler-rt/trunk/lib/builtins/i386/ashldi3.S
compiler-rt/trunk/lib/builtins/i386/ashrdi3.S
compiler-rt/trunk/lib/builtins/i386/divdi3.S
compiler-rt/trunk/lib/builtins/i386/floatdidf.S
compiler-rt/trunk/lib/builtins/i386/floatdisf.S
compiler-rt/trunk/lib/builtins/i386/floatdixf.S
compiler-rt/trunk/lib/builtins/i386/floatundidf.S
compiler-rt/trunk/lib/builtins/i386/floatundisf.S
compiler-rt/trunk/lib/builtins/i386/floatundixf.S
compiler-rt/trunk/lib/builtins/i386/lshrdi3.S
compiler-rt/trunk/lib/builtins/i386/moddi3.S
compiler-rt/trunk/lib/builtins/i386/muldi3.S
compiler-rt/trunk/lib/builtins/i386/udivdi3.S
compiler-rt/trunk/lib/builtins/i386/umoddi3.S
compiler-rt/trunk/lib/builtins/ppc/restFP.S
compiler-rt/trunk/lib/builtins/ppc/saveFP.S
compiler-rt/trunk/lib/builtins/x86_64/floatundidf.S
compiler-rt/trunk/lib/builtins/x86_64/floatundisf.S
compiler-rt/trunk/lib/builtins/x86_64/floatundixf.S
Modified: compiler-rt/trunk/lib/builtins/arm/adddf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/adddf3vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/adddf3vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/adddf3vfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__adddf3vfp)
vmov r0, r1, d6 // move result back to r0/r1 pair
bx lr
END_COMPILERRT_FUNCTION(__adddf3vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/addsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/addsf3vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/addsf3vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/addsf3vfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__addsf3vfp)
vmov r0, s14 // move result back to r0
bx lr
END_COMPILERRT_FUNCTION(__addsf3vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_cdcmp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_cdcmp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_cdcmp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_cdcmp.S Wed Jun 22 17:09:42 2016
@@ -94,3 +94,5 @@ DEFINE_COMPILERRT_FUNCTION(__aeabi_cdrcm
b __aeabi_cdcmple
END_COMPILERRT_FUNCTION(__aeabi_cdrcmple)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_cfcmp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_cfcmp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_cfcmp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_cfcmp.S Wed Jun 22 17:09:42 2016
@@ -89,3 +89,5 @@ DEFINE_COMPILERRT_FUNCTION(__aeabi_cfrcm
b __aeabi_cfcmple
END_COMPILERRT_FUNCTION(__aeabi_cfrcmple)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_dcmp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_dcmp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_dcmp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_dcmp.S Wed Jun 22 17:09:42 2016
@@ -38,3 +38,6 @@ DEFINE_AEABI_DCMP(lt)
DEFINE_AEABI_DCMP(le)
DEFINE_AEABI_DCMP(ge)
DEFINE_AEABI_DCMP(gt)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_fcmp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_fcmp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_fcmp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_fcmp.S Wed Jun 22 17:09:42 2016
@@ -38,3 +38,6 @@ DEFINE_AEABI_FCMP(lt)
DEFINE_AEABI_FCMP(le)
DEFINE_AEABI_FCMP(ge)
DEFINE_AEABI_FCMP(gt)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_idivmod.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_idivmod.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_idivmod.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_idivmod.S Wed Jun 22 17:09:42 2016
@@ -26,3 +26,6 @@ DEFINE_COMPILERRT_FUNCTION(__aeabi_idivm
add sp, sp, #4
pop { pc }
END_COMPILERRT_FUNCTION(__aeabi_idivmod)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_ldivmod.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_ldivmod.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_ldivmod.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_ldivmod.S Wed Jun 22 17:09:42 2016
@@ -29,3 +29,6 @@ DEFINE_COMPILERRT_FUNCTION(__aeabi_ldivm
add sp, sp, #16
pop {r11, pc}
END_COMPILERRT_FUNCTION(__aeabi_ldivmod)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_memcmp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_memcmp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_memcmp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_memcmp.S Wed Jun 22 17:09:42 2016
@@ -18,3 +18,6 @@ END_COMPILERRT_FUNCTION(__aeabi_memcmp)
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcmp4, __aeabi_memcmp)
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcmp8, __aeabi_memcmp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_memcpy.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_memcpy.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_memcpy.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_memcpy.S Wed Jun 22 17:09:42 2016
@@ -18,3 +18,6 @@ END_COMPILERRT_FUNCTION(__aeabi_memcpy)
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy4, __aeabi_memcpy)
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memcpy8, __aeabi_memcpy)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_memmove.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_memmove.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_memmove.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_memmove.S Wed Jun 22 17:09:42 2016
@@ -18,3 +18,6 @@ END_COMPILERRT_FUNCTION(__aeabi_memmove)
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memmove4, __aeabi_memmove)
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memmove8, __aeabi_memmove)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_memset.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_memset.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_memset.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_memset.S Wed Jun 22 17:09:42 2016
@@ -32,3 +32,5 @@ END_COMPILERRT_FUNCTION(__aeabi_memclr)
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memclr4, __aeabi_memclr)
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memclr8, __aeabi_memclr)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_uidivmod.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_uidivmod.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_uidivmod.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_uidivmod.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__aeabi_uidiv
add sp, sp, #4
pop { pc }
END_COMPILERRT_FUNCTION(__aeabi_uidivmod)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_uldivmod.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_uldivmod.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_uldivmod.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_uldivmod.S Wed Jun 22 17:09:42 2016
@@ -29,3 +29,6 @@ DEFINE_COMPILERRT_FUNCTION(__aeabi_uldiv
add sp, sp, #16
pop {r11, pc}
END_COMPILERRT_FUNCTION(__aeabi_uldivmod)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/bswapdi2.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/bswapdi2.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/bswapdi2.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/bswapdi2.S Wed Jun 22 17:09:42 2016
@@ -45,3 +45,6 @@ DEFINE_COMPILERRT_FUNCTION(__bswapdi2)
mov r1, r2 // r1 = r2 = rev(r0)
JMP(lr)
END_COMPILERRT_FUNCTION(__bswapdi2)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/bswapsi2.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/bswapsi2.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/bswapsi2.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/bswapsi2.S Wed Jun 22 17:09:42 2016
@@ -37,3 +37,6 @@ DEFINE_COMPILERRT_FUNCTION(__bswapsi2)
#endif
JMP(lr)
END_COMPILERRT_FUNCTION(__bswapsi2)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/clzdi2.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/clzdi2.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/clzdi2.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/clzdi2.S Wed Jun 22 17:09:42 2016
@@ -95,3 +95,6 @@ DEFINE_COMPILERRT_FUNCTION(__clzdi2)
JMP(lr)
#endif // __ARM_FEATURE_CLZ
END_COMPILERRT_FUNCTION(__clzdi2)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/clzsi2.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/clzsi2.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/clzsi2.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/clzsi2.S Wed Jun 22 17:09:42 2016
@@ -74,3 +74,6 @@ DEFINE_COMPILERRT_FUNCTION(__clzsi2)
JMP(lr)
#endif // __ARM_FEATURE_CLZ
END_COMPILERRT_FUNCTION(__clzsi2)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/comparesf2.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/comparesf2.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/comparesf2.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/comparesf2.S Wed Jun 22 17:09:42 2016
@@ -146,3 +146,6 @@ DEFINE_COMPILERRT_FUNCTION(__unordsf2)
END_COMPILERRT_FUNCTION(__unordsf2)
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_fcmpun, __unordsf2)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/divdf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/divdf3vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/divdf3vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/divdf3vfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__divdf3vfp)
vmov r0, r1, d5 // move result back to r0/r1 pair
bx lr
END_COMPILERRT_FUNCTION(__divdf3vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/divmodsi4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/divmodsi4.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/divmodsi4.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/divmodsi4.S Wed Jun 22 17:09:42 2016
@@ -72,3 +72,6 @@ LOCAL_LABEL(divzero):
CLEAR_FRAME_AND_RETURN
#endif
END_COMPILERRT_FUNCTION(__divmodsi4)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/divsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/divsf3vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/divsf3vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/divsf3vfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__divsf3vfp)
vmov r0, s13 // move result back to r0
bx lr
END_COMPILERRT_FUNCTION(__divsf3vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/divsi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/divsi3.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/divsi3.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/divsi3.S Wed Jun 22 17:09:42 2016
@@ -63,3 +63,6 @@ ESTABLISH_FRAME
CLEAR_FRAME_AND_RETURN
#endif
END_COMPILERRT_FUNCTION(__divsi3)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/eqdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/eqdf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/eqdf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/eqdf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__eqdf2vfp)
movne r0, #0
bx lr
END_COMPILERRT_FUNCTION(__eqdf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/eqsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/eqsf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/eqsf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/eqsf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__eqsf2vfp)
movne r0, #0
bx lr
END_COMPILERRT_FUNCTION(__eqsf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/extendsfdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/extendsfdf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/extendsfdf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/extendsfdf2vfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__extendsfdf2
vmov r0, r1, d7 // return result in r0/r1 pair
bx lr
END_COMPILERRT_FUNCTION(__extendsfdf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/fixdfsivfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/fixdfsivfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/fixdfsivfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/fixdfsivfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__fixdfsivfp)
vmov r0, s15 // move s15 to result register
bx lr
END_COMPILERRT_FUNCTION(__fixdfsivfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/fixsfsivfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/fixsfsivfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/fixsfsivfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/fixsfsivfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__fixsfsivfp)
vmov r0, s15 // move s15 to result register
bx lr
END_COMPILERRT_FUNCTION(__fixsfsivfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/fixunsdfsivfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/fixunsdfsivfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/fixunsdfsivfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/fixunsdfsivfp.S Wed Jun 22 17:09:42 2016
@@ -25,3 +25,6 @@ DEFINE_COMPILERRT_FUNCTION(__fixunsdfsiv
vmov r0, s15 // move s15 to result register
bx lr
END_COMPILERRT_FUNCTION(__fixunsdfsivfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/fixunssfsivfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/fixunssfsivfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/fixunssfsivfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/fixunssfsivfp.S Wed Jun 22 17:09:42 2016
@@ -25,3 +25,6 @@ DEFINE_COMPILERRT_FUNCTION(__fixunssfsiv
vmov r0, s15 // move s15 to result register
bx lr
END_COMPILERRT_FUNCTION(__fixunssfsivfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/floatsidfvfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/floatsidfvfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/floatsidfvfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/floatsidfvfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatsidfvf
vmov r0, r1, d7 // move d7 to result register pair r0/r1
bx lr
END_COMPILERRT_FUNCTION(__floatsidfvfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/floatsisfvfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/floatsisfvfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/floatsisfvfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/floatsisfvfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatsisfvf
vmov r0, s15 // move s15 to result register
bx lr
END_COMPILERRT_FUNCTION(__floatsisfvfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/floatunssidfvfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/floatunssidfvfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/floatunssidfvfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/floatunssidfvfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatunssid
vmov r0, r1, d7 // move d7 to result register pair r0/r1
bx lr
END_COMPILERRT_FUNCTION(__floatunssidfvfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/floatunssisfvfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/floatunssisfvfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/floatunssisfvfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/floatunssisfvfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatunssis
vmov r0, s15 // move s15 to result register
bx lr
END_COMPILERRT_FUNCTION(__floatunssisfvfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/gedf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/gedf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/gedf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/gedf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__gedf2vfp)
movlt r0, #0
bx lr
END_COMPILERRT_FUNCTION(__gedf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/gesf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/gesf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/gesf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/gesf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__gesf2vfp)
movlt r0, #0
bx lr
END_COMPILERRT_FUNCTION(__gesf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/gtdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/gtdf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/gtdf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/gtdf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__gtdf2vfp)
movle r0, #0
bx lr
END_COMPILERRT_FUNCTION(__gtdf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/gtsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/gtsf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/gtsf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/gtsf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__gtsf2vfp)
movle r0, #0
bx lr
END_COMPILERRT_FUNCTION(__gtsf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/ledf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/ledf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/ledf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/ledf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__ledf2vfp)
movhi r0, #0
bx lr
END_COMPILERRT_FUNCTION(__ledf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/lesf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/lesf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/lesf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/lesf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__lesf2vfp)
movhi r0, #0
bx lr
END_COMPILERRT_FUNCTION(__lesf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/ltdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/ltdf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/ltdf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/ltdf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__ltdf2vfp)
movpl r0, #0
bx lr
END_COMPILERRT_FUNCTION(__ltdf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/ltsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/ltsf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/ltsf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/ltsf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__ltsf2vfp)
movpl r0, #0
bx lr
END_COMPILERRT_FUNCTION(__ltsf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/modsi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/modsi3.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/modsi3.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/modsi3.S Wed Jun 22 17:09:42 2016
@@ -61,3 +61,6 @@ LOCAL_LABEL(divzero):
CLEAR_FRAME_AND_RETURN
#endif
END_COMPILERRT_FUNCTION(__modsi3)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/muldf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/muldf3vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/muldf3vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/muldf3vfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__muldf3vfp)
vmov r0, r1, d6 // move result back to r0/r1 pair
bx lr
END_COMPILERRT_FUNCTION(__muldf3vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/mulsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/mulsf3vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/mulsf3vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/mulsf3vfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__mulsf3vfp)
vmov r0, s13 // move result back to r0
bx lr
END_COMPILERRT_FUNCTION(__mulsf3vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/nedf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/nedf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/nedf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/nedf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__nedf2vfp)
moveq r0, #0
bx lr
END_COMPILERRT_FUNCTION(__nedf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/negdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/negdf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/negdf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/negdf2vfp.S Wed Jun 22 17:09:42 2016
@@ -21,3 +21,6 @@ DEFINE_COMPILERRT_FUNCTION(__negdf2vfp)
eor r1, r1, #-2147483648 // flip sign bit on double in r0/r1 pair
bx lr
END_COMPILERRT_FUNCTION(__negdf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/negsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/negsf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/negsf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/negsf2vfp.S Wed Jun 22 17:09:42 2016
@@ -21,3 +21,6 @@ DEFINE_COMPILERRT_FUNCTION(__negsf2vfp)
eor r0, r0, #-2147483648 // flip sign bit on float in r0
bx lr
END_COMPILERRT_FUNCTION(__negsf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/nesf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/nesf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/nesf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/nesf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__nesf2vfp)
moveq r0, #0
bx lr
END_COMPILERRT_FUNCTION(__nesf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/restore_vfp_d8_d15_regs.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/restore_vfp_d8_d15_regs.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/restore_vfp_d8_d15_regs.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/restore_vfp_d8_d15_regs.S Wed Jun 22 17:09:42 2016
@@ -31,3 +31,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__res
bx lr // return to prolog
END_COMPILERRT_FUNCTION(__restore_vfp_d8_d15_regs)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/save_vfp_d8_d15_regs.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/save_vfp_d8_d15_regs.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/save_vfp_d8_d15_regs.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/save_vfp_d8_d15_regs.S Wed Jun 22 17:09:42 2016
@@ -31,3 +31,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__sav
bx lr // return to prolog
END_COMPILERRT_FUNCTION(__save_vfp_d8_d15_regs)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/subdf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/subdf3vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/subdf3vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/subdf3vfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__subdf3vfp)
vmov r0, r1, d6 // move result back to r0/r1 pair
bx lr
END_COMPILERRT_FUNCTION(__subdf3vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/subsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/subsf3vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/subsf3vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/subsf3vfp.S Wed Jun 22 17:09:42 2016
@@ -25,3 +25,6 @@ DEFINE_COMPILERRT_FUNCTION(__subsf3vfp)
vmov r0, s14 // move result back to r0
bx lr
END_COMPILERRT_FUNCTION(__subsf3vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/switch16.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/switch16.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/switch16.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/switch16.S Wed Jun 22 17:09:42 2016
@@ -42,3 +42,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__swi
bx ip // jump to computed label
END_COMPILERRT_FUNCTION(__switch16)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/switch32.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/switch32.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/switch32.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/switch32.S Wed Jun 22 17:09:42 2016
@@ -42,3 +42,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__swi
bx ip // jump to computed label
END_COMPILERRT_FUNCTION(__switch32)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/switch8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/switch8.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/switch8.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/switch8.S Wed Jun 22 17:09:42 2016
@@ -40,3 +40,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__swi
bx ip // jump to computed label
END_COMPILERRT_FUNCTION(__switch8)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/switchu8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/switchu8.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/switchu8.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/switchu8.S Wed Jun 22 17:09:42 2016
@@ -40,3 +40,5 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(__swi
bx ip // jump to computed label
END_COMPILERRT_FUNCTION(__switchu8)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_add_4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_add_4.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_add_4.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_add_4.S Wed Jun 22 17:09:42 2016
@@ -19,3 +19,5 @@
SYNC_OP_4(add_4)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_add_8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_add_8.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_add_8.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_add_8.S Wed Jun 22 17:09:42 2016
@@ -22,3 +22,5 @@
SYNC_OP_8(add_8)
#endif
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_and_4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_and_4.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_and_4.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_and_4.S Wed Jun 22 17:09:42 2016
@@ -17,3 +17,6 @@
#define and_4(rD, rN, rM) and rD, rN, rM
SYNC_OP_4(and_4)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_and_8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_and_8.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_and_8.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_and_8.S Wed Jun 22 17:09:42 2016
@@ -21,3 +21,6 @@
SYNC_OP_8(and_8)
#endif
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_max_4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_max_4.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_max_4.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_max_4.S Wed Jun 22 17:09:42 2016
@@ -18,3 +18,5 @@
SYNC_OP_4(max_4)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_max_8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_max_8.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_max_8.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_max_8.S Wed Jun 22 17:09:42 2016
@@ -19,3 +19,6 @@
SYNC_OP_8(max_8)
#endif
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_min_4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_min_4.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_min_4.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_min_4.S Wed Jun 22 17:09:42 2016
@@ -18,3 +18,5 @@
SYNC_OP_4(min_4)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_min_8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_min_8.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_min_8.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_min_8.S Wed Jun 22 17:09:42 2016
@@ -19,3 +19,6 @@
SYNC_OP_8(min_8)
#endif
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_nand_4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_nand_4.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_nand_4.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_nand_4.S Wed Jun 22 17:09:42 2016
@@ -18,3 +18,5 @@
SYNC_OP_4(nand_4)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_nand_8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_nand_8.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_nand_8.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_nand_8.S Wed Jun 22 17:09:42 2016
@@ -22,3 +22,5 @@
SYNC_OP_8(nand_8)
#endif
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_or_4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_or_4.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_or_4.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_or_4.S Wed Jun 22 17:09:42 2016
@@ -18,3 +18,5 @@
SYNC_OP_4(or_4)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_or_8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_or_8.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_or_8.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_or_8.S Wed Jun 22 17:09:42 2016
@@ -22,3 +22,5 @@
SYNC_OP_8(or_8)
#endif
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_sub_4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_sub_4.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_sub_4.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_sub_4.S Wed Jun 22 17:09:42 2016
@@ -19,3 +19,5 @@
SYNC_OP_4(sub_4)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_sub_8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_sub_8.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_sub_8.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_sub_8.S Wed Jun 22 17:09:42 2016
@@ -22,3 +22,5 @@
SYNC_OP_8(sub_8)
#endif
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umax_4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umax_4.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umax_4.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umax_4.S Wed Jun 22 17:09:42 2016
@@ -18,3 +18,5 @@
SYNC_OP_4(umax_4)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umax_8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umax_8.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umax_8.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umax_8.S Wed Jun 22 17:09:42 2016
@@ -19,3 +19,6 @@
SYNC_OP_8(umax_8)
#endif
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umin_4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umin_4.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umin_4.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umin_4.S Wed Jun 22 17:09:42 2016
@@ -18,3 +18,5 @@
SYNC_OP_4(umin_4)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umin_8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umin_8.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umin_8.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_umin_8.S Wed Jun 22 17:09:42 2016
@@ -19,3 +19,6 @@
SYNC_OP_8(umin_8)
#endif
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_xor_4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_xor_4.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_xor_4.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_xor_4.S Wed Jun 22 17:09:42 2016
@@ -18,3 +18,5 @@
SYNC_OP_4(xor_4)
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_xor_8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_xor_8.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_xor_8.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_fetch_and_xor_8.S Wed Jun 22 17:09:42 2016
@@ -22,3 +22,5 @@
SYNC_OP_8(xor_8)
#endif
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/sync_synchronize.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync_synchronize.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync_synchronize.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync_synchronize.S Wed Jun 22 17:09:42 2016
@@ -33,3 +33,6 @@ END_COMPILERRT_FUNCTION(__sync_synchroni
.subsections_via_symbols
#endif
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/truncdfsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/truncdfsf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/truncdfsf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/truncdfsf2vfp.S Wed Jun 22 17:09:42 2016
@@ -24,3 +24,6 @@ DEFINE_COMPILERRT_FUNCTION(__truncdfsf2v
vmov r0, s15 // return result in r0
bx lr
END_COMPILERRT_FUNCTION(__truncdfsf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/udivmodsi4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/udivmodsi4.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/udivmodsi4.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/udivmodsi4.S Wed Jun 22 17:09:42 2016
@@ -182,3 +182,6 @@ LOCAL_LABEL(divby0):
#endif
END_COMPILERRT_FUNCTION(__udivmodsi4)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/udivsi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/udivsi3.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/udivsi3.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/udivsi3.S Wed Jun 22 17:09:42 2016
@@ -168,3 +168,6 @@ LOCAL_LABEL(divby0):
#endif
END_COMPILERRT_FUNCTION(__udivsi3)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/umodsi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/umodsi3.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/umodsi3.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/umodsi3.S Wed Jun 22 17:09:42 2016
@@ -159,3 +159,6 @@ LOCAL_LABEL(divby0):
#endif
END_COMPILERRT_FUNCTION(__umodsi3)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/unorddf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/unorddf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/unorddf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/unorddf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__unorddf2vfp
movvc r0, #0
bx lr
END_COMPILERRT_FUNCTION(__unorddf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/arm/unordsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/unordsf2vfp.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/unordsf2vfp.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/unordsf2vfp.S Wed Jun 22 17:09:42 2016
@@ -27,3 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__unordsf2vfp
movvc r0, #0
bx lr
END_COMPILERRT_FUNCTION(__unordsf2vfp)
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/assembly.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/assembly.h?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/assembly.h (original)
+++ compiler-rt/trunk/lib/builtins/assembly.h Wed Jun 22 17:09:42 2016
@@ -30,6 +30,8 @@
#define SYMBOL_IS_FUNC(name)
#define CONST_SECTION .const
+#define NO_EXEC_STACK_DIRECTIVE
+
#elif defined(__ELF__)
#define HIDDEN(name) .hidden name
@@ -42,6 +44,12 @@
#endif
#define CONST_SECTION .section .rodata
+#if defined(__GNU__) || defined(__ANDROID__) || defined(__FreeBSD__)
+#define NO_EXEC_STACK_DIRECTIVE .section .note.GNU-stack,"",%progbits
+#else
+#define NO_EXEC_STACK_DIRECTIVE
+#endif
+
#else // !__APPLE__ && !__ELF__
#define HIDDEN(name)
@@ -54,6 +62,8 @@
.endef
#define CONST_SECTION .section .rdata,"rd"
+#define NO_EXEC_STACK_DIRECTIVE
+
#endif
#if defined(__arm__)
Modified: compiler-rt/trunk/lib/builtins/i386/ashldi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/ashldi3.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/ashldi3.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/ashldi3.S Wed Jun 22 17:09:42 2016
@@ -56,3 +56,6 @@ END_COMPILERRT_FUNCTION(__ashldi3)
#endif // __SSE2__
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/i386/ashrdi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/ashrdi3.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/ashrdi3.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/ashrdi3.S Wed Jun 22 17:09:42 2016
@@ -67,3 +67,6 @@ END_COMPILERRT_FUNCTION(__ashrdi3)
#endif // __SSE2__
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/i386/divdi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/divdi3.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/divdi3.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/divdi3.S Wed Jun 22 17:09:42 2016
@@ -160,3 +160,6 @@ DEFINE_COMPILERRT_FUNCTION(__divdi3)
END_COMPILERRT_FUNCTION(__divdi3)
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/i386/floatdidf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/floatdidf.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/floatdidf.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/floatdidf.S Wed Jun 22 17:09:42 2016
@@ -37,3 +37,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatdidf)
END_COMPILERRT_FUNCTION(__floatdidf)
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/i386/floatdisf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/floatdisf.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/floatdisf.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/floatdisf.S Wed Jun 22 17:09:42 2016
@@ -30,3 +30,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatdisf)
END_COMPILERRT_FUNCTION(__floatdisf)
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/i386/floatdixf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/floatdixf.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/floatdixf.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/floatdixf.S Wed Jun 22 17:09:42 2016
@@ -28,3 +28,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatdixf)
END_COMPILERRT_FUNCTION(__floatdixf)
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/i386/floatundidf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/floatundidf.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/floatundidf.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/floatundidf.S Wed Jun 22 17:09:42 2016
@@ -50,3 +50,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatundidf
END_COMPILERRT_FUNCTION(__floatundidf)
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/i386/floatundisf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/floatundisf.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/floatundisf.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/floatundisf.S Wed Jun 22 17:09:42 2016
@@ -103,3 +103,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatundisf
END_COMPILERRT_FUNCTION(__floatundisf)
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/i386/floatundixf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/floatundixf.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/floatundixf.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/floatundixf.S Wed Jun 22 17:09:42 2016
@@ -41,3 +41,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatundixf
END_COMPILERRT_FUNCTION(__floatundixf)
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/i386/lshrdi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/lshrdi3.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/lshrdi3.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/lshrdi3.S Wed Jun 22 17:09:42 2016
@@ -57,3 +57,6 @@ END_COMPILERRT_FUNCTION(__lshrdi3)
#endif // __SSE2__
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/i386/moddi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/moddi3.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/moddi3.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/moddi3.S Wed Jun 22 17:09:42 2016
@@ -164,3 +164,6 @@ DEFINE_COMPILERRT_FUNCTION(__moddi3)
END_COMPILERRT_FUNCTION(__moddi3)
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/i386/muldi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/muldi3.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/muldi3.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/muldi3.S Wed Jun 22 17:09:42 2016
@@ -28,3 +28,6 @@ DEFINE_COMPILERRT_FUNCTION(__muldi3)
END_COMPILERRT_FUNCTION(__muldi3)
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/i386/udivdi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/udivdi3.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/udivdi3.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/udivdi3.S Wed Jun 22 17:09:42 2016
@@ -113,3 +113,6 @@ DEFINE_COMPILERRT_FUNCTION(__udivdi3)
END_COMPILERRT_FUNCTION(__udivdi3)
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/i386/umoddi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/i386/umoddi3.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/i386/umoddi3.S (original)
+++ compiler-rt/trunk/lib/builtins/i386/umoddi3.S Wed Jun 22 17:09:42 2016
@@ -124,3 +124,6 @@ DEFINE_COMPILERRT_FUNCTION(__umoddi3)
END_COMPILERRT_FUNCTION(__umoddi3)
#endif // __i386__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/ppc/restFP.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/ppc/restFP.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/ppc/restFP.S (original)
+++ compiler-rt/trunk/lib/builtins/ppc/restFP.S Wed Jun 22 17:09:42 2016
@@ -41,3 +41,6 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION_UNMAN
lwz r0,8(r1)
mtlr r0
blr
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/ppc/saveFP.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/ppc/saveFP.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/ppc/saveFP.S (original)
+++ compiler-rt/trunk/lib/builtins/ppc/saveFP.S Wed Jun 22 17:09:42 2016
@@ -38,3 +38,6 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION_UNMAN
stfd f31,-8(r1)
stw r0,8(r1)
blr
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/x86_64/floatundidf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/x86_64/floatundidf.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/x86_64/floatundidf.S (original)
+++ compiler-rt/trunk/lib/builtins/x86_64/floatundidf.S Wed Jun 22 17:09:42 2016
@@ -47,3 +47,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatundidf
END_COMPILERRT_FUNCTION(__floatundidf)
#endif // __x86_64__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/x86_64/floatundisf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/x86_64/floatundisf.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/x86_64/floatundisf.S (original)
+++ compiler-rt/trunk/lib/builtins/x86_64/floatundisf.S Wed Jun 22 17:09:42 2016
@@ -33,3 +33,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatundisf
END_COMPILERRT_FUNCTION(__floatundisf)
#endif // __x86_64__
+
+NO_EXEC_STACK_DIRECTIVE
+
Modified: compiler-rt/trunk/lib/builtins/x86_64/floatundixf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/x86_64/floatundixf.S?rev=273500&r1=273499&r2=273500&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/x86_64/floatundixf.S (original)
+++ compiler-rt/trunk/lib/builtins/x86_64/floatundixf.S Wed Jun 22 17:09:42 2016
@@ -66,3 +66,6 @@ END_COMPILERRT_FUNCTION(__floatundixf)
#endif // __x86_64__
*/
+
+NO_EXEC_STACK_DIRECTIVE
+
More information about the llvm-commits
mailing list