This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


PRC wrote:
> 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.
> 

You don't say what version of gcc you are using.  It may be worth while
to upgrade to GCC-4.3 ( available as  a release candidate right now).

David Daney


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]