svn commit: r311647 - head/contrib/llvm/projects/libunwind/src

Ed Maste emaste at FreeBSD.org
Sat Jan 7 14:40:59 UTC 2017


Author: emaste
Date: Sat Jan  7 14:40:58 2017
New Revision: 311647
URL: https://svnweb.freebsd.org/changeset/base/311647

Log:
  libunwind: add noexec stack annotation
  
  Reported by:	vangyzen
  Reviewed by:	kib
  MFC after:	1 week
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D9075

Modified:
  head/contrib/llvm/projects/libunwind/src/UnwindRegistersRestore.S
  head/contrib/llvm/projects/libunwind/src/UnwindRegistersSave.S

Modified: head/contrib/llvm/projects/libunwind/src/UnwindRegistersRestore.S
==============================================================================
--- head/contrib/llvm/projects/libunwind/src/UnwindRegistersRestore.S	Sat Jan  7 12:24:45 2017	(r311646)
+++ head/contrib/llvm/projects/libunwind/src/UnwindRegistersRestore.S	Sat Jan  7 14:40:58 2017	(r311647)
@@ -527,3 +527,5 @@ DEFINE_LIBUNWIND_PRIVATE_FUNCTION(_ZN9li
   ret                       // jump to ra
 
 #endif
+
+  .section .note.GNU-stack,"", at progbits

Modified: head/contrib/llvm/projects/libunwind/src/UnwindRegistersSave.S
==============================================================================
--- head/contrib/llvm/projects/libunwind/src/UnwindRegistersSave.S	Sat Jan  7 12:24:45 2017	(r311646)
+++ head/contrib/llvm/projects/libunwind/src/UnwindRegistersSave.S	Sat Jan  7 14:40:58 2017	(r311647)
@@ -469,3 +469,5 @@ DEFINE_LIBUNWIND_FUNCTION(unw_getcontext
 /* RISCVTODO */
 
 #endif
+
+    .section .note.GNU-stack,"", at progbits


More information about the svn-src-head mailing list