diff options
Diffstat (limited to 'gcc/config/rs6000/darwin.h')
-rw-r--r-- | gcc/config/rs6000/darwin.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index b5c9b87..ae65eb2 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -327,3 +327,17 @@ do { \ #undef REGISTER_TARGET_PRAGMAS #define REGISTER_TARGET_PRAGMAS DARWIN_REGISTER_TARGET_PRAGMAS +#ifdef IN_LIBGCC2 +#include <stdbool.h> +#endif + +#define MD_FALLBACK_FRAME_STATE_FOR(CONTEXT, FS, SUCCESS) \ + { \ + extern bool _Unwind_fallback_frame_state_for \ + (struct _Unwind_Context *context, _Unwind_FrameState *fs); \ + \ + if (_Unwind_fallback_frame_state_for (CONTEXT, FS)) \ + goto SUCCESS; \ + } + +#define HAS_MD_FALLBACK_FRAME_STATE_FOR 1 |