delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/20/10:44:18

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp AT delorie DOT com, chrisw AT wam DOT umd DOT edu
Subject: Re: Link errors with Debug switch on
Date: Wed, 20 Jun 2001 10:40:54 -0400
Organization: Snowball's Web
Message-ID: <3dd1jt49jcq8662qr4vrai9ke3j99p2sri@4ax.com>
References: <Pine DOT A41 DOT 4 DOT 05 DOT 10106161439240 DOT 106024-100000 AT ieva06 DOT lanet DOT lv> (message from Andris Pavenis on Sat, 16 Jun 2001 14:52:01 +0300 (WET)) <3791-Sat16Jun2001160700+0300-eliz AT is DOT elta DOT co DOT il> <3B2B8A3A DOT 1619 DOT 432328 AT localhost> <t55qitcugu913fes5du4et2iu1h2cg2pv2 AT 4ax DOT com>
In-Reply-To: <t55qitcugu913fes5du4et2iu1h2cg2pv2@4ax.com>
X-Mailer: Forte Agent 1.8/32.548
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id KAA12705
Reply-To: djgpp AT delorie DOT com

On Sun, 17 Jun 2001 16:42:29 -0400, you wrote:

I posted this, but received no reply. Does the modified version of as.exe from the
url below fix the problem without causing new ones?

>
>Try this modified version of 2.11's as.exe and see if the link problem goes away:
>http://members.nbci.com/snowball3/djgpp/as.exe
>
>Or test the actual change yourself with the binutils 2.11 source:
>*** gas/config/obj-coff.bak	Thu Dec 28 05:07:56 2000
>--- gas/config/obj-coff.c	Sun Jun 17 14:22:02 2001
>*************** coff_frob_symbol (symp, punt)
>*** 1174,1180 ****
>  	  && S_GET_STORAGE_CLASS (symp) != C_LABEL
>  	  && symbol_constant_p(symp)
>  	  && (real = symbol_find_base (S_GET_NAME (symp), DO_NOT_STRIP))
>! 	  && real != symp)
>  	{
>  	  c_symbol_merge (symp, real);
>  	  *punt = 1;
>--- 1174,1181 ----
>  	  && S_GET_STORAGE_CLASS (symp) != C_LABEL
>  	  && symbol_constant_p(symp)
>  	  && (real = symbol_find_base (S_GET_NAME (symp), DO_NOT_STRIP))
>! 	  && real != symp
>! 	  && S_GET_STORAGE_CLASS (real) == C_NULL)
>  	{
>  	  c_symbol_merge (symp, real);
>  	  *punt = 1;

-- 
Mark E.: snowball3 AT bigfoot DOT com
http://snowball.frogspace.net/

- Raw text -


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