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


On Sat, Aug 07, 2004 at 11:05:35AM +0100, Richard Earnshaw wrote:

> > Would it be hard to fix this? So that gcc would take __attribute__
> > ((section())) in account when determining if functions are in different
> > sections or not. Feels bad as all functions are called with the long call..
> 
> I think it's a waste of time trying to fix this in this way.

Well, you're probably right as the patch sent by Nick will never be
committed the official gcc would not work even with this fixed.. But *if*
this is easy (= takes "no time") to fix, I'd be happy to test it.

> We should be fixing the linker so that it can automatically insert
> long-call veneers where they are needed.  This is required in any case for
> EABI conformance.

Yeah, that would be great.


     -sk


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