Commit 88b76013 by Iain Sandoe

part of restore of powerpc-darwin Ada bootstrap

	* traceback.c (Darwin) USE_GCC_UNWINDER for Darwin
	versions >= 8.

From-SVN: r178682
parent 558c362a
2011-09-08 Iain Sandoe <iains@gcc.gnu.org>
* traceback.c (Darwin) USE_GCC_UNWINDER for Darwin
versions >= 8.
2011-09-07 Iain Sandoe <iains@gcc.gnu.org>
* gcc-interface/Makefile.in (darwin): Provide powerpc64 system
......
......@@ -203,9 +203,23 @@ extern void (*Unlock_Task) (void);
*/
/*--------------------------- PPC AIX/Darwin ----------------------------*/
/*------------------- Darwin 8 (OSX 10.4) or newer ----------------------*/
#if defined (__APPLE__) \
&& defined (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) \
&& __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1040
#define USE_GCC_UNWINDER
#if defined (__i386__) || defined (__x86_64__)
#define PC_ADJUST -2
#elif defined (__ppc__) || defined (__ppc64__)
#define PC_ADJUST -4
#else
#error Unhandled darwin architecture.
#endif
#if ((defined (_POWER) && defined (_AIX)) || \
/*------------------------ PPC AIX/Older Darwin -------------------------*/
#elif ((defined (_POWER) && defined (_AIX)) || \
(defined (__ppc__) && defined (__APPLE__)))
#define USE_GENERIC_UNWINDER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment