===================================================================
@@ -570,6 +570,9 @@ moxie_trampoline_init (rtx m_tramp, tree
#undef TARGET_OPTION_OVERRIDE
#define TARGET_OPTION_OVERRIDE moxie_option_override
+#undef TARGET_EXCEPT_UNWIND_INFO
+#define TARGET_EXCEPT_UNWIND_INFO sjlj_except_unwind_info
+
struct gcc_target targetm = TARGET_INITIALIZER;
#include "gt-moxie.h"
===================================================================
@@ -303,6 +303,11 @@ enum reg_class
pointer registers are already assumed to be used as needed. */
#define EPILOGUE_USES(R) (R == MOXIE_R5)
+#define INCOMING_RETURN_ADDR_RTX \
+ gen_rtx_MEM (SImode, gen_rtx_PLUS (SImode, \
+ gen_rtx_REG (SImode, MOXIE_SP), \
+ GEN_INT (4)))
+
/* Storage Layout */
#define BITS_BIG_ENDIAN 0