Subject: Re: .tc entries question

From: Alan Modra <[email-masked]>
Date: Wed, 9 Aug 2006 23:25:30 +0930

On Wed, Aug 09, 2006 at 06:15:06AM -0700, Jonathan Bartlett wrote:
> Another 64-bit Elf question, this one about the TOC.  In many examples,
> for defining toc entries, there is some syntax like this:
> 
> name_to_refer_to_this:
> .tc seemingly_unused_name[TC], data_here
> 
> I haven't figured out what the purpose of the name immediately preceding
> [TC] is.  In fact, it seems that in most cases it can simply be left out.
> Is this just a holdover from a previous binary format, or does
> "seemingly_unused_name" actually get used in some fashion?

It is just a syntax we inherited from PowerPC64 XCOFF.
seemingly_unused_name and the bracketed class qualifier are completely
ingored.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre