diff options
author | Pedro Giffuni <pfg@apache.org> | 2017-01-13 16:08:51 +0000 |
---|---|---|
committer | Pedro Giffuni <pfg@apache.org> | 2017-01-13 16:08:51 +0000 |
commit | 55ffac651c9996916680cdc05b32eb1b091a5ccf (patch) | |
tree | 2d00e55eed3a8016afd66266f4518a9c182af14b /sal | |
parent | 27f0c3366b4fb7c667d400e953c033f07de675f3 (diff) |
FreeBSD PPC: Missing patch
Submitted by: Curtis Hamilton
Notes
Notes:
merged as: 5f2f0d9799d9ab57624e03e235b32333ad961ac2
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/diagnose.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sal/osl/unx/diagnose.c b/sal/osl/unx/diagnose.c index 7be25dfadbba..e944665c5484 100644 --- a/sal/osl/unx/diagnose.c +++ b/sal/osl/unx/diagnose.c @@ -199,6 +199,14 @@ static void osl_diagnose_backtrace_Impl (oslDebugMessageFunc f) #include <setjmp.h> #include "backtrace.h" /* for struct frame */ +#if defined(POWERPC) || defined(POWERPC64) + +#define FRAME_PTR_OFFSET 1 +#define FRAME_OFFSET 0 +#define STACK_BIAS 0x7ff + +#endif + #if defined(X86) || defined(X86_64) #define FRAME_PTR_OFFSET 3 |