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