0001-workaround-SIGSEGV-on-PPC.patch 866 B

1234567891011121314151617181920212223242526272829303132
  1. From ff29b837f21a69c79289c3a87b03f8c23e05616e 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. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
  9. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
  10. ---
  11. coregrind/m_machine.c | 4 ++++
  12. 1 file changed, 4 insertions(+)
  13. diff --git a/coregrind/m_machine.c b/coregrind/m_machine.c
  14. index 6110c93..298a00e 100644
  15. --- a/coregrind/m_machine.c
  16. +++ b/coregrind/m_machine.c
  17. @@ -27,6 +27,10 @@
  18. The GNU General Public License is contained in the file COPYING.
  19. */
  20. +#ifdef __powerpc__
  21. +# pragma GCC optimize ("-O0")
  22. +#endif
  23. +
  24. #include "pub_core_basics.h"
  25. #include "pub_core_vki.h"
  26. #include "pub_core_threadstate.h"
  27. --
  28. 2.1.4