www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/09/30/14:55:59

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
From: <ams AT ludd DOT ltu DOT se>
Message-Id: <200409301854.i8UIsaUF010507@speedy.ludd.ltu.se>
Subject: Re: Fix for environ pollution
In-Reply-To: <200409301649.i8UGnZXB010163@speedy.ludd.ltu.se>
"from ams AT ludd DOT ltu DOT se at Sep 30, 2004 06:49:34 pm"
To: djgpp-workers AT delorie DOT com
Date: Thu, 30 Sep 2004 20:54:36 +0200 (CEST)
X-Mailer: ELM [version 2.4ME+ PL78 (25)]
MIME-Version: 1.0
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

According to ams AT ludd DOT ltu DOT se:
> According to Esa A E Peuha:
...
> > 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)
...

> 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)?

I've found it. After my previous mail I read the info pages and found
that LONG _is_ supported by my binutils. Some thinking and a quick
test reveals that a ";" is missing on the PROVIDE line that precedes
LONG.

I'll commit the correction some time, unless somebody beats me to it.


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019