public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Alan Modra <amodra@bigpond•net.au>
To: Jonathan Bartlett <johnnyb@eskimo•com>
Cc: linuxppc-dev@ozlabs•org
Subject: Re: .tc entries question
Date: Wed, 9 Aug 2006 23:25:30 +0930	[thread overview]
Message-ID: <20060809135530.GD7210@bubble.grove.modra.org> (raw)
In-Reply-To: <Pine.SUN.4.58.0608090611460.14141@eskimo.com>

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

      reply	other threads:[~2006-08-09 13:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-24  4:01 Why the "opd" section? Jonathan Bartlett
2006-07-25  2:15 ` Alan Modra
2006-07-25 13:23   ` Jonathan Bartlett
2006-07-25 14:06     ` Alan Modra
2006-07-28 18:19       ` Linas Vepstas
2006-08-09 13:15       ` .tc entries question Jonathan Bartlett
2006-08-09 13:55         ` Alan Modra [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060809135530.GD7210@bubble.grove.modra.org \
    --to=amodra@bigpond$(echo .)net.au \
    --cc=johnnyb@eskimo$(echo .)com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox