diff options
author | kib <kib@FreeBSD.org> | 2011-01-14 11:34:58 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-01-14 11:34:58 +0000 |
commit | 8ffb81ed62bfb8466b2865c8ebd16c406d608551 (patch) | |
tree | 9f8de3f45f74547ece01ca05380b2e0c6f5fedb7 /lib/csu | |
parent | 897b773ff41094ced927d1870273154b3a7d6d70 (diff) | |
download | FreeBSD-src-8ffb81ed62bfb8466b2865c8ebd16c406d608551.zip FreeBSD-src-8ffb81ed62bfb8466b2865c8ebd16c406d608551.tar.gz |
Mark csu on PowerPC as not requiring executable stack.
Reviewed and tested by: nwhitehorn
Diffstat (limited to 'lib/csu')
-rw-r--r-- | lib/csu/powerpc/crti.S | 2 | ||||
-rw-r--r-- | lib/csu/powerpc/crtn.S | 2 | ||||
-rw-r--r-- | lib/csu/powerpc64/crti.S | 2 | ||||
-rw-r--r-- | lib/csu/powerpc64/crtn.S | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/lib/csu/powerpc/crti.S b/lib/csu/powerpc/crti.S index 544bfa9..da83d1d 100644 --- a/lib/csu/powerpc/crti.S +++ b/lib/csu/powerpc/crti.S @@ -47,3 +47,5 @@ _fini: stw 31,12(1) stw 0,20(1) mr 31,1 + + .section .note.GNU-stack,"",%progbits diff --git a/lib/csu/powerpc/crtn.S b/lib/csu/powerpc/crtn.S index d3baa70..7430118 100644 --- a/lib/csu/powerpc/crtn.S +++ b/lib/csu/powerpc/crtn.S @@ -42,3 +42,5 @@ __FBSDID("$FreeBSD$"); lwz 31,-4(11) mr 1,11 blr + + .section .note.GNU-stack,"",%progbits diff --git a/lib/csu/powerpc64/crti.S b/lib/csu/powerpc64/crti.S index edca7ba..16a22c2 100644 --- a/lib/csu/powerpc64/crti.S +++ b/lib/csu/powerpc64/crti.S @@ -59,3 +59,5 @@ _fini: stdu 1,-48(1) mflr 0 std 0,64(1) + + .section .note.GNU-stack,"",%progbits diff --git a/lib/csu/powerpc64/crtn.S b/lib/csu/powerpc64/crtn.S index c62f913..39f21ae 100644 --- a/lib/csu/powerpc64/crtn.S +++ b/lib/csu/powerpc64/crtn.S @@ -38,3 +38,5 @@ __FBSDID("$FreeBSD$"); ld 0,16(%r1) mtlr 0 blr + + .section .note.GNU-stack,"",%progbits |