X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f From: Message-Id: <200409301649.i8UGnZXB010163@speedy.ludd.ltu.se> Subject: Re: Fix for environ pollution In-Reply-To: "from Esa A E Peuha at Aug 10, 2004 01:59:24 pm" To: djgpp-workers AT delorie DOT com Date: Thu, 30 Sep 2004 18:49:34 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL78 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-ltu-MailScanner-Information: Please contact the ISP for more information X-ltu-MailScanner: Found to be clean X-MailScanner-From: ams AT ludd DOT ltu DOT se 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 According to Esa A E Peuha: > Index: lib/djgpp.djl > =================================================================== > RCS file: /cvs/djgpp/djgpp/lib/djgpp.djl,v > retrieving revision 1.8 > diff -u -r1.8 djgpp.djl > --- lib/djgpp.djl 22 Dec 2002 18:44:42 -0000 1.8 > +++ lib/djgpp.djl 10 Aug 2004 10:48:21 -0000 > @@ -19,6 +19,9 @@ > djgpp_first_dtor = . ; > *(.dtor) > djgpp_last_dtor = . ; > + __environ = . ; > + PROVIDE(_environ = .) > + LONG(0) > *(.data) > *(.data.*) > *(.gnu.linkonce.d*) Alas my version of ld pukes on LONG(0). I'm using 2.12.1. (FYI, I'm using an old gcc too, 2.953.) Any ideas how to make this compatible with older binutils (like, uh..., 2.12.1)? Right, MartinS