From 402aa35821464cf89dbbff9b3530a84bd54d1af6 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Tue, 24 Jan 2017 11:35:57 +0100 Subject: Added fix for aarch64 crashes (rhbz#1354671) --- rhbz-1354671.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 rhbz-1354671.patch (limited to 'rhbz-1354671.patch') diff --git a/rhbz-1354671.patch b/rhbz-1354671.patch new file mode 100644 index 0000000..7164e3d --- /dev/null +++ b/rhbz-1354671.patch @@ -0,0 +1,16 @@ +@@ -, +, @@ +--- + layout/base/nsIPresShell.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) +--- a/layout/base/nsIPresShell.h ++++ a/layout/base/nsIPresShell.h +@@ -224,7 +224,7 @@ public: + * to the same aSize value. AllocateFrame returns zero-filled memory. + * AllocateFrame is infallible and will abort on out-of-memory. + */ +- void* AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) ++ void* __attribute__((optimize("no-lifetime-dse"))) AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) + { + void* result = mFrameArena.AllocateByFrameID(aID, aSize); + RecordAlloc(result); +-- -- cgit