From 7273e371bec8042699d27f3ada83f1f50073ac15 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 14 Feb 2014 15:06:49 +0100 Subject: Linux x86 nss/lib/freebl/mpi/mpi_x86.s confusion of mp_digit size see Change-Id: I6635d187b29d6b50fbccaf3f4c29d72660fcaa5e --- external/nss/UnpackedTarball_nss.mk | 1 + external/nss/nss-linux-x86.patch.0 | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 external/nss/nss-linux-x86.patch.0 (limited to 'external/nss') diff --git a/external/nss/UnpackedTarball_nss.mk b/external/nss/UnpackedTarball_nss.mk index 15a02d2197b8..17eb436d3282 100644 --- a/external/nss/UnpackedTarball_nss.mk +++ b/external/nss/UnpackedTarball_nss.mk @@ -16,6 +16,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,nss,\ external/nss/nss.aix.patch \ external/nss/nss-3.13.5-zlib-werror.patch \ external/nss/nss_macosx.patch \ + external/nss/nss-linux-x86.patch.0 \ $(if $(filter WNTMSC,$(OS)$(COM)),external/nss/nss.windows.patch) \ $(if $(filter WNTGCC,$(OS)$(COM)),external/nss/nspr-4.9-build.patch.3 \ external/nss/nss-3.13.3-build.patch.3 \ diff --git a/external/nss/nss-linux-x86.patch.0 b/external/nss/nss-linux-x86.patch.0 new file mode 100644 index 000000000000..e23a786a05f3 --- /dev/null +++ b/external/nss/nss-linux-x86.patch.0 @@ -0,0 +1,10 @@ +--- nss/lib/freebl/Makefile ++++ nss/lib/freebl/Makefile +@@ -195,6 +195,7 @@ + ifeq ($(CPU_ARCH),x86) + ASFILES = mpi_x86.s + DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE ++ DEFINES += -DMP_USE_UINT_DIGIT + DEFINES += -DMP_ASSEMBLY_DIV_2DX1D + DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN + # The floating point ECC code doesn't work on Linux x86 (bug 311432). -- cgit