summaryrefslogtreecommitdiffstats
path: root/third_party/instrumented_libraries/patches
diff options
context:
space:
mode:
authorearthdok <earthdok@chromium.org>2014-09-26 09:48:23 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-26 16:48:36 +0000
commite9672f9645b2cbf34334359ca43f73b724a2ed5f (patch)
tree0698825c4a25452baeab172cedab8e4f1c6e053a /third_party/instrumented_libraries/patches
parent0ad49783e630e00bc9cde240774cc74b8a1b126b (diff)
downloadchromium_src-e9672f9645b2cbf34334359ca43f73b724a2ed5f.zip
chromium_src-e9672f9645b2cbf34334359ca43f73b724a2ed5f.tar.gz
chromium_src-e9672f9645b2cbf34334359ca43f73b724a2ed5f.tar.bz2
Instrumented libraries: update the custom patch for NSS.
A recent security update changed the file, so the patch had to be rebased. BUG=313751 TBR=glider@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/610643002 Cr-Commit-Position: refs/heads/master@{#296961}
Diffstat (limited to 'third_party/instrumented_libraries/patches')
-rw-r--r--third_party/instrumented_libraries/patches/nss.diff16
1 files changed, 8 insertions, 8 deletions
diff --git a/third_party/instrumented_libraries/patches/nss.diff b/third_party/instrumented_libraries/patches/nss.diff
index 24adde7..1275e5a 100644
--- a/third_party/instrumented_libraries/patches/nss.diff
+++ b/third_party/instrumented_libraries/patches/nss.diff
@@ -1,24 +1,24 @@
-diff -rupN ./nss/lib/freebl/Makefile ../nss-3.15.4-patched/nss/lib/freebl/Makefile
---- ./nss/lib/freebl/Makefile 2014-01-03 23:59:10.000000000 +0400
-+++ ../nss-3.15.4-patched/nss/lib/freebl/Makefile 2014-06-27 00:07:28.017558175 +0400
-@@ -179,18 +179,20 @@ endif # Darwin
+diff -rupN ./nss/lib/freebl/Makefile ../nss-3.17.1-patched/nss/lib/freebl/Makefile
+--- ./nss/lib/freebl/Makefile 2014-09-23 23:09:22.000000000 +0400
++++ ../nss-3.17.1-patched/nss/lib/freebl/Makefile 2014-09-26 20:36:05.639317008 +0400
+@@ -196,18 +196,20 @@ endif # Darwin
ifeq ($(OS_TARGET),Linux)
ifeq ($(CPU_ARCH),x86_64)
- ASFILES = arcfour-amd64-gas.s mpi_amd64_gas.s
+# Disable inline asm in instrumented builds.
+# ASFILES = arcfour-amd64-gas.s mpi_amd64_gas.s
- ASFLAGS += -m64 -fPIC -Wa,--noexecstack
+ ASFLAGS += -fPIC -Wa,--noexecstack
- DEFINES += -DNSS_BEVAND_ARCFOUR -DMPI_AMD64 -DMP_ASSEMBLY_MULTIPLY
- DEFINES += -DNSS_USE_COMBA
+# DEFINES += -DNSS_BEVAND_ARCFOUR -DMPI_AMD64 -DMP_ASSEMBLY_MULTIPLY
+# DEFINES += -DNSS_USE_COMBA
DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN
# DEFINES += -DMPI_AMD64_ADD
- # comment the next two lines to turn off intel HW accelleration
-- DEFINES += -DUSE_HW_AES
+ # comment the next four lines to turn off Intel HW acceleration.
+- DEFINES += -DUSE_HW_AES -DINTEL_GCM
- ASFILES += intel-aes.s intel-gcm.s
-+# DEFINES += -DUSE_HW_AES
++# DEFINES += -DUSE_HW_AES -DINTEL_GCM
+# ASFILES += intel-aes.s intel-gcm.s
+# This is just intrinsics and should be fine.
EXTRA_SRCS += intel-gcm-wrap.c