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


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: got and plt section attributes


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


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