This is the mail archive of the gcc-bugs@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: ARM/THUMB long calls stubs


Hi,

On Thu, Jul 29, 2004 at 07:13:35PM +0300, Sami Kantoluoto wrote:
> 
> On Thu, Jul 29, 2004 at 05:04:58PM +0100, Nick Clifton wrote:
> > Hi Sami,
> > 
> >   oops - the previous version of the patch forgot to allow for the 
> > increased length of the call insns.  Please try this version instead.

Hmm, it seems that -mlong-calls is not enough to force long calls. The
patch itself worked (I _think_) but there are problems when a same source
contains functions in different sections (far away from each other) that
call each other. In my case this is an embedded system where most of
routines are executed from flash but some routines, e.g. flash programming,
have to be in RAM.

Is there some easy way to work around this?


Thanks,

     -sk


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