This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: A new feature I want to add to ld, I need someone to point mein the right direction
- From: Doug Evans <dje at transmeta dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: Daniel Jacobowitz <drow at mvista dot com>, Jonathan Wilson <jonwil at tpgi dot com dot au>, <binutils at sources dot redhat dot com>
- Date: Sun, 12 Oct 2003 17:31:21 -0700 (PDT)
- Subject: Re: A new feature I want to add to ld, I need someone to point mein the right direction
- References: <20031013001436.GA1239@nevyn.them.org><Pine.BSF.4.44.0310122015500.72599-100000@dair.pair.com>
Hans-Peter Nilsson writes:
> On Sun, 12 Oct 2003, Daniel Jacobowitz wrote:
> > On Mon, Oct 13, 2003 at 08:07:20AM +0800, Jonathan Wilson wrote:
> > > Example of how sections would be output:
> > > .tls
> > > .tls$
> > > .tls$ABC
> > > .tls$DEF
> > > .tls$ZZZ
> > > The above sections would be output in the above order and would be combined
> > > into one segment named .tls
>
> > .tls : {
> > *(.tls)
> > *(.tls$)
> > *(.tls$*)
> > }
>
> I think you need to make the last one
> SORT (.tls$*)
> then it should Just Work.
Ya, IIRC there are already existing cases of this.
grep for $ in pe-dll.c and/or pe.sc.