A new feature I want to add to ld, I need someone to point me in the right direction

Doug Evans dje@transmeta.com
Mon Oct 13 00:32:00 GMT 2003


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.



More information about the Binutils mailing list