Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2011 11:34:59 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r217399 - in head/lib/csu: powerpc powerpc64
Message-ID:  <201101141134.p0EBYxKK086624@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Fri Jan 14 11:34:58 2011
New Revision: 217399
URL: http://svn.freebsd.org/changeset/base/217399

Log:
  Mark csu on PowerPC as not requiring executable stack.
  
  Reviewed and tested by:	nwhitehorn

Modified:
  head/lib/csu/powerpc/crti.S
  head/lib/csu/powerpc/crtn.S
  head/lib/csu/powerpc64/crti.S
  head/lib/csu/powerpc64/crtn.S

Modified: head/lib/csu/powerpc/crti.S
==============================================================================
--- head/lib/csu/powerpc/crti.S	Fri Jan 14 11:33:40 2011	(r217398)
+++ head/lib/csu/powerpc/crti.S	Fri Jan 14 11:34:58 2011	(r217399)
@@ -47,3 +47,5 @@ _fini:
 	stw 31,12(1)
 	stw 0,20(1)
 	mr 31,1
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/csu/powerpc/crtn.S
==============================================================================
--- head/lib/csu/powerpc/crtn.S	Fri Jan 14 11:33:40 2011	(r217398)
+++ head/lib/csu/powerpc/crtn.S	Fri Jan 14 11:34:58 2011	(r217399)
@@ -42,3 +42,5 @@ __FBSDID("$FreeBSD$");
 	lwz 31,-4(11)
 	mr 1,11
 	blr
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/csu/powerpc64/crti.S
==============================================================================
--- head/lib/csu/powerpc64/crti.S	Fri Jan 14 11:33:40 2011	(r217398)
+++ head/lib/csu/powerpc64/crti.S	Fri Jan 14 11:34:58 2011	(r217399)
@@ -59,3 +59,5 @@ _fini:
 	stdu 1,-48(1)
 	mflr 0
 	std 0,64(1)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/csu/powerpc64/crtn.S
==============================================================================
--- head/lib/csu/powerpc64/crtn.S	Fri Jan 14 11:33:40 2011	(r217398)
+++ head/lib/csu/powerpc64/crtn.S	Fri Jan 14 11:34:58 2011	(r217399)
@@ -38,3 +38,5 @@ __FBSDID("$FreeBSD$");
 	ld 0,16(%r1)
 	mtlr 0
 	blr
+
+	.section .note.GNU-stack,"",%progbits



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101141134.p0EBYxKK086624>