зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1512162: Followup: narrow non-stack-protected window for XPConnect on ppc64le. r=bhollley
This commit is contained in:
Родитель
dcf701b66b
Коммит
93af8a88e6
|
@ -9,6 +9,8 @@
|
|||
#if(__GNUC__ && __linux__ && __PPC64__ && _LITTLE_ENDIAN)
|
||||
// Stack protection generates incorrect code currently with gcc on ppc64le
|
||||
// (bug 1512162).
|
||||
#define MOZ_GCC_STACK_PROTECTOR_DISABLED 1 // removed at end of file
|
||||
#pragma GCC push_options
|
||||
#pragma GCC optimize("no-stack-protector")
|
||||
#endif
|
||||
|
||||
|
@ -1854,3 +1856,10 @@ static void DEBUG_CheckClassInfoClaims(XPCWrappedNative* wrapper) {
|
|||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (MOZ_GCC_STACK_PROTECTOR_DISABLED)
|
||||
// Reenable stack protection in following modules, if we disabled it
|
||||
// (bug 1512162).
|
||||
#pragma GCC pop_options
|
||||
#undef MOZ_GCC_STACK_PROTECTOR_DISABLED
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче