summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2005-02-28 21:13:05 +0000
committerwtchang%redhat.com <devnull@localhost>2005-02-28 21:13:05 +0000
commit37ad86a419e2a94cadab6f5ecb7dde49ef986348 (patch)
treee8d01ddb35ea87cf6c44915fa1319c3d9992c2ab
parent636929dbea9368f26d421ba75e9d46d81c833110 (diff)
downloadnspr-hg-37ad86a419e2a94cadab6f5ecb7dde49ef986348.tar.gz
Bugzilla Bug 283710: disable executable stack on ia64. The patch is
contributed by Christopher A. Aillon of Red Hat. r=wtc.
-rw-r--r--pr/src/md/unix/os_Linux_ia64.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/pr/src/md/unix/os_Linux_ia64.s b/pr/src/md/unix/os_Linux_ia64.s
index 8317dca3..2facd893 100644
--- a/pr/src/md/unix/os_Linux_ia64.s
+++ b/pr/src/md/unix/os_Linux_ia64.s
@@ -99,3 +99,6 @@ _PR_ia64_AtomicSet:
xchg4 r8 = [r32], r33
br.ret.sptk.many b0
.endp _PR_ia64_AtomicSet#
+
+/ Magic indicating no need for an executable stack
+.section .note.GNU-stack, "", @progbits ; .previous