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

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
From: <ams AT ludd DOT ltu DOT se>
Message-Id: <200409301649.i8UGnZXB010163@speedy.ludd.ltu.se>
Subject: Re: Fix for environ pollution
In-Reply-To: <Pine.OSF.4.58.0408101319280.24206@sirppi.helsinki.fi>
"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
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 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

- Raw text -


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