summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwchang0222%aol.com <devnull@localhost>2003-10-24 04:47:23 +0000
committerwchang0222%aol.com <devnull@localhost>2003-10-24 04:47:23 +0000
commitdbddc8e7deb1197a60c3909ef439bb27a015966a (patch)
tree8221eef8dfc804a35d030af1193b8cec175b3fec
parent2b030f1e89dd755bd8169c6d90c6e8d827b80162 (diff)
downloadnss-hg-dbddc8e7deb1197a60c3909ef439bb27a015966a.tar.gz
Bugzilla bug 223427: added a note section so that the linker knows we're
not executing off the stack. This patch is received from Christopher Blizzard of Red Hat <blizzard@redhat.com>.
-rw-r--r--security/nss/lib/freebl/mpi/mpi_x86.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/nss/lib/freebl/mpi/mpi_x86.s b/security/nss/lib/freebl/mpi/mpi_x86.s
index 427b7e61e..07d7a6159 100644
--- a/security/nss/lib/freebl/mpi/mpi_x86.s
+++ b/security/nss/lib/freebl/mpi/mpi_x86.s
@@ -340,3 +340,6 @@ s_mpv_div_2dx1d:
ret
nop
+ # Magic indicating no need for an executable stack
+.section .note.GNU-stack, "", @progbits
+.previous