21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
22757279 Update Thunderbird to version 38.5.0
22613259 thunderbird lightning extension is missing l10n after moved to userland
21133062 problem in TBIRD/MAILER
For sparc. Our function frame is very big, so on sparc we need more stack size.
Potentially send upstream.
diff --git a/js/src/jsapi.cpp b/js/src/jsapi.cpp
--- a/js/src/jsapi.cpp
+++ b/js/src/jsapi.cpp
@@ -1491,6 +1491,9 @@
static void
SetNativeStackQuotaAndLimit(JSRuntime* rt, StackKind kind, size_t stackSize)
{
+#ifdef JS_CPU_SPARC
+ stackSize = stackSize * 8 < 7 * 1024 * 1024 ? stackSize * 8 : 7 * 1024 * 1024;
+#endif
rt->nativeStackQuota[kind] = stackSize;
#if JS_STACK_GROWTH_DIRECTION > 0