[llvm-commits] [compiler-rt] r162112 - /compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_amd64.S
Dmitry Vyukov
dvyukov at google.com
Fri Aug 17 11:05:28 PDT 2012
Author: dvyukov
Date: Fri Aug 17 13:05:28 2012
New Revision: 162112
URL: http://llvm.org/viewvc/llvm-project?rev=162112&view=rev
Log:
tsan: Non-executable stack for hand-coded assembly
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_amd64.S
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_amd64.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_amd64.S?rev=162112&r1=162111&r2=162112&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_amd64.S (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_amd64.S Fri Aug 17 13:05:28 2012
@@ -69,3 +69,8 @@
pop %rcx
pop %rax
ret
+
+#ifdef __linux__
+/* We do not need executable stack. */
+.section .note.GNU-stack,"", at progbits
+#endif
More information about the llvm-commits
mailing list