On 04/29/2015 04:32 PM, ftwilliam wrote:
You have to define the trampoline sequence yourself -- they're highly target specific. So, you need to define the INIT, TEMPLATE & SIZE.Is it necessary to define TARGET_TRAMPOLINE_INIT and TARGET_ASM_TRAMPOLINE_TEMPLATE ? Does defining TRAMPOLINE_SIZE enough ? if yes, would GCC generate a default trampoline ?
THere is no default trampoline -- you'll get an error if you try to compile something needing a trampoline.
Jeff