File: 04_workaround-SIGSEGV-on-PPC.patch

package info (click to toggle)
valgrind 1%3A3.25.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 180,392 kB
  • sloc: ansic: 827,945; exp: 26,134; xml: 23,776; asm: 14,769; cpp: 9,431; makefile: 7,680; sh: 6,687; perl: 5,451; python: 1,498; javascript: 981; awk: 166; csh: 1
file content (21 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Workaround SIGSEGV on PPC
 Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Origin: vendor
Bug-Debian: http://bugs.debian.org/603961
Author: Pierre Habouzit <madcoder@debian.org>
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2012-05-10

--- a/coregrind/m_machine.c
+++ b/coregrind/m_machine.c
@@ -25,6 +25,10 @@
    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"
 #include "pub_core_threadstate.h"