* config/pa/pa.c (pa_trampoline_init): Emit __enable_execute_stack
libcall if HAVE_ENABLE_EXECUTE_STACK is defined.
From-SVN: r201248
2013-07-25 Mark Kettenis <kettenis@openbsd.org>
+ * config/pa/pa.c (pa_trampoline_init): Emit __enable_execute_stack
+ libcall if HAVE_ENABLE_EXECUTE_STACK is defined.
+
* config.gcc (hppa-*-openbsd*): Don't set tmake_file.
2013-07-25 Vladimir Makarov <vmakarov@redhat.com>
gen_reg_rtx (Pmode),
gen_reg_rtx (Pmode)));
}
+
+#ifdef HAVE_ENABLE_EXECUTE_STACK
+ emit_library_call (gen_rtx_SYMBOL_REF (Pmode, "__enable_execute_stack"),
+ LCT_NORMAL, VOIDmode, 1, XEXP (m_tramp, 0), Pmode);
+#endif
}
/* Perform any machine-specific adjustment in the address of the trampoline.