Commit 017d38f5 by Mark Kettenis Committed by John David Anglin

pa.c (pa_trampoline_init): Emit __enable_execute_stack libcall if…

pa.c (pa_trampoline_init): Emit __enable_execute_stack libcall if HAVE_ENABLE_EXECUTE_STACK is defined.

	* config/pa/pa.c (pa_trampoline_init): Emit __enable_execute_stack
	libcall if HAVE_ENABLE_EXECUTE_STACK is defined.

From-SVN: r201248
parent c7cafd75
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>
......
......@@ -10133,6 +10133,11 @@ pa_trampoline_init (rtx m_tramp, tree fndecl, rtx chain_value)
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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment