public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@bigpond.net.au>
To: Jakub Jelinek <jakub@redhat.com>
Cc: binutils@sources.redhat.com, "H.J. Lu" <hongjiu.lu@intel.com>
Subject: Re: got and plt section attributes
Date: Mon, 28 Jul 2003 15:01:00 -0000	[thread overview]
Message-ID: <20030728150112.GZ27145@bubble.sa.bigpond.net.au> (raw)
In-Reply-To: <20030728144245.GP20507@sunsite.ms.mff.cuni.cz>

On Mon, Jul 28, 2003 at 04:42:45PM +0200, Jakub Jelinek wrote:
> On Mon, Jul 28, 2003 at 11:54:40PM +0930, Alan Modra wrote:
> > -    SHT_PROGBITS,	0 },
> > +    SHT_PROGBITS,	SHF_ALLOC + SHF_EXECINSTR },
> 
> .plt is SHF_ALLOC + SHF_WRITE + SHF_EXECINSTR on about half of ELF arches I
> think (and SHT_NOBITS on ppc/ppc64).
> Do we really expect half of the arches to define their own special_section
> table with .plt section, or shouldn't backends inform ELF generic code
> whether they use .got.plt or not?

I'm not too worried really.  This table mostly is about getting section
attributes correct for the assembler, and people don't tend to put
things in .plt by hand.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

  reply	other threads:[~2003-07-28 15:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-28 14:24 Alan Modra
2003-07-28 14:42 ` Jakub Jelinek
2003-07-28 15:01   ` Alan Modra [this message]
2003-07-28 14:32 Lu, Hongjiu

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=20030728150112.GZ27145@bubble.sa.bigpond.net.au \
    --to=amodra@bigpond.net.au \
    --cc=binutils@sources.redhat.com \
    --cc=hongjiu.lu@intel.com \
    --cc=jakub@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).