svn commit: r319516 - head/contrib/compiler-rt/lib/tsan/rtl

Ed Maste emaste at FreeBSD.org
Sat Jun 3 13:13:58 UTC 2017


Author: emaste
Date: Sat Jun  3 13:13:57 2017
New Revision: 319516
URL: https://svnweb.freebsd.org/changeset/base/319516

Log:
  tsan: set noexec stack on aarch64
  
  This may be refined upstream.
  
  Reviewed by:	dim
  MFC after:	1 week
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D11034

Modified:
  head/contrib/compiler-rt/lib/tsan/rtl/tsan_rtl_aarch64.S

Modified: head/contrib/compiler-rt/lib/tsan/rtl/tsan_rtl_aarch64.S
==============================================================================
--- head/contrib/compiler-rt/lib/tsan/rtl/tsan_rtl_aarch64.S	Sat Jun  3 10:40:45 2017	(r319515)
+++ head/contrib/compiler-rt/lib/tsan/rtl/tsan_rtl_aarch64.S	Sat Jun  3 13:13:57 2017	(r319516)
@@ -252,7 +252,7 @@ __sigsetjmp:
   CFI_ENDPROC
 .size __sigsetjmp, .-__sigsetjmp
 
-#if defined(__linux__)
+#if defined(__FreeBSD__) || defined(__linux__)
 /* We do not need executable stack.  */
 .section        .note.GNU-stack,"", at progbits
 #endif


More information about the svn-src-head mailing list