This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Suppress MD_FALLBACK_FRAME_STATE_FOR on ppc64-darwin
- From: gkeating at geoffk5 dot apple dot com (Geoffrey Keating)
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Feb 2007 17:37:14 -0800 (PST)
- Subject: Suppress MD_FALLBACK_FRAME_STATE_FOR on ppc64-darwin
MD_FALLBACK_FRAME_STATE_FOR doesn't work on ppc64-darwin, and it was
causing an additional test failure because it was mistakenly activated
at the end of the stack.
Bootstrapped & tested on powerpc-darwin9 with -m64 and a custom
libSystem.
--
- Geoffrey Keating <geoffk@apple.com>
===File ~/patches/gcc-darwin-no64fallback.patch=============
2007-01-30 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/darwin.h (MD_UNWIND_SUPPORT): Don't define for
64-bit.
Index: gcc/config/rs6000/darwin.h
===================================================================
--- gcc/config/rs6000/darwin.h (revision 121440)
+++ gcc/config/rs6000/darwin.h (working copy)
@@ -449,7 +449,9 @@
#include <stdbool.h>
#endif
+#ifndef __LP64__
#define MD_UNWIND_SUPPORT "config/rs6000/darwin-unwind.h"
+#endif
#define HAS_MD_FALLBACK_FRAME_STATE_FOR 1
============================================================