This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: Function long calls in ARM


>>>>> Rafael =?iso-8859-1?Q?Rodr=EDguez?= Velilla writes:

>> >   Does anybody knows if there's any attribute or compiler option to
>> > force calls to C fuinctions to be in a range of more than 24 bits...
>> 
>> There was some recent discussion related to this. Look in the archives
>> around 08/17/2001. Look in the gcc manual for info on "-mlong-calls".

>    I have read the messages and the conclusion is (please, correct me if
> I'm mistaken) I can't make long calls automatically with gcc 2.95.3 but
> it is possible that with gcc 3.0.1 I can.

It may just be that gcc 2.95.3 has some issues with the long_call
attribute used on functions called from within the same compilation
unit. I can't remember if Andy tried moving the function into a
separate compilation unit. YMMV.

--Mark




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