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. Ian