This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: ltorg question


At 03:44 PM 11/4/2003 -0500, vishu27@cox.net wrote:
Hi,
Sorry if this is not the forum to ask about this questions. But can any one explain to me what the .ltorg directive is in "as". and what is a literal pool. When would one use the .ltorg Pseduo op.


I would really appreciate your answers.

On the ARM architecture, the literal pool holds constants for PC-relative register loads when the immediate value doesn't fit in the #<immed_r8> format (see the ARM architecture reference manual). The .ltorg directive tells the assembler where to put the local pool. The compiler typically puts this at the end of each compiled function. The directive is mainly useful when you are writing pure assembly functions.


Hope this helps.

MKE


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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