forked from pool/MozillaFirefox
ee63deb207
* MFSA 2014-15/CVE-2014-1493/CVE-2014-1494 Miscellaneous memory safety hazards * MFSA 2014-17/CVE-2014-1497 (bmo#966311) Out of bounds read during WAV file decoding * MFSA 2014-18/CVE-2014-1498 (bmo#935618) crypto.generateCRMFRequest does not validate type of key * MFSA 2014-19/CVE-2014-1499 (bmo#961512) Spoofing attack on WebRTC permission prompt * MFSA 2014-20/CVE-2014-1500 (bmo#956524) onbeforeunload and Javascript navigation DOS * MFSA 2014-22/CVE-2014-1502 (bmo#972622) WebGL content injection from one domain to rendering in another * MFSA 2014-23/CVE-2014-1504 (bmo#911547) Content Security Policy for data: documents not preserved by session restore * MFSA 2014-26/CVE-2014-1508 (bmo#963198) Information disclosure through polygon rendering in MathML * MFSA 2014-27/CVE-2014-1509 (bmo#966021) Memory corruption in Cairo during PDF font rendering * MFSA 2014-28/CVE-2014-1505 (bmo#941887) SVG filters information disclosure through feDisplacementMap * MFSA 2014-29/CVE-2014-1510/CVE-2014-1511 (bmo#982906, bmo#982909) Privilege escalation using WebIDL-implemented APIs * MFSA 2014-30/CVE-2014-1512 (bmo#982957) Use-after-free in TypeObject * MFSA 2014-31/CVE-2014-1513 (bmo#982974) Out-of-bounds read/write through neutering ArrayBuffer objects * MFSA 2014-32/CVE-2014-1514 (bmo#983344) Out-of-bounds write through TypedArrayObject after neutering OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=370
106 lines
2.7 KiB
Diff
106 lines
2.7 KiB
Diff
# HG changeset patch
|
|
# Parent e6f9fc7c1611990ed9fdafd3ff19c79fd356a1d6
|
|
# User Ulrich Weigand <uweigand@de.ibm.com>
|
|
Bug 976648 - powerpc64le-linux support - JavaScript build/config
|
|
|
|
diff --git a/js/src/assembler/wtf/Platform.h b/js/src/assembler/wtf/Platform.h
|
|
--- a/js/src/assembler/wtf/Platform.h
|
|
+++ b/js/src/assembler/wtf/Platform.h
|
|
@@ -160,26 +160,32 @@
|
|
/* WTF_CPU_PPC - PowerPC 32-bit */
|
|
#if defined(__ppc__) \
|
|
|| defined(__PPC__) \
|
|
|| defined(__powerpc__) \
|
|
|| defined(__powerpc) \
|
|
|| defined(__POWERPC__) \
|
|
|| defined(_M_PPC) \
|
|
|| defined(__PPC)
|
|
+#if !defined(__ppc64__) && !defined(__PPC64__)
|
|
#define WTF_CPU_PPC 1
|
|
+#endif
|
|
+#if !defined(__LITTLE_ENDIAN__)
|
|
#define WTF_CPU_BIG_ENDIAN 1
|
|
#endif
|
|
+#endif
|
|
|
|
/* WTF_CPU_PPC64 - PowerPC 64-bit */
|
|
#if defined(__ppc64__) \
|
|
|| defined(__PPC64__)
|
|
#define WTF_CPU_PPC64 1
|
|
+#if !defined(__LITTLE_ENDIAN__)
|
|
#define WTF_CPU_BIG_ENDIAN 1
|
|
#endif
|
|
+#endif
|
|
|
|
/* WTF_CPU_SH4 - SuperH SH-4 */
|
|
#if defined(__SH4__)
|
|
#define WTF_CPU_SH4 1
|
|
#endif
|
|
|
|
/* WTF_CPU_SPARC32 - SPARC 32-bit */
|
|
#if defined(__sparc) && !defined(__arch64__) || defined(__sparcv8)
|
|
diff --git a/js/src/configure.in b/js/src/configure.in
|
|
--- a/js/src/configure.in
|
|
+++ b/js/src/configure.in
|
|
@@ -923,17 +923,17 @@ esac
|
|
|
|
# Only set CPU_ARCH if we recognize the value of OS_TEST
|
|
|
|
case "$OS_TEST" in
|
|
*86 | i86pc)
|
|
CPU_ARCH=x86
|
|
;;
|
|
|
|
-powerpc64 | ppc64)
|
|
+powerpc64 | ppc64 | powerpc64le | ppc64le)
|
|
CPU_ARCH=ppc64
|
|
;;
|
|
|
|
powerpc | ppc | rs6000)
|
|
CPU_ARCH=ppc
|
|
;;
|
|
|
|
Alpha | alpha | ALPHA)
|
|
diff --git a/js/src/jscpucfg.h b/js/src/jscpucfg.h
|
|
--- a/js/src/jscpucfg.h
|
|
+++ b/js/src/jscpucfg.h
|
|
@@ -22,17 +22,17 @@
|
|
|
|
# ifdef __WATCOMC__
|
|
# define HAVE_VA_LIST_AS_ARRAY 1
|
|
# endif
|
|
|
|
# define IS_LITTLE_ENDIAN 1
|
|
# undef IS_BIG_ENDIAN
|
|
|
|
-#elif defined(__APPLE__)
|
|
+#elif defined(__APPLE__) || defined(__powerpc__) || defined(__ppc__)
|
|
# if __LITTLE_ENDIAN__
|
|
# define IS_LITTLE_ENDIAN 1
|
|
# undef IS_BIG_ENDIAN
|
|
# elif __BIG_ENDIAN__
|
|
# undef IS_LITTLE_ENDIAN
|
|
# define IS_BIG_ENDIAN 1
|
|
# endif
|
|
|
|
@@ -84,18 +84,17 @@
|
|
# if defined(_STACK_GROWS_UPWARD)
|
|
# define JS_STACK_GROWTH_DIRECTION (1)
|
|
# elif defined(_STACK_GROWS_DOWNWARD)
|
|
# define JS_STACK_GROWTH_DIRECTION (-1)
|
|
# endif
|
|
# endif
|
|
|
|
#elif defined(__sparc) || defined(__sparc__) || \
|
|
- defined(_POWER) || defined(__powerpc__) || \
|
|
- defined(__ppc__) || defined(__hppa) || \
|
|
+ defined(_POWER) || defined(__hppa) || \
|
|
defined(_MIPSEB) || defined(_BIG_ENDIAN)
|
|
/* IA64 running HP-UX will have _BIG_ENDIAN defined.
|
|
* IA64 running Linux will have endian.h and be handled above.
|
|
*/
|
|
# undef IS_LITTLE_ENDIAN
|
|
# define IS_BIG_ENDIAN 1
|
|
|
|
#else /* !defined(__sparc) && !defined(__sparc__) && ... */
|