[tiger] Universal binaries work.

Thanks to the #gcc channel in getting GCC 4.2 to work.
This commit is contained in:
Jason Felds
2011-05-30 10:40:00 -04:00
parent b42eb482bf
commit f686951513
4 changed files with 15 additions and 12 deletions
+5
View File
@@ -635,8 +635,13 @@ struct Frame
void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc )
{
#if defined(__ppc__)
ctx->PC = (const void *) uc->uc_mcontext->__ss.__srr0;
ctx->FramePtr = (const Frame *) uc->uc_mcontext->__ss.__r1;
#else
ctx->PC = (const void *) uc->uc_mcontext->ss.srr0;
ctx->FramePtr = (const Frame *) uc->uc_mcontext->ss.r1;
#endif
}
void InitializeBacktrace() { }