How to force gcc to long-call a function (on MIPS)?

PRC panruochen@gmail.com
Thu Feb 21 12:44:00 GMT 2008


Hi Andrew,

Declaring `extern int func_addr(int)' with `-mlong-calls' sloves my problem.
Simply declaring `extern int func_addr(int) __attribute__((long_call))' without `-mlong-calls' does not.

>I'll ask again: Does `-mlong-calls' solve your problem?
>
>Andrew.



More information about the Gcc-help mailing list