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: RFA: MIPS's _gp symbol and the new orphan-placement code


On Sun, Nov 07, 2004 at 08:16:36PM -0500, Daniel Jacobowitz wrote:
> On Mon, Nov 08, 2004 at 09:18:25AM +1030, Alan Modra wrote:
> > We really need some sort of syntactic
> > hint that ties the assignment to the section.  One such hint is to
> > write:
> > 
> >   . = .;
> >   _gp = ALIGN(16) + 0x7ff0;
> >   .got            : { *(.got.plt) *(.got) }
> 
> Or maybe require/support syntactic hints saying where orphan sections
> can be inserted?

Yes, extra braces would work, or even taking note of blank lines.  The
latter has the advantage that many existing scripts would "just work".

-- 
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]