TRAMPOLINE

Jeff Law law@redhat.com
Wed Apr 29 22:35:00 GMT 2015


On 04/29/2015 04:32 PM, ftwilliam wrote:
> 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 ?
You have to define the trampoline sequence yourself -- they're highly 
target specific.  So, you need to define the INIT, TEMPLATE & SIZE.

THere is no default trampoline -- you'll get an error if you try to 
compile something needing a trampoline.

Jeff



More information about the Gcc-help mailing list