valgrind-3.6.1-workaround-SIGSEGV-on-PPC.patch 759 B

12345678910111213141516171819202122232425262728
  1. From db894abcaa12555f60880a15840010f81d354806 Mon Sep 17 00:00:00 2001
  2. From: Pierre Habouzit <madcoder@debian.org>
  3. Date: Tue, 10 May 2011 23:11:45 +0200
  4. Subject: [PATCH] workaround SIGSEGV on PPC.
  5. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
  6. ---
  7. coregrind/m_machine.c | 4 ++++
  8. 1 files changed, 4 insertions(+), 0 deletions(-)
  9. diff --git a/coregrind/m_machine.c b/coregrind/m_machine.c
  10. index 8dc3e17..7921502 100644
  11. --- a/coregrind/m_machine.c
  12. +++ b/coregrind/m_machine.c
  13. @@ -28,6 +28,10 @@
  14. The GNU General Public License is contained in the file COPYING.
  15. */
  16. +#ifdef __powerpc__
  17. +# pragma GCC optimize ("-O0")
  18. +#endif
  19. +
  20. #include "pub_core_basics.h"
  21. #include "pub_core_vki.h"
  22. #include "pub_core_threadstate.h"
  23. --
  24. 1.7.5.1.290.g2095dc