Mohamed Shafi wrote: > For a function call will i be able to implement long call/short call > for the same function at different locations? > Say fun1 calls bar and fun2 calls bar. I want short-call to be > generated for bar in fun1 and long-call to be generated in fun2. > Is to possible to implement this in the back-end using pragmas?
I'm not at all sure it's appropriate to do this in gcc at all. Of course you can do this with a target-specific attribute, but wouldn't this best be left to the linker? Andrew.