This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
 
============================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]