2011-09-26 13:47:07 +02:00
|
|
|
From db894abcaa12555f60880a15840010f81d354806 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Pierre Habouzit <madcoder@debian.org>
|
|
|
|
Date: Tue, 10 May 2011 23:11:45 +0200
|
|
|
|
Subject: [PATCH] workaround SIGSEGV on PPC.
|
|
|
|
|
|
|
|
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
|
|
|
|
---
|
|
|
|
coregrind/m_machine.c | 4 ++++
|
|
|
|
1 files changed, 4 insertions(+), 0 deletions(-)
|
|
|
|
|
2011-12-31 15:07:08 +01:00
|
|
|
Index: valgrind-3.7.0/coregrind/m_machine.c
|
|
|
|
===================================================================
|
|
|
|
--- valgrind-3.7.0.orig/coregrind/m_machine.c 2011-10-27 12:45:52.000000000 +0200
|
|
|
|
+++ valgrind-3.7.0/coregrind/m_machine.c 2011-12-22 14:53:19.758067046 +0100
|
|
|
|
@@ -27,6 +27,10 @@
|
2011-09-26 13:47:07 +02:00
|
|
|
The GNU General Public License is contained in the file COPYING.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#ifdef __powerpc__
|
|
|
|
+# pragma GCC optimize ("-O0")
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "pub_core_basics.h"
|
|
|
|
#include "pub_core_vki.h"
|
2011-12-31 15:07:08 +01:00
|
|
|
#include "pub_core_libcsetjmp.h" // setjmp facilities
|