2015-10-31 13:05:56 +01:00
|
|
|
From ff29b837f21a69c79289c3a87b03f8c23e05616e Mon Sep 17 00:00:00 2001
|
2011-09-26 13:47:07 +02:00
|
|
|
From: Pierre Habouzit <madcoder@debian.org>
|
|
|
|
Date: Tue, 10 May 2011 23:11:45 +0200
|
2015-10-31 13:05:56 +01:00
|
|
|
Subject: [PATCH] workaround SIGSEGV on PPC.
|
2014-01-02 17:34:40 +01:00
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
2011-09-26 13:47:07 +02:00
|
|
|
|
|
|
|
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
|
2014-01-02 17:34:40 +01:00
|
|
|
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
|
2011-09-26 13:47:07 +02:00
|
|
|
---
|
2014-01-02 17:34:40 +01:00
|
|
|
coregrind/m_machine.c | 4 ++++
|
|
|
|
1 file changed, 4 insertions(+)
|
2011-09-26 13:47:07 +02:00
|
|
|
|
2014-01-02 17:34:40 +01:00
|
|
|
diff --git a/coregrind/m_machine.c b/coregrind/m_machine.c
|
2015-10-31 13:05:56 +01:00
|
|
|
index 6110c93..298a00e 100644
|
valgrind: bump to 3.8.1
Status of the patches:
* valgrind-compiler-check.patch, no longer needed, merged upstream.
* valgrind-dont-include-a-out-header.patch, kept, just refreshed
* valgrind-fix-ccache-support.patch, adapted to the newer Valgrind
release.
* valgrind-largefile.patch, kept, just refreshed
* valgrind-more-ioctls.patch, removed. Most of it was merged
upstream. This patch was anyway a feature addition, so it shouldn't
be kept in Buildroot.
* valgrind-workaround-SIGSEGV-on-PPC.patch, kept as is, just
refreshed.
This bump also fixes the build failure we were experiencing with
Valgrind 3.7.0 against recent Glibc versions.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-19 14:14:55 +01:00
|
|
|
--- a/coregrind/m_machine.c
|
|
|
|
+++ b/coregrind/m_machine.c
|
2011-12-31 15:07:08 +01:00
|
|
|
@@ -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"
|
2015-10-31 13:05:56 +01:00
|
|
|
#include "pub_core_threadstate.h"
|
2014-01-02 17:34:40 +01:00
|
|
|
--
|
2015-10-31 13:05:56 +01:00
|
|
|
2.1.4
|
2014-01-02 17:34:40 +01:00
|
|
|
|