Ian Lance Taylor <[EMAIL PROTECTED]> wrote on 04.04.2008 16:53:53: > Kai Tietz <[EMAIL PROTECTED]> writes: > > > While running testsuite for target x86_64-pc-mingw32, I noticed that the > > stack segement has for this target no execution permission. May somebody > > could help me, how to avoid the use of stack based trampoline code. > > Do you know how to avoid this HJ? > > For the testsuite, set gcc,no_trampolines in the appropriate DejaGNU > file. Or extend the testsuite to look for your specific target. > > For the compiler, put a call to sorry into INITIALIZE_TRAMPOLINE, > which for your platform is really x86_initialize_trampoline. > > Note that the compiler supports calling a function to enable an > executable stack--see ENABLE_EXECUTE_STACK in i386.c--so that is an > option if such a function is available.
I choose the support of ENABLE_EXECUTE_STACK. Could you approve this patch I posted (at least for libgcc2.c)? http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00457.html Thanks in advance, Kai | (\_/) This is Bunny. Copy and paste Bunny | (='.'=) into your signature to help him gain | (")_(") world domination.