1
Description: unmarked assembly causes the stack to be marked as executable.
2
This upstream patch fixes the assembly behavior.
3
Ubuntu: https://launchpad.net/bug/409864
4
Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=486537
6
Index: nss-3.12.3.1/mozilla/security/nss/lib/freebl/Makefile
7
===================================================================
8
--- nss-3.12.3.1.orig/mozilla/security/nss/lib/freebl/Makefile 2009-08-24 15:01:51.000000000 -0700
9
+++ nss-3.12.3.1/mozilla/security/nss/lib/freebl/Makefile 2009-08-24 15:03:01.000000000 -0700
11
ifeq ($(OS_TARGET),Linux)
12
ifeq ($(CPU_ARCH),x86_64)
13
ASFILES = arcfour-amd64-gas.s mpi_amd64_gas.s
14
- ASFLAGS += -march=opteron -m64 -fPIC
15
+ ASFLAGS += -march=opteron -m64 -fPIC -Wa,--noexecstack
16
DEFINES += -DNSS_BEVAND_ARCFOUR -DMPI_AMD64 -DMP_ASSEMBLY_MULTIPLY
17
DEFINES += -DNSS_USE_COMBA
18
DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN