X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Mon, 21 Jan 2002 14:19:08 +0200 (WET) From: Andris Pavenis X-Sender: pavenis AT ieva06 To: Eli Zaretskii Cc: djgpp-workers AT delorie DOT com Subject: Re: Default output format In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 21 Jan 2002, Eli Zaretskii wrote: > > On Mon, 21 Jan 2002, Andris Pavenis wrote: > > > I think this should be considered as cleanup and I'm not sure we have to > > revert this change (now it uses the defaults). So I suggest following > > change to linker script: > > > > --- i386go32.x Mon Jan 21 13:12:03 2002 > > +++ djgpp-x.djl Mon Jan 21 13:08:01 2002 > > @@ -16,10 +16,12 @@ > > djgpp_first_ctor = . ; > > *(SORT(.ctors.*)) > > *(.ctor) > > + *(.ctors) > > djgpp_last_ctor = . ; > > djgpp_first_dtor = . ; > > *(SORT(.dtors.*)) > > *(.dtor) > > + *(.dtors) > > djgpp_last_dtor = . ; > > *(.data) > > *(.data.*) > > Seems like a good idea. > > > (perhaps the same also for lib/djgpp.djl > > Yes, I think so. > We have more difference with linker script from binutils. Ok to check in? Andris Index: djgpp.djl =================================================================== RCS file: /cvs/djgpp/djgpp/lib/djgpp.djl,v retrieving revision 1.7 diff -u -r1.7 djgpp.djl --- djgpp.djl 2001/04/15 15:17:25 1.7 +++ djgpp.djl 2002/01/21 12:36:35 @@ -14,10 +14,14 @@ } .data ALIGN(0x200) : { djgpp_first_ctor = . ; + *(SORT(.ctors.*)) *(.ctor) + *(.ctors) djgpp_last_ctor = . ; djgpp_first_dtor = . ; + *(SORT(.dtors.*)) *(.dtor) + *(.dtors) djgpp_last_dtor = . ; *(.data) *(.data.*)